|
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
|
▷ |