
Rev. 1.00
179 of 486
July 31, 2018
32-Bit Arm
®
Cortex
®
-M0+ MCU
HT32F50231/HT32F50241
12
Analog to Digital Converter (ADC)
Bits
Field
Descriptions
[19:16]
ADLCH
Lower Threshold Channel Status
0000: ADC_IN0 is lower than the lower threshold
0001: ADC_IN1 is lower than the lower threshold
...
1011: ADC_IN11 is lower than the lower threshold
Others: Reserved
If both the ADWLE and ADWALL status bits are set to 1 by the watchdog monitor
function, this status field value should first be stored in the user-defined memory
location in the corresponding ISR. Otherwise, the ADLCH field will be changed if
another input channel converted data is lower than the lower threshold.
[11:8]
ADWCH
ADC Watchdog Specific Channel Selection
0000: ADC_IN0 is monitored
0001: ADC_IN1 is monitored
...
1011: ADC_IN11 is monitored
Others: Reserved
[2]
ADWALL
ADC Watchdog Specific / All Channel Setting
0: Only the channel which specified by the ADWCH field is monitored
1: All channels are monitored
[1]
ADWUE
ADC Watchdog Upper Threshold Enable Bit
0: Disable upper threshold function
1: Enable upper threshold function
[0]
ADWLE
ADC Watchdog Lower Threshold Enable Bit
0: Disable lower threshold function
1: Enable lower threshold function