
Rev. 1.00
196 of 576
January 28, 2022
32-Bit Arm
®
Cortex
®
-M0+ MCU
HT32F54231/HT32F54241/HT32F54243/HT32F54253
12
Analog to Digital Converter (ADC)
Bandgap
V
REF
PA0
AFIO15
PA0
Voltage Reference Generator (V
REF
)
VREFEN
VREFVAL[5:0]
VREFSEL[1:0]
V
DDA
Figure 34. Voltage Reference Generator Block Diagram
V
DDA
Voltage Monitor
The MVDDAEN bit in the VREFCR register allows the applications to measure the V
DDA
voltage
on the VDDA pin. As the V
DDA
voltage could be higher than the ADC reference voltage, in order to
ensure the correct operation of the ADC, the VDDA pin is internally connected to a bridge divider
by 2. This bridge is automatically enabled when the MVDDAEN bit is set, to connect the V
DDA
/2 to
the ADC input channel. As a consequence, the converted digital value is half of the V
DDA
voltage.
To prevent any unwanted consumption on the battery, it is recommended to enable the V
DDA
power
divider only when the ADC conversion is required
Register Map
The following table shows the A/D Converter registers and reset values.
Table 29. A/D Converter Register Map
Register
Offset
Description
Reset Value
ADCCR
0x000
ADC Conversion Control Register
0x0000_0000
ADCLST0
0x004
ADC Conversion List Register 0
0x0000_0000
ADCLST1
0x008
ADC Conversion List Register 1
0x0000_0000
ADCSTR
0x020
ADC Input Sampling Time Register
0x0000_0000
ADCDR0
0x030
ADC Conversion Data Register 0
0x0000_0000
ADCDR1
0x034
ADC Conversion Data Register 1
0x0000_0000
ADCDR2
0x038
ADC Conversion Data Register 2
0x0000_0000
ADCDR3
0x03C
ADC Conversion Data Register 3
0x0000_0000
ADCDR4
0x040
ADC Conversion Data Register 4
0x0000_0000
ADCDR5
0x044
ADC Conversion Data Register 5
0x0000_0000
ADCDR6
0x048
ADC Conversion Data Register 6
0x0000_0000
ADCDR7
0x04C
ADC Conversion Data Register 7
0x0000_0000
ADCTCR
0x070
ADC Trigger Control Register
0x0000_0000
ADCTSR
0x074
ADC Trigger Source Register
0x0000_0000
ADCWCR
0x078
ADC Watchdog Control Register
0x0000_0000
ADCTR
0x07C
ADC Watchdog Threshold Register
0x0000_0000
ADCIER
0x080
ADC Interrupt Enable register
0x0000_0000
ADCIRAW
0x084
ADC Interrupt Raw Status Register
0x0000_0000
ADCISR
0x088
ADC Interrupt Status Register
0x0000_0000
ADCICLR
0x08C
ADC Interrupt Clear Register
0x0000_0000
ADCDMAR 0x090
ADC DMA Request Register
0x0000_0000
VREFCR
0x0A0
Voltage Reference Control Register
0x0000_0000
VREFVALR 0x0A4
Voltage Reference Value Register
0x0000_00XX