Note
Filtering and sampling settings must be changed only after
setting CR1[SE]=0 and CR0[FILTER_CNT]=0x00. This resets
the filter to a known state.
26.8.1.1 Disabled mode (# 1)
In Disabled mode, the analog comparator is non-functional and consumes no power.
CMPO is 0 in this mode.
26.8.1.2 Continuous mode (#s 2A & 2B)
IRQ
Internal bus
INP
INM
FILTER_CNT
INV
COUT
COUT
OPE
SE
CMPO to
PAD
COUTA
1
WE
0
SE
CGMUX
COS
FILT_PER
0
+
-
FILT_PER
COS
IER/F
CFR/F
WINDOW/SAMPLE
1
0
EN,PMODE,HYSTCTR[1:0]
divided
bus
clock
CMPO
bus clock
To other system functions
Polarity
select
Window
contro
l
Filter
block
Interrupt
control
Clock
prescaler
Figure 26-15. Comparator operation in Continuous mode
NOTE
See the chip configuration section for the source of sample/
window input.
Chapter 26 Comparator (CMP)
KL02 Sub-Family Reference Manual, Rev. 2.1, July 2013
Freescale Semiconductor, Inc.
395