1.9.1.6 ADC_CompareWinThresholdSet Function
C
void ADC_CompareWinThresholdSet(ADC_CORE_NUM core, uint16_t low_threshold, uint16_t high_threshold)
Summary
Configures the low and high threshold values for the comparator on the specified ADC core
Description
This function lets the application configure the low and high threshold values for the comparator on the specified ADC core
Precondition
ADCx_Initialize() function must have been called first for the associated instance.
Parameters
Param | Description |
---|---|
core | ADC core n |
low_threshold | lower threshold of the ADC core n digital comparator |
high_threshold | higher threshold of the ADC core n digital comparator |
Returns
None.
Example
ADC_CompareWinThresholdSet(ADC_CORE_NUM1, 0x100, 0x200);
Remarks
None