![NXP Semiconductors SAFE ASSURE Qorivva MPC5601P Reference Manual Download Page 602](http://html.mh-extra.com/html/nxp-semiconductors/safe-assure-qorivva-mpc5601p/safe-assure-qorivva-mpc5601p_reference-manual_1721898602.webp)
Chapter 23 Analog-to-Digital Converter (ADC)
MPC5602P Microcontroller Reference Manual, Rev. 4
602
Freescale Semiconductor
23.4.5
Threshold registers
23.4.5.1
Introduction
The Threshold registers store the user programmable lower and upper thresholds’ values. The inverter bit
and the mask bit for mask the interrupt are stored in the TRC registers.
23.4.5.2
Threshold Control Register (TRC
x
,
x
= [0..3])
Address: Base + 0x0050 (TRC0)
Base + 0x0054 (TRC1)
Base + 0x0058 (TRC2)
Base + 0x005C (TRC3)
Access: User read/write
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
R
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
W
Reset
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
R THR
EN
THR
INV
THR
OP
0
0
0
0
0
0
THRCH
W
Reset
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
Figure 23-16. Threshold Control Register (TRC
x
,
x
= [0..3])
Table 23-15. TRC
x
field descriptions
Field
Description
THREN
Threshold enable
When set, this bit enables the threshold detection feature for the selected channel.
THRINV
Invert the output pin
Setting this bit inverts the behavior of the threshold output pin.
THROP
This bit reflects the output pin status. See
Section 23.3.5.2, Analog watchdog functionality.”
It reflects
the output pin status.
THRCH
Choose the channel for threshold comparison.