CMPx_C0 field descriptions (continued)
Field
Description
11
INVT
Comparator invert
This bit allows selecting the polarity of the analog comparator function. It is also driven to the COUT output
(on both the device pin and as C0[COUT]) when C0[OPE]=0.
0
Does not invert the comparator output.
1
Inverts the comparator output.
10
COS
Comparator Output Select
0
Set CMPO to equal COUT (filtered comparator output).
1
Set CMPO to equal COUTA (unfiltered comparator output).
9
OPE
Comparator Output Pin Enable
The OPE bit enables the path from the comparator output to a selected pin.
0
When OPE is 0, the comparator output (after window/filter settings dependent on software
configuration) is not available to a packaged pin.
1
When OPE is 1, and if the software has configured the comparator to own a packaged pin, the
comparator is available in a packaged pin.
8
EN
Comparator Module Enable
The EN bit enables the Analog Comparator Module. When the module is not enabled, the analog part
remains in the off state, and consumes no power.
0
Analog Comparator is disabled.
1
Analog Comparator is enabled.
7
Reserved
This field is reserved.
This read-only field is reserved and always has the value 0.
6–4
FILTER_CNT
Filter Sample Count
This field specifies the number of consecutive samples that must agree prior to the comparator output filter
accepting a new output state. For information regarding filter programming and latency, please see the
Functional Description.
000
Filter is disabled. If SE = 1, then COUT is a logic zero (this is not a legal state, and is not
recommended). If SE = 0, COUT = COUTA.
001
1 consecutive sample must agree (comparator output is simply sampled).
010
2 consecutive samples must agree.
011
3 consecutive samples must agree.
100
4 consecutive samples must agree.
101
5 consecutive samples must agree.
110
6 consecutive samples must agree.
111
7 consecutive samples must agree.
3
Reserved
This field is reserved.
This read-only field is reserved and always has the value 0.
2
OFFSET
Comparator hard block offset control. See chip data sheet to get the actual offset value with each level
Table continues on the next page...
Memory map/register definitions
Kinetis KE1xZ256 Sub-Family Reference Manual, Rev. 3, 07/2018
802
NXP Semiconductors
Summary of Contents for Kinetis KE1xZ256
Page 2: ...Kinetis KE1xZ256 Sub Family Reference Manual Rev 3 07 2018 2 NXP Semiconductors...
Page 178: ...Usage Guide Kinetis KE1xZ256 Sub Family Reference Manual Rev 3 07 2018 178 NXP Semiconductors...
Page 356: ...Usage Guide Kinetis KE1xZ256 Sub Family Reference Manual Rev 3 07 2018 356 NXP Semiconductors...
Page 410: ...Interrupts Kinetis KE1xZ256 Sub Family Reference Manual Rev 3 07 2018 410 NXP Semiconductors...
Page 604: ...Usage Guide Kinetis KE1xZ256 Sub Family Reference Manual Rev 3 07 2018 604 NXP Semiconductors...
Page 634: ...Usage Guide Kinetis KE1xZ256 Sub Family Reference Manual Rev 3 07 2018 634 NXP Semiconductors...
Page 674: ...Usage Guide Kinetis KE1xZ256 Sub Family Reference Manual Rev 3 07 2018 674 NXP Semiconductors...
Page 820: ...Usage Guide Kinetis KE1xZ256 Sub Family Reference Manual Rev 3 07 2018 820 NXP Semiconductors...
Page 1030: ...Usage Guide Kinetis KE1xZ256 Sub Family Reference Manual Rev 3 07 2018 1030 NXP Semiconductors...
Page 1052: ...Usage Guide Kinetis KE1xZ256 Sub Family Reference Manual Rev 3 07 2018 1052 NXP Semiconductors...
Page 1066: ...Usage Guide Kinetis KE1xZ256 Sub Family Reference Manual Rev 3 07 2018 1066 NXP Semiconductors...
Page 1268: ...Usage Guide Kinetis KE1xZ256 Sub Family Reference Manual Rev 3 07 2018 1268 NXP Semiconductors...
Page 1314: ...Usage Guide Kinetis KE1xZ256 Sub Family Reference Manual Rev 3 07 2018 1314 NXP Semiconductors...
Page 1316: ...Kinetis KE1xZ256 Sub Family Reference Manual Rev 3 07 2018 1316 NXP Semiconductors...