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
Symbol
/RESET
P50~P53
P60~P67
/INT
VDD
V
SS
I/O
Function
I
* Input pin with Schmitt trigger. If this pin remains at logic low, the controller
will keep in reset condition.
I/O
* P50~P53 are bi-directional I/O pins. P50 and P51 can also be defined as the
R-option pins. P50~P52 can be pulled down by software .
I/O
* P60~P67 are bi-directional I/O pins. These can be pull-high or can be open-
drain by software programming. In addition, P60~P63 can be pull-down
also by software.
I
* External interrupt pin triggered by falling edge.
-
* Power supply.
-
* Ground.
VI. FUNCTION DESCRIPTION
VI.1 Operational Registers
1. R0 (Indirect Addressing Register)
• R0 is not a physically implemented register. Its major function is to be an indirect addressing pointer. Any instruction
using R0 as a pointer actually accesses data pointed by the RAM Select Register (R4).
2. R1 (Time Clock /Counter)
• Increased by an external signal edge which is defined by TE bit (CONT-4) through the TCC pin,
or by the instruction cycle clock.
• Writable and readable as any other registers.
3. R2 (Program Counter) & Stack
• R2 and hardware stacks are 10~12-bit wide. The structure is depicted in Fig. 3.
• Generating 1024x13 bits on-chip OTP ROM addresses to the relative programming instruction codes. One program
page is 1024 words long.
• The contents of R2 are set all “0”s upon a RESET condition.
• “JMP” instruction allows the direct loading of the lower 10 program counter bits. Thus, “JMP” allows PC to go to
any location within a page.
• “CALL” instruction loads the lower 10 bits of the PC, and then PC+1 is pushed into the stack. Thus, the subroutine
entry address can locate anywhere within a page.
“ RET” (“RETL K”, “RETI”) instruction loads the program counter with the contents of the top-level stack.
“ADD R2,A” allows a relative address to be added to the current PC, and the ninth and tenth bits of the PC are cleared.
• “MOV R2,A” allows to load an address from the “A” register to the lower 8 bits of the PC, and the ninth and tenth
bits of the PC are cleared.
• Any instruction which would change the contents of R2 (e.g. “ADD R2,A”, “MOV R2,A”, “BC R2,6”,......) will
cause the ninth and tenth bits (A8~A9) of the PC to be cleared. Thus, the computed jump is limited to the first
256 locations of a page.
• All instructions are single instruction cycle (fclk/2) except the instructions which would change the contents of R2
need one more instruction cycle.
* This specification is subject to be changed without notice. 8.11.1999
B3-3

Share Link: 

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