4
μ
PD784224Y, 784225Y
CONTENTS
1.
DIFFERENCES AMONG MODELS IN
μ
PD784225Y SUBSERIES.............................................
6
2.
MAJOR DIFFERENCES BETWEEN
μ
PD784216Y SUBSERIES AND
μ
PD780058Y 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 ........................................................................................................................ 41
7.9
Buzzer Output Function ...................................................................................................................... 42
7.10 Edge Detection Function .................................................................................................................... 42
7.11 Watch Timer .......................................................................................................................................... 42
7.12 Watchdog Timer ................................................................................................................................... 43
8.
INTERRUPT FUNCTION ................................................................................................................ 44
8.1
Interrupt Sources ................................................................................................................................. 44
8.2
Vectored Interrupt ................................................................................................................................ 46
8.3
Context Switching................................................................................................................................ 47
8.4
Macro Service ....................................................................................................................................... 47
8.5
Application Example of Macro Service............................................................................................. 48