![]() |
S32 SDK
|
Defines the trigger mode. More...
#include <cmp_driver.h>
Data Fields | |
bool | roundRobinState |
bool | roundRobinInterruptState |
cmp_fixed_port_t | fixedPort |
cmp_ch_number_t | fixedChannel |
uint8_t | samples |
uint8_t | initializationDelay |
cmp_ch_list_t | roundRobinChannelsState |
cmp_ch_list_t | programedState |
Defines the trigger mode.
This structure is used to configure the trigger mode operation when MCU enters STOP modes Implements : cmp_trigger_mode_t_Class
Definition at line 105 of file cmp_driver.h.
cmp_ch_number_t fixedChannel |
Select which channel would be assigned to the fixed port.
Definition at line 111 of file cmp_driver.h.
cmp_fixed_port_t fixedPort |
CMP_PLUS_FIXED if plus port is fixed. CMP_MINUS_FIXED if minus port is fixed.
Definition at line 109 of file cmp_driver.h.
uint8_t initializationDelay |
Select dac and comparator initialization delay(clock cycles).
Definition at line 113 of file cmp_driver.h.
cmp_ch_list_t programedState |
Pre-programmed state for comparison result.
Definition at line 118 of file cmp_driver.h.
cmp_ch_list_t roundRobinChannelsState |
One bite for each channel state. |———|———|–—|———|———| |CH7_state|CH6_state|.....|CH1_state|CH0_state| |------—|------—|--—|------—|------—|
Definition at line 114 of file cmp_driver.h.
bool roundRobinInterruptState |
True if Round-Robin interrupt is enabled.
Definition at line 108 of file cmp_driver.h.
bool roundRobinState |
True if Round-Robin is enabled.
Definition at line 107 of file cmp_driver.h.
uint8_t samples |
Select number of round-robin clock cycles for a given channel.
Definition at line 112 of file cmp_driver.h.