English
Language : 

K60P100M100SF2RM Datasheet, PDF (877/1809 Pages) Freescale Semiconductor, Inc – K60 Sub-Family Reference Manual
35.8.1.7 Windowed/Filtered Mode (#7)
Chapter 35 Comparator (CMP)
This is the most complex mode of operation for the comparator block, as it utilizes both
windowing and filtering features. It also has the highest latency of any of the modes. This
can be approximated: up to 1 bus clock synchronization in the window function +
((CR0[FILTER_CNT] X FPR[FILT_PER]) + 1) X bus clock for the filter function.
When any windowed mode is active, COUTA is clocked by the bus clock whenever
WINDOW = 1. The last latched value is held when WINDOW = 0.
INTERNAL BUS
FILT_PER
EN, PMODE,HYSCTR[1:0] COS INV
OPE
WE FILTER_CNT SE COUT IER/F
CFR/F
1
>0x01 0
INP
+
-
Polarity
CMPO Select
Window
Control
Filter
Block
Interrupt
Control
IRQ
INM
WINDOW/SAMPLE
1
COUT
(TO OTHER SOC FUNCTIONS))
0
bus clock
FILT_PER
Clock
Prescaler
divided
bus
clock
0
CGMUX
SE=0
COUTA
1
CMPO to
PAD
COS
Figure 35-35. Windowed/Filtered Mode
35.8.2 Power Modes
35.8.2.1 Wait Mode Operation
During Wait and VLPW modes and if enabled, the CMP continues to operate normally.
Also, if enabled, a CMP interrupt can wake the MCU.
K60 Sub-Family Reference Manual, Rev. 6, Nov 2011
Freescale Semiconductor, Inc.
877