RTEMS 6.1-rc2
Loading...
Searching...
No Matches
Data Fields
_adc_hardware_compare_config Struct Reference

ADC hardware compare configuration. More...

#include <fsl_adc.h>

Data Fields

adc_hardware_compare_mode_t hardwareCompareMode
 
uint16_t value1
 
uint16_t value2
 

Detailed Description

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.

Field Documentation

◆ hardwareCompareMode

adc_hardware_compare_mode_t _adc_hardware_compare_config::hardwareCompareMode

Select the hardware compare mode. See "adc_hardware_compare_mode_t".

◆ value1

uint16_t _adc_hardware_compare_config::value1

Setting value1(0-4095) for hardware compare mode.

◆ value2

uint16_t _adc_hardware_compare_config::value2

Setting value2(0-4095) for hardware compare mode.


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