EasyManua.ls Logo

NXP Semiconductors MPC5606S - Threshold Registers

NXP Semiconductors MPC5606S
1344 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Analog-to-Digital Converter (ADC)
MPC5606S Microcontroller Reference Manual, Rev. 7
Freescale Semiconductor 155
5.4.5 Threshold registers
5.4.5.1 Introduction
These four registers are used to store the user-programmable lower and upper threshold values. The
inverter bit and the mask bit to 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
EN
THR
INV
Res. 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 Description
0–15 Reserved
A write of any value has no effect. The read value is always 0.
16
THREN
Threshold enable
When set, this bit enables the threshold detection feature for the selected channel.
17
THRINV
Invert the output pin
Setting this bit inverts the behavior of the threshold output pin.
18 Reserved
Must be kept at 0.
19–24 Reserved
A write of any value has no effect. The read value is always 0.
25–31
THRCH
Choose the channel for threshold comparison.

Table of Contents

Related product manuals