EM78156EAS EMC [ELAN Microelectronics Corp], EM78156EAS Datasheet - Page 3

no-image

EM78156EAS

Manufacturer Part Number
EM78156EAS
Description
8-Bit Microcontroller with MASK ROM
Manufacturer
EMC [ELAN Microelectronics Corp]
Datasheet
Contents
Product Specification (V1.3) 07.29.2004
1
2
3
4
GENERAL DESCRIPTION ......................................................................................... 1
FEATURES ................................................................................................................. 1
PIN ASSIGNMENT ..................................................................................................... 2
FUNCTION DESCRIPTION ........................................................................................ 4
4.1
4.2
4.3
4.4
4.5
4.6
4.7
4.8
4.9
4.10 External Power On Reset Circuit...................................................................... 26
4.11 Residue-Voltage Protection.............................................................................. 26
4.12 Instruction Set .................................................................................................. 27
4.13 Timing Diagrams .............................................................................................. 30
Operational Registers......................................................................................... 4
Special Purpose Registers ................................................................................. 8
TCC/WDT & Prescaler ..................................................................................... 11
I/O Ports ........................................................................................................... 12
RESET and Wake-up ....................................................................................... 15
Interrupt ............................................................................................................ 20
Oscillator .......................................................................................................... 22
CODE Option Register ..................................................................................... 25
Power On Considerations ................................................................................ 25
4.1.1
4.1.2
4.1.3
4.1.4
4.1.5
4.1.6
4.1.7
4.1.8
4.2.1
4.2.2
4.2.3
4.2.4
4.2.5
4.2.6
4.2.7
4.2.8
4.2.9
4.5.1
4.5.2
4.7.1
4.7.2
4.7.3
R0 (Indirect Addressing Register) .......................................................................4
R1 (Time Clock /Counter)....................................................................................4
R2 (Program Counter) & Stack ...........................................................................5
R3 (Status Register) ............................................................................................6
R4 (RAM Select Register)...................................................................................7
R5 ~ R6 (Port 5 ~ Port 6) ....................................................................................7
RF (Interrupt Status Register) .............................................................................7
R10 ~ R3F ...........................................................................................................7
A (Accumulator)...................................................................................................8
CONT (Control Register).....................................................................................8
IOC5 ~ IOC6 (I/O Port Control Register) ............................................................8
IOCA (Prescaler Counter Register).....................................................................9
IOCB (Pull-down Control Register) .....................................................................9
IOCC (Open-drain Control Register)...................................................................9
IOCD (Pull-high Control Register).....................................................................10
IOCE (WDT Control Register) ...........................................................................10
IOCF (Interrupt Mask Register).........................................................................11
RESET ..............................................................................................................15
The Status of RST, T, and P of STATUS Register .............................................19
Oscillator Modes................................................................................................22
.Crystal Oscillator/Ceramic Resonators(XTAL) .................................................22
External RC Oscillator Mode.............................................................................23
Contents
• iii

Related parts for EM78156EAS