English
Language : 

PXD20RM Datasheet, PDF (159/1628 Pages) Freescale Semiconductor, Inc – PXD20 Microcontroller
5.3.5.2 Threshold Control Register (TRCx, x = [0..3])
Reset value: 0x0000_0000
0
1
2
3
4
5
6
7
8
9 10 11 12 13 14 15
Reserved
—
16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
THR THR Res.
EN INV
Reserved
THRCH
rw rw —
—
rw
Figure 5-15. Threshold Control Register (TRCx, x = [0..3])
Table 5-13. Threshold Control Register (TRCx, x = [0..3]) field descriptions
Field
0:15
16
17
18
19:24
25:31
Description
Reserved
Write of any value has no effect, read value is always 0.
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.
Reserved
Must be kept at 0.
Reserved
Write of any value has no effect, read value is always 0.
THRCH: Choose the channel for threshold comparison.
5.3.5.3 Threshold Register (THRHLR[0:3])
The four THRHLRn registers are used to store the user-programmable thresholds’ 10-bit values.
Freescale Semiconductor
PXD20 Microcontroller Reference Manual, Rev. 1
Preliminary—Subject to Change Without Notice
5-17