This is the generated driver types header file for the PWM driver. More...
Go to the source code of this file.
Enumerations | |
enum | PWM_GENERATOR { PWM_GENERATOR_1 = 1 , PWM_GENERATOR_2 = 2 , PWM_MAX_GENERATOR } |
Defines the PWM generators that are selected from the MCC Melody User Interface for the PWM output controls. Note: The enum list in the Help document might be just an illustration to show the selected PWM channel list Generated enum list is based on the configuration done by user in the MCC Melody user interface. More... | |
enum | PWM_GENERATOR_INTERRUPT { PWM_GENERATOR_INTERRUPT_FAULT = 1 , PWM_GENERATOR_INTERRUPT_CURRENT_LIMIT = 2 , PWM_GENERATOR_INTERRUPT_FEED_FORWARD = 3 , PWM_GENERATOR_INTERRUPT_SYNC = 4 } |
Defines the PWM generator interrupts that are available for the module to use. More... | |
enum | PWM_COMMON_EVENT { PWM_EVENT_A = 1 , PWM_EVENT_B = 2 , PWM_EVENT_C = 3 , PWM_EVENT_D = 4 , PWM_EVENT_E = 5 , PWM_EVENT_F = 6 } |
Defines the PWM generator Common Events that are available for the module to use. More... | |
enum | PWM_TRIGGER_COMPARE { PWM_TRIGGER_COMPARE_A = 1 , PWM_TRIGGER_COMPARE_B = 2 , PWM_TRIGGER_COMPARE_C = 3 } |
Defines the PWM generator Trigger Compare registers that are available for the module to use. More... | |
enum | PWM_MODES { PWM_MODE_INDEPENDENT_EDGE = 0x0 , PWM_MODE_VARIABLE_PHASE = 0x1 , PWM_MODE_INDEPENDENT_EDGE_DUAL_OUTPUT = 0x2 , PWM_MODE_CENTER_ALIGNED = 0x4 , PWM_MODE_DOUBLE_UPDATE_CENTER_ALIGNED = 0x5 , PWM_MODE_DUAL_EDGE_CENTER_ALIGNED_ONE_UPDATE_CYCLE = 0x6 , PWM_MODE_DUAL_EDGE_CENTER_ALIGNED_TWO_UPDATES_CYCLE = 0x7 } |
Defines the PWM generator operating modes that are available. More... | |
enum | PWM_SOURCE_SELECT { PWM_SOURCE_SELECT_INDEPENDENT = 0 , PWM_SOURCE_SELECT_MASTER = 1 } |
PWM Generated Driver Types Header File
Definition in file pwm_hs_types.h.
enum PWM_SOURCE_SELECT |
Enumerator | |
---|---|
PWM_SOURCE_SELECT_INDEPENDENT | PWM select Independent PWM as source |
PWM_SOURCE_SELECT_MASTER | PWM select Master as source |
Definition at line 123 of file pwm_hs_types.h.