English
Language : 

UPD784218 Datasheet, PDF (6/92 Pages) NEC – 16-/8-BIT SINGLE-CHIP MICROCONTROLLERS
CONTENTS
µPD784218, 784218Y
1. DIFFERENCES AMONG MODELS IN µPD784218, 784218Y SUBSERIES ............................... 8
2. DIFFERENCES BETWEEN µPD784218 AND µPD784216 .......................................................... 8
3. MAJOR DIFFERENCES FROM µPD78078, 78078Y SUBSERIES .............................................. 9
4. PIN CONFIGURATION (TOP VIEW) .............................................................................................. 10
5. BLOCK DIAGRAM .......................................................................................................................... 13
6. PIN FUNCTIONS ............................................................................................................................. 14
6.1 Port Pins ................................................................................................................................ 14
6.2 Non-Port Pins ....................................................................................................................... 16
6.3 Pin I/O Circuits and Recommended Connections of Unused Pins .............................. 18
7. CPU ARCHITECTURE .................................................................................................................... 22
7.1 Memory Space ...................................................................................................................... 22
7.2 CPU Registers ...................................................................................................................... 24
7.2.1 General-purpose registers .......................................................................................................... 24
7.2.2 Control registers .......................................................................................................................... 25
7.2.3 Special function registers (SFRs) ............................................................................................... 26
8. PERIPHERAL HARDWARE FUNCTION FEATURES ................................................................... 31
8.1 Ports ....................................................................................................................................... 31
8.2 Clock Generator ................................................................................................................... 32
8.3 Real-Time Output Port ......................................................................................................... 34
8.4 Timer/Event Counter ............................................................................................................ 35
8.5 A/D Converter ....................................................................................................................... 37
8.6 D/A Converter ....................................................................................................................... 38
8.7 Serial Interfaces ................................................................................................................... 39
8.7.1 Asynchronous serial interface/3-wire serial I/O (UART/IOE) .................................................... 40
8.7.2 Clocked serial interface (CSI) ..................................................................................................... 42
8.8 Clock Output Function ........................................................................................................ 43
8.9 Buzzer Output Function ...................................................................................................... 44
8.10 Edge Detection Function .................................................................................................... 44
8.11 Watch Timer .......................................................................................................................... 44
8.12 Watchdog Timer ................................................................................................................... 45
9. INTERRUPT FUNCTION................................................................................................................. 46
9.1 Interrupt Sources ................................................................................................................. 46
9.2 Vectored Interrupt ................................................................................................................ 48
9.3 Context Switching ................................................................................................................ 49
9.4 Macro Service ....................................................................................................................... 49
9.5 Application Example of Macro Service ............................................................................. 50
6
Data Sheet U12304EJ2V0DS00