RTEMS 6.1-rc6
|
ADC hardware compare configuration. More...
#include <fsl_adc.h>
Data Fields | |
adc_hardware_compare_mode_t | hardwareCompareMode |
uint16_t | value1 |
uint16_t | value2 |
ADC hardware compare configuration.
In kADC_HardwareCompareMode0, compare true if the result is less than the value1. In kADC_HardwareCompareMode1, compare true if the result is greater than or equal to value1. In kADC_HardwareCompareMode2, Value1 <= Value2, compare true if the result is less than value1 Or the result is Greater than value2. Value1 > Value2, compare true if the result is less than value1 And the result is Greater than value2. In kADC_HardwareCompareMode3, Value1 <= Value2, compare true if the result is greater than or equal to value1 And the result is less than or equal to value2. Value1 > Value2, compare true if the result is greater than or equal to value1 Or the result is less than or equal to value2.
adc_hardware_compare_mode_t _adc_hardware_compare_config::hardwareCompareMode |
Select the hardware compare mode. See "adc_hardware_compare_mode_t".
uint16_t _adc_hardware_compare_config::value1 |
Setting value1(0-4095) for hardware compare mode.
uint16_t _adc_hardware_compare_config::value2 |
Setting value2(0-4095) for hardware compare mode.