English
Language : 

K60P100M100SF2RM Datasheet, PDF (859/1809 Pages) Freescale Semiconductor, Inc – K60 Sub-Family Reference Manual
INTERNAL BUS
Chapter 35 Comparator (CMP)
FILT_PER
EN,PMODE,HYSCTRL[1:0] COS INV
OPE
WE FILTER_CNT SE COUT IER/F
CFR/F
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
COUTA
1
CMPO to
PAD
COS
Figure 35-2. Comparator Module Block Diagram
In the CMP block diagram:
• The Window Control block is bypassed when CR1[WE] = 0
• If CR1[WE] = 1, the comparator output will be sampled on every bus clock when
WINDOW=1 to generate COUTA. Sampling does NOT occur when WINDOW = 0.
• The Filter Block is bypassed when not in use.
• The Filter Block acts as a simple sampler if the filter is bypassed and
CR0[FILTER_CNT] is set to 0x01.
• The Filter Block filters based on multiple samples when the filter is bypassed and
CR0[FILTER_CNT] is set greater than 0x01.
• If CR1[SE] = 1, the external SAMPLE input is used as sampling clock
• IF CR1[SE] = 0, the divided bus clock is used as sampling clock
K60 Sub-Family Reference Manual, Rev. 6, Nov 2011
Freescale Semiconductor, Inc.
859