Analog-to-digital converter (ADC)
3.2.10.2 ADC_AnalogWatchdog1ThresholdsConfig
void ADC_AnalogWatchdog1ThresholdsConfig (
ADC_TypeDef * ADCx, uint16_t HighThreshold, uint16_t
LowThreshold)
Configures the high and low thresholds of the analog watchdog1.
ï‚· ADCx : where x can be 1, 2, 3 or 4 to select the ADC
peripheral.
ï‚· HighThreshold : the ADC analog watchdog High threshold
value. This parameter must be a 12bit value.
ï‚· LowThreshold : the ADC analog watchdog Low threshold
value. This parameter must be a 12bit value.
3.2.10.3 ADC_AnalogWatchdog2ThresholdsConfig
void ADC_AnalogWatchdog2ThresholdsConfig (
ADC_TypeDef * ADCx, uint8_t HighThreshold, uint8_t
LowThreshold)
Configures the high and low thresholds of the analog watchdog2.
ï‚· ADCx : where x can be 1, 2, 3 or 4 to select the ADC
peripheral.
ï‚· HighThreshold : the ADC analog watchdog High threshold
value. This parameter must be a 8bit value.
ï‚· LowThreshold : the ADC analog watchdog Low threshold
value. This parameter must be a 8bit value.