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

no-image

EM78159NAS

Manufacturer Part Number
EM78159NAS
Description
8-Bit Microcontroller with OTP ROM
Manufacturer
EMC [ELAN Microelectronics Corp]
Datasheet
Contents
Product Specification (V1.0) 03.10.2006
1
2
3
4
General Description .................................................................................................. 1
1.1
Features ..................................................................................................................... 1
Pin Assignments and Descriptions ......................................................................... 3
3.1
3-2 EM78P159NAS Pin Description ......................................................................... 4
3.3
Function Description ................................................................................................ 6
4.1
4.2
4.3
4.4
4.5
4.6
Comparison between EM78P159N, EM78P154N, and EM78P157N ................ 1
EM78P159NP and EM78P159NM Pin Description ............................................ 4
EM78P159NKM Pin Description ........................................................................ 5
Operational Registers......................................................................................... 6
Special Purpose Registers ............................................................................... 11
TCC/WDT & Prescaler ..................................................................................... 15
I/O Ports ........................................................................................................... 16
RESET and Wake-up ....................................................................................... 19
Interrupt ............................................................................................................ 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.1.9
4.1.10 R10 ~ R3F .........................................................................................................10
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.4.1
4.5.1
4.5.2
4.5.3
R0 (Indirect Addressing Register) .......................................................................6
R1 (Time Clock /Counter)....................................................................................6
R2 (Program Counter) & Stack ...........................................................................7
R3 (Status Register) ............................................................................................8
R4 (RAM Select Register)...................................................................................9
R5 ~ R6 (Port 5 ~ Port 6) ....................................................................................9
RD (Manual Calibration Register) .......................................................................9
RE (Wake Up Control Register) ........................................................................10
RF (Interrupt Status Register) ...........................................................................10
A (Accumulator).................................................................................................11
CONT (Control Register)...................................................................................11
IOC5 ~ IOC6 (I/O Port Control Register) ..........................................................12
IOCA (Prescaler Counter Register)...................................................................12
IOCB (Pull-Down Control Register)...................................................................12
IOCC (Open-Drain Control Register) ................................................................13
IOCD (Pull-High Control Register) ....................................................................13
IOCE (WDT Control Register) ...........................................................................14
IOCF (Interrupt Mask Register).........................................................................15
Usage of Port 6 Input Change Wake-up/Interrupt Function..............................18
RESET ..............................................................................................................19
The Summary of the Initialized Values for Registers ........................................22
The Status of RST, T, and P of STATUS Register .............................................24
Contents
• iii

Related parts for EM78159NAS