
5
μ
PD784224, 784225, 784224Y, 784225Y
Data Sheet U12376EJ1V0DS00
CONTENTS
1.
DIFFERENCES AMONG MODELS IN
μ
PD784225, 784225Y SUBSERIES ..............................
7
2.
MAJOR DIFFERENCES BETWEEN
μ
PD784216Y SUBSERIES AND
μ
PD780058Y SUBSERIES.............................................................................................................
8
3.
PIN CONFIGURATION (Top View)...............................................................................................
9
4.
BLOCK DIAGRAM ........................................................................................................................ 11
5.
PIN FUNCTION............................................................................................................................... 12
5.1
Port Pins................................................................................................................................................ 12
5.2
Pins Other Than Port Pins .................................................................................................................. 14
5.3
I/O Circuit Type of Respective Pins and Recommended Connections of Unused Pins ........... 16
6.
CPU ARCHITECTURE ................................................................................................................... 20
6.1
Memory Space ...................................................................................................................................... 20
6.2
CPU Registers ...................................................................................................................................... 23
6.2.1
General-purpose registers .......................................................................................................... 23
6.2.2
Control registers.......................................................................................................................... 24
6.2.3
Special function registers (SFRs) ............................................................................................... 25
7.
PERIPHERAL HARDWARE FUNCTIONS.................................................................................... 30
7.1
Ports....................................................................................................................................................... 30
7.2
Clock Generator ................................................................................................................................... 31
7.3
Real-Time Output Port......................................................................................................................... 33
7.4
Timer ...................................................................................................................................................... 34
7.5
A/D Converter ....................................................................................................................................... 37
7.6
D/A Converter ....................................................................................................................................... 38
7.7
Serial Interface ..................................................................................................................................... 39
7.7.1
Asynchronous serial interface/3-wire serial I/O (UART/IOE) ...................................................... 40
7.7.2
Clocked serial interface (CSI) ..................................................................................................... 42
7.8
Clock Output Function ........................................................................................................................ 43
7.9
Buzzer Output Function ...................................................................................................................... 44
7.10 Edge Detection Function .................................................................................................................... 44
7.11 Watch Timer .......................................................................................................................................... 44
7.12 Watchdog Timer ................................................................................................................................... 45
8.
INTERRUPT FUNCTION ................................................................................................................ 46
8.1
Interrupt Sources ................................................................................................................................. 46
8.2
Vectored Interrupt ................................................................................................................................ 48
8.3
Context Switching................................................................................................................................ 49
8.4
Macro Service ....................................................................................................................................... 49
8.5
Application Example of Macro Service............................................................................................. 50