
4
μ
PD784031Y
CONTENTS
1. DIFFERENCES AMONG MODELS IN
μ
PD784038Y SUBSERIES..................................................
6
2. MAJOR DIFFERENCES FROM
μ
PD784026 SUBSERIES AND
μ
PD78234 SUBSERIES..............
7
3. PIN CONFIGURATION (Top View)................................................................................................... 8
4. BLOCK DIAGRAM ............................................................................................................................ 10
5.
PIN FUNCTION ............................................................................................................................... 11
5.1
Port Pins ................................................................................................................................................ 11
5.2
Non-port Pins ........................................................................................................................................ 12
5.3
Types of Pin I/O Circuits and Connections for Unused Pins............................................................ 14
6.
CPU ARCHITECTURE .................................................................................................................... 17
6.1
Memory Space....................................................................................................................................... 17
6.2
CPU Registers ....................................................................................................................................... 19
6.2.1
General-purpose registers .......................................................................................................... 19
6.2.2
Control registers.......................................................................................................................... 20
6.2.3
Special function registers (SFRs) ............................................................................................... 21
7.
PERIPHERAL HARDWARE FUNCTIONS ..................................................................................... 26
7.1
Ports ....................................................................................................................................................... 26
7.2
Clock Generation Circuit ...................................................................................................................... 27
7.3
Real-time Output Port ........................................................................................................................... 29
7.4
Timer/Counter........................................................................................................................................ 30
7.5
PWM Output (PWM0, PWM1)................................................................................................................ 32
7.6
A/D Converter ........................................................................................................................................ 33
7.7
D/A Converter ........................................................................................................................................ 34
7.8
Serial Interface ...................................................................................................................................... 35
7.8.1
Asynchronous serial interface/3-wire serial I/O (UART/IOE) ...................................................... 36
7.8.2
Clocked serial interface (CSI) ..................................................................................................... 38
7.9
Edge Detection Function...................................................................................................................... 39
7.10 Watchdog Timer .................................................................................................................................... 40
8.
INTERRUPT FUNCTION................................................................................................................. 41
8.1
Interrupt Sources .................................................................................................................................. 41
8.2
Vectored Interrupt ................................................................................................................................. 43
8.3
Context Switching................................................................................................................................. 44
8.4
Macro Service........................................................................................................................................ 44
8.5
Application Example of Macro Service ............................................................................................... 45