DatasheetQ Logo
Electronic component search and free download site. Transistors,MosFET ,Diode,Integrated circuits

EM78P156E Ver la hoja de datos (PDF) - ELAN Microelectronics

Número de pieza
componentes Descripción
Fabricante
EM78P156E Datasheet PDF : 28 Pages
1 2 3 4 5 6 7 8 9 10 Next Last
EM78P156E
4. R3 (Status Register)
7
6
5
4
3
2
1
0
GP2
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 by the “SLEP” and “WDTC” commands, or during power-up and reset
to 0 by WDT time-out.
• Bit 5~7 (GP0~2) General-purpose read/write bits.
5. R4 (RAM Select Register)
• Bits 0 ~ 5 are used to select registers (address: 00~06, 0F~3F) 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.
7. RF (Interrupt Status Register)
7
6
5
4
-
-
-
-
3
2
1
0
-
EXIF
ICIF
TCIF
• "1" means interrupt request, and "0" means non-interrupt occurence.
• Bit 0 (TCIF)
TCC overflowing interrupt flag. Set when TCC timer 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.
• Bits 3 ~ 7
Not used.
• RF can be cleared by instruction but can not be set.
• IOCF is the interrupt mask register.
• Note that the result of reading RF is the "logic AND" of RF and IOCF.
8. R10 ~ R3F
• All of these are the 8-bit general-purpose registers.
VI.2 Special Purpose Registers
1. A (Accumulator)
* This specification is subject to be changed without notice. 8.11.1999
B3-5

Share Link: 

datasheetq.com  [ Privacy Policy ]Request Datasheet ] [ Contact Us ]