Contents
Contents
1
2
3
General Description.................................................................................................. 1
Features .....................................................................................................................1
Pin Configuration (Package).................................................................................... 2
3.1 EM78P259NP/M Pin Assignment....................................................................... 2
3.2 EM78P260NP/M/KM Pin Assignment ................................................................ 3
Functional Block Diagram........................................................................................ 3
Pin Description.......................................................................................................... 4
5.1 EM78P259NP/M Pin Description ....................................................................... 4
5.2 EM78P260NP/M/KM Pin Description................................................................. 5
4
5
6
Function Description ................................................................................................ 6
6.1 Operational Registers......................................................................................... 6
6.1.1 R0 (Indirect Address Register)............................................................................6
6.1.2 R1 (Time Clock /Counter)....................................................................................6
6.1.3 R2 (Program Counter) and Stack........................................................................6
6.1.3.1 Data Memory Configuration .................................................................8
6.1.4 R3 (Status Register)............................................................................................9
6.1.5 R4 (RAM Select Register)...................................................................................9
6.1.6 R5 ~ R6 (Port 5 ~ Port 6) ..................................................................................10
6.1.7 R7 (Port 7).........................................................................................................10
6.1.8 R8 (AISR: ADC Input Select Register)..............................................................11
6.1.9 R9 (ADCON: ADC Control Register).................................................................12
6.1.10 RA (ADOC: ADC Offset Calibration Register)...................................................13
6.1.11 RB (ADDATA: Converted Value of ADC)...........................................................13
6.1.12 RC (ADDATA1H: Converted Value of ADC)......................................................14
6.1.13 RD (ADDATA1L: Converted Value of ADC) ......................................................14
6.1.14 RE (Interrupt Status 2 & Wake-Up Control Register)........................................14
6.1.15 RF (Interrupt Status 2 Register) ........................................................................15
6.1.16 R10 ~ R3F.........................................................................................................15
6.2 Special Purpose Registers ............................................................................... 16
6.2.1 A (Accumulator).................................................................................................16
6.2.2 CONT (Control Register)...................................................................................16
6.2.3 IOC50 ~ IOC70 (I/O Port Control Register) ......................................................17
6.2.4 IOC80 (Comparator and TCCA Control Register).............................................17
6.2.5 IOC90 (TCCB and TCCC Control Register ).....................................................18
6.2.6 IOCA0 (IR and TCCC Scale Control Register) .................................................19
6.2.7 IOCB0 (Pull-Down Control Register).................................................................21
6.2.8 IOCC0 (Open-Drain Control Register) ..............................................................21
Product Specification (V1.0) 06.16.2005
• iii