CMPx_DACCR field descriptions (continued)
Field Description
0 DAC is disabled.
1 DAC is enabled.
6
VRSEL
Supply Voltage Reference Source Select
0 V
in1
is selected as resistor ladder network supply reference.
1 V
in2
is selected as resistor ladder network supply reference.
VOSEL DAC Output Voltage Select
Selects an output voltage from one of 64 distinct levels.
DACO = (V
in
/64) * (VOSEL[5:0] + 1) , so the DACO range is from V
in
/64 to V
in
.
35.2.6 MUX Control Register (CMPx_MUXCR)
Address: Base address + 5h offset
Bit 7 6 5 4 3 2 1 0
Read
Reserved
0
PSEL MSEL
Write
Reset
0 0 0 0 0 0 0 0
CMPx_MUXCR field descriptions
Field Description
7
Reserved
Bit can be programmed to zero only .
This field is reserved.
6
Reserved
This field is reserved.
This read-only field is reserved and always has the value 0.
5–3
PSEL
Plus Input Mux Control
Determines which input is selected for the plus input of the comparator. For INx inputs, see CMP, DAC,
and ANMUX block diagrams.
NOTE:
When an inappropriate operation selects the same input for both muxes, the comparator
automatically shuts down to prevent itself from becoming a noise generator.
000 IN0
001 IN1
010 IN2
011 IN3
100 IN4
101 IN5
110 IN6
111 IN7
MSEL Minus Input Mux Control
Determines which input is selected for the minus input of the comparator. For INx inputs, see CMP, DAC,
and ANMUX block diagrams.
Table continues on the next page...
Chapter 35 Comparator (CMP)
K22F Sub-Family Reference Manual, Rev. 4, 08/2016
NXP Semiconductors 827