© 2000 Scenix Semiconductor, Inc. All rights reserved. 163 SX User’s Manual Rev. 3.1 www.scenix.com Chapter 7 Analog Comparator As long as the comparator is enabled, it operates continuously and reports its result in the CMP_RES
bit of the CMP_B register and on the RB0 pin (if enabled for that purpose). To reduce unnecessary
power consumption during the power down state, you should disable the comparator before using the
“sleep” instruction.
The comparator takes some time to respond after it is enabled and after a change in the analog input
voltages. For details, see the comparator DC and AC specifications in the device data sheet.
Figure 7-1 Comparator Block Diagram W MODE CMP_EN CMP_OE R
E
S
E
R
V
E
D
CMP_RES RB0 RB1 RB2 CMP_B MODE = Point to CMP_B Internal Data Bus 7 6 0 08h/18h - +