EM78P153E
OTP ROM
4. R3 (Status Register)
7
6
5
4
3
2
1
0
RST
GP1
GP0
T
P
Z
DC
C
• Bit 0 (C) Carry flag
• Bit 1 (DC) Auxiliary carry flag
• Bit 2 (Z) Zero flag.
Set to "1" if the result of an arithmetic or logic operation is zero.
• Bit 3 (P) Power down bit.
Set to 1 during power on or by a "WDTC" command and reset to 0 by a "SLEP" command.
• Bit 4 (T) Time-out bit.
Set to 1 with the "SLEP" and "WDTC" command, or during power up and reset to 0 by WDT
time-out.
• Bit5 ~ 6 (GP0 ~ 1) General-purpose read/write bits.
• Bit 7 (RST) Bit for reset type.
Set to 1 if wake-up from sleep mode on pin change.
Set to 0 if wake-up from other reset types
5. R4 (RAM Select Register)
• Bits 0~5 are used to select registers (address: 00~06, 0F~2F) in the indirect addressing mode.
• Bits 6~7 are general-purpose read/write bits.
• See the configuration of the data memory in Fig. 4.
6. R5 ~ R6 (Port 5 ~ Port 6)
• R5 and R6 are I/O registers.
• Only the lower 4 bits of R5 are available.
• The upper 4 bits of R5 are fixed to 0.
• P63 is input only.
7. RF (Interrupt Status Register)
7
6
5
4
3
2
1
0
-
-
-
-
-
EXIF
ICIF
TCIF
“1” means interrupt request, and “0” means no interrupt occurs.
• Bit 0 (TCIF) TCC overflowing interrupt flag. Set when TCC overflows, reset by software.
• Bit 1 (ICIF) Port 6 input status changed interrupt flag. Set when Port 6 input changes, reset by
software.
• Bit 2 (EXIF) External interrupt flag. Set by falling edge on /INT pin, reset by software.
This specification is subject to change without prior notice.
9
2002/03/01