English
Language : 

MC68HC705CT4 Datasheet, PDF (101/152 Pages) Freescale Semiconductor, Inc – General Release Specification
Freescale Semiconductor, Inc.
Comparators
Comparator Control/Status Register
13.3 Comparator Control/Status Register
Address: $0022
Bit 7
6
5
4
3
2
1
Bit 0
Read: CMP3 CMP2 CMP1
CM3IE
0
CEN3 CEN2 CEN1
Write:
Reset: 0
0
0
0
0
0
0
0
= Unimplemented
Figure 13-2. Comparator Control/Status Register (CMPCSR)
CMP3 — Comparator 3 Output
This bit is implemented in two ways: as a real-time comparator output
or as a latched interrupt source. The state of CM3IE determines which
implementation is selected.
CM3IE = 0 (nonlatched mode) — This status bit is is cleared only by
two means:
1. Clearing CM3IE while the voltage at CMP3+ is less than CMP3–
2. By an external reset
CM3IE = 1 (latched mode) — This latched status bit is set when the
voltage at CMP3+ (PD0) is larger than that of CMP3– (internal voltage
reference ~ 2 VDD/3). An interrupt is then initiated ($1FFA–$1FFB).
CMP2 — Comparator 2 Output
This status bit is set when the voltage at CMP12+ is larger than that
of CMP2–, otherwise, it is cleared. Reset clears this bit because the
comparator is disabled.
CMP1 — Comparator 1 Output
This status bit is set when the voltage at CMP12+ is larger than that
of CMP1–, otherwise, it is cleared. Reset clears this bit because the
comparator is disabled.
MC68HC705CT4 — Rev. 2.0
MOTOROLA
General Release Specification
Comparators
101
For More Information On This Product,
Go to: www.freescale.com