
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...
Chapter 38 Comparator (CMP)
Kinetis KE1xF Sub-Family Reference Manual, Rev. 4, 06/2019
NXP Semiconductors
889
Summary of Contents for KE1xF Series
Page 2: ...Kinetis KE1xF Sub Family Reference Manual Rev 4 06 2019 2 NXP Semiconductors...
Page 138: ...Usage Guide Kinetis KE1xF Sub Family Reference Manual Rev 4 06 2019 138 NXP Semiconductors...
Page 360: ...Usage Guide Kinetis KE1xF Sub Family Reference Manual Rev 4 06 2019 360 NXP Semiconductors...
Page 490: ...Interrupts Kinetis KE1xF Sub Family Reference Manual Rev 4 06 2019 490 NXP Semiconductors...
Page 562: ...Boot Kinetis KE1xF Sub Family Reference Manual Rev 4 06 2019 562 NXP Semiconductors...
Page 706: ...Usage Guide Kinetis KE1xF Sub Family Reference Manual Rev 4 06 2019 706 NXP Semiconductors...
Page 736: ...Usage Guide Kinetis KE1xF Sub Family Reference Manual Rev 4 06 2019 736 NXP Semiconductors...
Page 866: ...Usage Guide Kinetis KE1xF Sub Family Reference Manual Rev 4 06 2019 866 NXP Semiconductors...
Page 1164: ...Usage Guide Kinetis KE1xF Sub Family Reference Manual Rev 4 06 2019 1164 NXP Semiconductors...
Page 1178: ...Usage Guide Kinetis KE1xF Sub Family Reference Manual Rev 4 06 2019 1178 NXP Semiconductors...
Page 1380: ...Usage Guide Kinetis KE1xF Sub Family Reference Manual Rev 4 06 2019 1380 NXP Semiconductors...
Page 1472: ...Kinetis KE1xF Sub Family Reference Manual Rev 4 06 2019 1472 NXP Semiconductors...
Page 1482: ...Kinetis KE1xF Sub Family Reference Manual Rev 4 06 2019 1482 NXP Semiconductors...