eFlexPwm
Arduino eFlexPwm library for Teensy 4.x
|
Typedefs | |
typedef enum _pwm_submodule | pwm_submodule_t |
List of PWM submodules. | |
typedef enum _pwm_channels | pwm_channels_t |
List of PWM channels in each module. | |
typedef enum _pwm_value_register | pwm_value_register_t |
List of PWM value registers. | |
typedef enum _pwm_clock_source | pwm_clock_source_t |
PWM clock source selection. | |
typedef enum _pwm_clock_prescale | pwm_clock_prescale_t |
PWM prescaler factor selection for clock source. | |
typedef enum _pwm_force_output_trigger | pwm_force_output_trigger_t |
Options that can trigger a PWM FORCE_OUT. | |
typedef enum _pwm_output_state | pwm_output_state_t |
PWM channel output status. | |
typedef enum _pwm_init_source | pwm_init_source_t |
PWM counter initialization options. | |
typedef enum _pwm_load_frequency | pwm_load_frequency_t |
PWM load frequency selection. | |
typedef enum _pwm_fault_input | pwm_fault_input_t |
List of PWM fault selections. | |
typedef enum _pwm_fault_disable | pwm_fault_disable_t |
List of PWM fault disable mapping selections. | |
typedef enum _pwm_fault_channels | pwm_fault_channels_t |
List of PWM fault channels. | |
typedef enum _pwm_input_capture_edge | pwm_input_capture_edge_t |
PWM capture edge select. | |
typedef enum _pwm_force_signal | pwm_force_signal_t |
PWM output options when a FORCE_OUT signal is asserted. | |
typedef enum _pwm_chnl_pair_operation | pwm_chnl_pair_operation_t |
Options available for the PWM A & B pair operation. | |
typedef enum _pwm_register_reload | pwm_register_reload_t |
Options available on how to load the buffered-registers with new values. | |
typedef enum _pwm_fault_recovery_mode | pwm_fault_recovery_mode_t |
Options available on how to re-enable the PWM output when recovering from a fault. | |
typedef enum _pwm_interrupt_enable | pwm_interrupt_enable_t |
List of PWM interrupt options. | |
typedef enum _pwm_status_flags | pwm_status_flags_t |
List of PWM status flags. | |
typedef enum _pwm_dma_enable | pwm_dma_enable_t |
List of PWM DMA options. | |
typedef enum _pwm_dma_source_select | pwm_dma_source_select_t |
List of PWM capture DMA enable source select. | |
typedef enum _pwm_watermark_control | pwm_watermark_control_t |
PWM FIFO Watermark AND Control. | |
typedef enum _pwm_mode | pwm_mode_t |
PWM operation mode. | |
typedef enum _pwm_level_select | pwm_level_select_t |
PWM output pulse mode, high-true or low-true. | |
typedef enum _pwm_fault_state | pwm_fault_state_t |
PWM output fault status. | |
typedef enum _pwm_reload_source_select | pwm_reload_source_select_t |
PWM reload source select. | |
typedef enum _pwm_fault_clear | pwm_fault_clear_t |
PWM fault clearing options. | |
typedef enum _pwm_module_control | pwm_module_control_t |
Options for submodule master control operation. | |
Public enumeration types
Options available for the PWM A & B pair operation.
Definition at line 165 of file nxp-enums-struct.h.
enum _pwm_clock_prescale |
PWM prescaler factor selection for clock source.
Definition at line 65 of file nxp-enums-struct.h.
enum _pwm_clock_source |
PWM clock source selection.
Enumerator | |
---|---|
kPWM_BusClock | The IPBus clock is used as the clock |
kPWM_ExternalClock | EXT_CLK is used as the clock |
kPWM_Submodule0Clock | Clock of the submodule 0 (AUX_CLK) is used as the source clock |
Definition at line 58 of file nxp-enums-struct.h.
enum _pwm_dma_enable |
List of PWM DMA options.
Definition at line 233 of file nxp-enums-struct.h.
List of PWM capture DMA enable source select.
Definition at line 243 of file nxp-enums-struct.h.
enum _pwm_fault_clear |
PWM fault clearing options.
Enumerator | |
---|---|
kPWM_Automatic | Automatic fault clearing |
kPWM_ManualNormal | Manual fault clearing with no fault safety mode |
kPWM_ManualSafety | Manual fault clearing with fault safety mode |
Definition at line 286 of file nxp-enums-struct.h.
enum _pwm_fault_disable |
List of PWM fault disable mapping selections.
Enumerator | |
---|---|
kPWM_FaultDisable_0 | Fault 0 disable mapping |
kPWM_FaultDisable_1 | Fault 1 disable mapping |
kPWM_FaultDisable_2 | Fault 2 disable mapping |
kPWM_FaultDisable_3 | Fault 3 disable mapping |
Definition at line 135 of file nxp-enums-struct.h.
enum _pwm_fault_input |
List of PWM fault selections.
Enumerator | |
---|---|
kPWM_Fault_0 | Fault 0 input pin |
kPWM_Fault_1 | Fault 1 input pin |
kPWM_Fault_2 | Fault 2 input pin |
kPWM_Fault_3 | Fault 3 input pin |
Definition at line 127 of file nxp-enums-struct.h.
Options available on how to re-enable the PWM output when recovering from a fault.
Definition at line 180 of file nxp-enums-struct.h.
enum _pwm_fault_state |
PWM output fault status.
Definition at line 271 of file nxp-enums-struct.h.
Options that can trigger a PWM FORCE_OUT.
Definition at line 77 of file nxp-enums-struct.h.
enum _pwm_force_signal |
PWM output options when a FORCE_OUT signal is asserted.
Definition at line 157 of file nxp-enums-struct.h.
enum _pwm_init_source |
PWM counter initialization options.
Definition at line 99 of file nxp-enums-struct.h.
PWM capture edge select.
Enumerator | |
---|---|
kPWM_Disable | Disabled |
kPWM_FallingEdge | Capture on falling edge only |
kPWM_RisingEdge | Capture on rising edge only |
kPWM_RiseAndFallEdge | Capture on rising or falling edge |
Definition at line 149 of file nxp-enums-struct.h.
List of PWM interrupt options.
Definition at line 188 of file nxp-enums-struct.h.
enum _pwm_level_select |
PWM output pulse mode, high-true or low-true.
Enumerator | |
---|---|
kPWM_HighTrue | High level represents "on" or "active" state |
kPWM_LowTrue | Low level represents "on" or "active" state |
Definition at line 265 of file nxp-enums-struct.h.
enum _pwm_load_frequency |
PWM load frequency selection.
Definition at line 107 of file nxp-enums-struct.h.
enum _pwm_mode |
PWM operation mode.
Enumerator | |
---|---|
kPWM_SignedCenterAligned | Signed center-aligned |
kPWM_CenterAligned | Unsigned cente-aligned |
kPWM_SignedEdgeAligned | Signed edge-aligned |
kPWM_EdgeAligned | Unsigned edge-aligned |
Definition at line 257 of file nxp-enums-struct.h.
enum _pwm_module_control |
Options for submodule master control operation.
Definition at line 293 of file nxp-enums-struct.h.
enum _pwm_output_state |
PWM channel output status.
Definition at line 90 of file nxp-enums-struct.h.
enum _pwm_register_reload |
Options available on how to load the buffered-registers with new values.
Definition at line 172 of file nxp-enums-struct.h.
PWM reload source select.
Enumerator | |
---|---|
kPWM_LocalReload | The local reload signal is used to reload registers |
kPWM_MasterReload | The master reload signal (from submodule 0) is used to reload |
Definition at line 280 of file nxp-enums-struct.h.
enum _pwm_status_flags |
List of PWM status flags.
Definition at line 210 of file nxp-enums-struct.h.
enum _pwm_submodule |
List of PWM submodules.
Enumerator | |
---|---|
kPWM_Module_0 | Submodule 0 |
kPWM_Module_1 | Submodule 1 |
kPWM_Module_2 | Submodule 2 |
kPWM_Module_3 | Submodule 3 |
Definition at line 23 of file nxp-enums-struct.h.
enum _pwm_value_register |
List of PWM value registers.
Definition at line 38 of file nxp-enums-struct.h.
List of PWM value registers mask.
Definition at line 48 of file nxp-enums-struct.h.
PWM FIFO Watermark AND Control.
Enumerator | |
---|---|
kPWM_FIFOWatermarksOR | Selected FIFO watermarks are OR'ed together |
kPWM_FIFOWatermarksAND | Selected FIFO watermarks are AND'ed together |
Definition at line 251 of file nxp-enums-struct.h.