em78p131a ELAN Microelectronics Corp, em78p131a Datasheet - Page 3

no-image

em78p131a

Manufacturer Part Number
em78p131a
Description
8-bit Microcontroller With Otp Rom
Manufacturer
ELAN Microelectronics Corp
Datasheet
Product Specification (V1.2) 09.16.2009
Contents
1
2
3
4
5
General Description .................................................................................................. 1
Features ..................................................................................................................... 1
Pin Assignment ......................................................................................................... 2
Pin Description.......................................................................................................... 3
4.1
Functional Description ............................................................................................. 4
5.1
5.2
5.3
5.4
5.5
5.6
5.7
EM78P131AMS10J ............................................................................................ 3
Operational Registers......................................................................................... 4
Special Function Registers................................................................................. 9
TCC/WDT and Prescaler.................................................................................. 13
I/O Ports ........................................................................................................... 13
Reset and Wake-up.......................................................................................... 17
Interrupt ............................................................................................................ 22
Oscillator .......................................................................................................... 23
5.1.1
5.1.2
5.1.3
5.1.4
5.1.5
5.1.6
5.1.7
5.1.8
5.2.1
5.2.2
5.2.3
5.2.4
5.2.5
5.2.6
5.2.7
5.2.8
5.5.1
5.5.2
5.5.3
5.7.1
5.7.2
5.7.3
5.7.4
R0 (Indirect Addressing Register) .......................................................................4
R1 (Timer Clock /Counter) ..................................................................................4
R2 (Program Counter) and Stack........................................................................5
R3 (Status Register) ............................................................................................7
R4 (RAM Select Register)...................................................................................7
R6 (Port 6)...........................................................................................................7
RF (Interrupt Status Register) .............................................................................8
R10 ~ R2F ...........................................................................................................8
A (Accumulator)...................................................................................................9
CONT (Control Register).....................................................................................9
IOC6 (I/O Port Control Register) .........................................................................9
IOCB (Pull-down Control Register) ...................................................................10
IOCC (Open-drain Control Register).................................................................10
IOCD (Pull-high Control Register).....................................................................10
IOCE (WDT Control Register) ...........................................................................11
IOCF (Interrupt Mask Register).........................................................................12
Reset .................................................................................................................17
Summary of Registers Initialized Values...........................................................19
Status of RST, T, and P of the Status Register..................................................21
Oscillator Modes................................................................................................23
Crystal Oscillator/Ceramic Resonators (Crystal)...............................................23
External RC Oscillator Mode.............................................................................25
Internal RC Oscillator Mode ..............................................................................26
Contents
• iii

Related parts for em78p131a