S32 SDK
cmp_trigger_mode_t Struct Reference

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
 

Detailed Description

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 234 of file cmp_driver.h.

Field Documentation

cmp_ch_number_t fixedChannel

Select which channel would be assigned to the fixed port.

Definition at line 240 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 238 of file cmp_driver.h.

uint8_t initializationDelay

Select dac and comparator initialization delay(clock cycles).

Definition at line 242 of file cmp_driver.h.

cmp_ch_list_t programedState

Pre-programmed state for comparison result.

Definition at line 247 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 243 of file cmp_driver.h.

bool roundRobinInterruptState

True if Round-Robin interrupt is enabled.

Definition at line 237 of file cmp_driver.h.

bool roundRobinState

True if Round-Robin is enabled.

Definition at line 236 of file cmp_driver.h.

uint8_t samples

Select number of round-robin clock cycles for a given channel.

Definition at line 241 of file cmp_driver.h.


The documentation for this struct was generated from the following file: