
Rev. 1.00
188 of 576
January 28, 2022
32-Bit Arm
®
Cortex
®
-M0+ MCU
HT32F54231/HT32F54241/HT32F54243/HT32F54253
12
Analog to Digital Converter (ADC)
12
12
Analog to Digital Converter (ADC)
Introduction
A 12-bit multi-channel Analog to Digital Converter (ADC) with a Voltage Reference Generator
(V
REF
) is integrated in the devices. There are a total of 14 multiplexed channels including 10
external channels on which the external analog signal can be supplied and 4 internal channels. If
the input voltage is required to remain within a specific threshold window, the Analog Watchdog
function will monitor and detect the signal. An interrupt will then be generated to inform that the
input voltage is higher or lower than the set thresholds. There are three conversion modes to convert
an analog signal to digital data. The A/D conversion can be operated in one shot, continuous and
discontinuous conversion mode. A 16-bit data register is provided to store the data after conversion.
Analog Watchdog
High Threshold
Low Threshold
DMA Request
ADC_IN0
ADC_IN1
ADC_IN9
12-bit A/D
Converter
ADC Control Logic
Analog Watchdog
Interrupt
Analog Watchdog Event
EOC
From ADC Prescaler
Up to 14 Channels
ADCTSR[31:0]
ADCTCR[4:0]
Start Trigger
Interrupt
Generator
ADC Interrupt
to NVIC
VSSA
VDDA
CK_ADC
OV
MCT
M
GPTM
BFTM
x
CMPx
(N
ote)
ADSC
EXTI [15
:0]
APB
Bus
V
REF
VREF+
VREF-
VSSA
VDDA
ADCIN
R
R
MV
DDA
MVDDAEN
MV
DDA
V
DDA
0
1
13
Bandgap
V
REF
PA0
AFIO15
Voltage Reference Generator (V
REF
)
VREFEN
VREFSEL[1:0]
VREFVAL[5:0]
9
PA0
V
SSA
12
11
10
Note: The CMP0/CMP1 trigger is only available for the HT32F54243/HT32F54253 devices.
Figure 30. ADC with V
REF
Block Diagram