
Analog-to-Digital Converter (ADC)
PXN20 Microcontroller Reference Manual, Rev. 1
34-50
Freescale Semiconductor
The logic configuration for selecting the threshold values for the analog watchdog is shown in
. After the conversion of the selected channel a comparison is performed between the
converted value obtained and the threshold values set. The result is stored as WDG
n
H and WDG
n
L bits
in the WTISR register as explained in
n
L and MSKWDG
n
H
mask bits in the WTIMR register, an interrupt is generated on threshold violation.
Figure 34-49. Alternate Watchdog Threshold Configuration
Figure 34-50. Guarded Area
Table 34-43. Values of WDGnH and WDGnL Fields
WDGnH
WDGnL
Converted data
1
0
converted data > THRH
0
1
converted data < THRL
0
0
THRH < converted data < THRL
THRHn
THRH_ALTn
0
1
THRHn
THRH_ALTn
0
1
Analog Watchdog n
Upper Threshold for conversion
Lower Threshold for conversion
alternate_wdgbus(x)
Setting Upper and Lower Threshold values for the analog watchdog [n = (0 ... 3)]
THRH
THRL
Analog Voltage
Upper threshold
Lower threshold
Guarded area
Summary of Contents for PXN2020
Page 1: ...PXN20 Microcontroller Reference Manual Devices Supported PXN2020 PXN2120 PXN20RM Rev 1 06 2011...
Page 42: ...PXN20 Microcontroller Reference Manual Rev 1 lxiv Freescale Semiconductor...
Page 64: ...Introduction PXN20 Microcontroller Reference Manual Rev 1 1 22 Freescale Semiconductor...
Page 112: ...Signal Description PXN20 Microcontroller Reference Manual Rev 1 3 44 Freescale Semiconductor...
Page 118: ...Resets PXN20 Microcontroller Reference Manual Rev 1 4 6 Freescale Semiconductor...
Page 372: ...e200z6 Core Z6 PXN20 Microcontroller Reference Manual Rev 1 13 8 Freescale Semiconductor...
Page 412: ...e200z0 Core Z0 PXN20 Microcontroller Reference Manual Rev 1 14 14 Freescale Semiconductor...
Page 821: ...Media Local Bus MLB PXN20 Microcontroller Reference Manual Rev 1 Freescale Semiconductor 27 49...
Page 822: ...Media Local Bus MLB PXN20 Microcontroller Reference Manual Rev 1 27 50 Freescale Semiconductor...
Page 1376: ...Memory Map PXN20 Microcontroller Reference Manual Rev 1 A 118 Freescale Semiconductor...