EM78P257
OTP ROM
C1
CIN1+
CIN1 -
+
-
CO1
C2
CIN2+
+
CO2
CO3
CIN2 -
(Normal I/O)
-
C3
C4
+
CIN3+
CIN3 -
(Normal I/O)
-
CIN4+
CIN4 -
+
CO4
-
2. Comparator Outputs
• The compared result are stored in the CMPOUT of R9
• The comparator outputs can output to P51, P52, P63 and P64 by programming Bits 4, 5, 6, and 7
<IOC90> of the CMP control register to 1
• P52, P51, P63 and P64 must be configured as output if implemented
• Fig. 17 shows the comparator output block diagram.
To C0
COIEX
From OP I/O
CEX
EN
EN
Q
D
Q
D
To CMPOUT
RESET
To
CMPXIF
COIEX
CMPXIE
Fig. 17 The Output Configuration of a Comparator
3. Programming the Related Registers
This specification is subject to change without prior notice.
45
07.27.2004 (V1.4)