Справочник Пользователя для IBM EM78P259N/260N

Скачать
Страница из 89
 
Contents 
 
 
Product Specification (V1.2) 05.18.2007 
 iii 
 
Contents 
 
1 General 
Description .................................................................................................. 1 
2 Features ..................................................................................................................... 1 
3 Pin 
Assignment ......................................................................................................... 2 
4 Block 
Diagram ........................................................................................................... 2 
5 Pin 
Description.......................................................................................................... 3 
5.1 EM78P259NP/M................................................................................................. 3 
5.2 EM78P260NP/M/KM 
......................................................................................... 4 
6 Function 
Description ................................................................................................ 5 
6.1 Operational 
Registers......................................................................................... 5 
6.1.1  R0  (Indirect Address Register) .........................................................................5 
6.1.2 R1 
(Time 
Clock 
/Counter)..................................................................................5 
6.1.3  R2 (Program Counter) and Stack ......................................................................5 
6.1.3.1  Data Memory Configuration................................................................7 
6.1.4 R3 
(Status 
Register) ..........................................................................................8 
6.1.5  R4 (RAM Select Register) .................................................................................8 
6.1.6  R5 ~ R6 (Port 5 ~ Port 6) ..................................................................................9 
6.1.7  R7 (Port 7).........................................................................................................9 
6.1.8  R8 (AISR: ADC Input Select Register).............................................................10 
6.1.9  R9 (ADCON: ADC Control Register) ............................................................... 11 
6.1.10  RA (ADOC: ADC Offset Calibration Register)..................................................12 
6.1.11  RB (ADDATA: Converted Value of ADC) .........................................................12 
6.1.12  RC (ADDATA1H: Converted Value of ADC).....................................................13 
6.1.13  RD (ADDATA1L: Converted Value of ADC) .....................................................13 
6.1.14  RE (Interrupt Status 2 & Wake-up Control Register)........................................13 
6.1.15  RF (Interrupt Status 2 Register).......................................................................14 
6.1.16 R10 ~ R3F.......................................................................................................14 
6.2 Special 
Purpose 
Registers ............................................................................... 15 
6.2.1 A 
(Accumulator)...............................................................................................15 
6.2.2  CONT (Control Register) .................................................................................15 
6.2.3  IOC50 ~ IOC70 (I/O Port Control Register) .....................................................16 
6.2.4  IOC80 (Comparator and TCCA Control Register)............................................16 
6.2.5  IOC90 (TCCB and TCCC Control Register) ....................................................17 
6.2.6  IOCA0 (IR and TCCC Scale Control Register) ................................................18 
6.2.7  IOCB0 (Pull-down Control Register)................................................................20 
6.2.8  IOCC0 (Open-Drain Control Register).............................................................20 
6.2.9  IOCD0 (Pull-high Control Register) .................................................................21 
6.2.10  IOCE0 (WDT Control & Interrupt Mask Registers 2)........................................21 
6.2.11  IOCF0 (Interrupt Mask Register) .....................................................................22 
6.2.12  IOC51 (TCCA Counter) ...................................................................................23