Battery Charge Monitoring; Adc Interrupts; Table 37. Adc Interrupts - ST STM32F205 series Reference Manual

Advanced arm-based 32-bit mcus
Hide thumbs Also See for STM32F205 series:
Table of Contents

Advertisement

Analog-to-digital converter (ADC)
10.11

Battery charge monitoring

The VBATE bit in the ADC_CCR register is used to switch to the battery voltage. As the
V
voltage could be higher than V
BAT
V
pin is internally connected to a bridge divider by 2. This bridge is automatically enabled
BAT
when VBATE is set, to connect V
the converted digital value is half the V
on the battery, it is recommended to enable the bridge divider only when needed, for ADC
conversion.
10.12

ADC interrupts

An interrupt can be produced on the end of conversion for regular and injected groups,
when the analog watchdog status bit is set and when the overrun status bit is set. Separate
interrupt enable bits are available for flexibility.
Two other flags are present in the ADC_SR register, but there is no interrupt associated with
them:
JSTRT (Start of conversion for channels of an injected group)
STRT (Start of conversion for channels of a regular group)
End of conversion of a regular group
End of conversion of an injected group
Analog watchdog status bit is set
Overrun
238/1378
, to ensure the correct operation of the ADC, the
DDA
/2 to the ADC1_IN18 input channel. As a consequence,
BAT
BAT

Table 37. ADC interrupts

Interrupt event
RM0033 Rev 8
voltage. To prevent any unwanted consumption
Event flag
EOC
JEOC
AWD
OVR
RM0033
Enable control bit
EOCIE
JEOCIE
AWDIE
OVRIE

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the STM32F205 series and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Stm32f207 seriesStm32f215 seriesStm32f217 series

Table of Contents