EasyManua.ls Logo

ST STM32F31xx

ST STM32F31xx
584 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Analog-to-digital converter (ADC)
UM1581
66/584
DocID023800 Rev 1
3.2.10.2 ADC_AnalogWatchdog1ThresholdsConfig
Function Name
void ADC_AnalogWatchdog1ThresholdsConfig (
ADC_TypeDef * ADCx, uint16_t HighThreshold, uint16_t
LowThreshold)
Function Description
Configures the high and low thresholds of the analog watchdog1.
Parameters
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.
Return values
None.
Notes
None.
3.2.10.3 ADC_AnalogWatchdog2ThresholdsConfig
Function Name
void ADC_AnalogWatchdog2ThresholdsConfig (
ADC_TypeDef * ADCx, uint8_t HighThreshold, uint8_t
LowThreshold)
Function Description
Configures the high and low thresholds of the analog watchdog2.
Parameters
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.
Return values
None.
Notes
None.

Table of Contents

Related product manuals