English
Language : 

PXD10RM Datasheet, PDF (150/1332 Pages) Freescale Semiconductor, Inc – PXD10 Microcontroller
5.4.5 Threshold registers
5.4.5.1 Introduction
These four registers are used to 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.
5.4.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-18. Threshold Control Register (TRCx, x = [0..3])
Table 5-17. 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-28
PXD10 Microcontroller Reference Manual, Rev. 1
Preliminary—Subject to Change Without Notice
Freescale Semiconductor