![NXP Semiconductors MKL27Z128VFM4 Reference Manual Download Page 401](http://html1.mh-extra.com/html/nxp-semiconductors/mkl27z128vfm4/mkl27z128vfm4_reference-manual_1721847401.webp)
CMPx_SCR field descriptions (continued)
Field
Description
0
COUT
Analog Comparator Output
Returns the current value of the Analog Comparator output, when read. The field is reset to 0 and will read
as CR1[INV] when the Analog Comparator module is disabled, that is, when CR1[EN] = 0. Writes to this
field are ignored.
24.3.5 DAC Control Register (CMPx_DACCR)
Address: 4007_3000h base + 4h offset = 4007_3004h
Bit
7
6
5
4
3
2
1
0
Read
Write
Reset
0
0
0
0
0
0
0
0
CMPx_DACCR field descriptions
Field
Description
7
DACEN
DAC Enable
Enables the DAC. When the DAC is disabled, it is powered down to conserve power.
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
.
24.3.6 MUX Control Register (CMPx_MUXCR)
Address: 4007_3000h base + 5h offset = 4007_3005h
Bit
7
6
5
4
3
2
1
0
Read
Write
Reset
0
0
0
0
0
0
0
0
CMPx_MUXCR field descriptions
Field
Description
7
PSTM
Pass Through Mode Enable
Table continues on the next page...
Chapter 24 Comparator (CMP)
KL27 Sub-Family Reference Manual , Rev. 5, 01/2016
Freescale Semiconductor, Inc.
401