
4
m
PD784224, 784225
CONTENTS
1.
DIFFERENCES AMONG MODELS IN
m
PD784225 SUBSERIES ............................................... 6
2.
MAJOR DIFFERENCES BETWEEN
m
PD784225 SUBSERIES, AND
m
PD784216
SUBSERIES AND
m
PD780058 SUBSERIES ............................................................................... 7
3.
PIN CONFIGURATION (Top View) .............................................................................................. 8
4.
BLOCK DIAGRAM ....................................................................................................................... 10
5.
PIN FUNCTION .............................................................................................................................. 11
5.1
Port Pins................................................................................................................................................ 11
5.2
Pins Other Than Port Pins .................................................................................................................. 13
5.3
I/O Circuit Type of Respective Pins and Recommended Connections of Unused Pins ........... 15
6.
CPU ARCHITECTURE................................................................................................................... 18
6.1
Memory Space ...................................................................................................................................... 18
6.2
CPU Registers ...................................................................................................................................... 21
6.2.1 General-purpose registers ............................................................................................................ 21
6.2.2 Control registers............................................................................................................................ 22
6.2.3 Special function registers (SFRs) ................................................................................................. 23
7.
PERIPHERAL HARDWARE FUNCTIONS ................................................................................... 28
7.1 Ports ......................................................................................................................................................... 28
7.2 Clock Generation Circuit ....................................................................................................................... 29
7.3 Real-Time Output Port ........................................................................................................................... 31
7.4 Timer/Counter.......................................................................................................................................... 32
7.5 A/D Converter.......................................................................................................................................... 35
7.6 D/A Converter.......................................................................................................................................... 36
7.7 Serial Interface ........................................................................................................................................ 37
7.7.1
Asynchronous serial interface/3-wire serial I/O (UART/IOE) ...................................................... 38
7.7.2
Clocked serial interface (CSI) ..................................................................................................... 40
7.8
Clock Output Function ........................................................................................................................ 40
7.9
Buzzer Output Function ...................................................................................................................... 41
7.10 Edge Detection Function .................................................................................................................... 41
7.11 Watch Timer .......................................................................................................................................... 41
7.12 Watchdog Timer ................................................................................................................................... 42
8.
INTERRUPT FUNCTION ............................................................................................................... 43
8.1
Interrupt Sources ................................................................................................................................. 43
8.2
Vectored Interrupt ................................................................................................................................ 45
8.3
Context Switching................................................................................................................................ 46
8.4
Macro Service ....................................................................................................................................... 46
8.5
Application Example of Macro Service............................................................................................. 47