μ
PD784035(A), 784036(A)
5
CONTENTS
1.
DIFFERENCES BETWEEN
μ
PD784038 SUB-SERIES SPECIAL PRODUCTS ....................
7
2.
DIFFERENCES BETWEEN STANDARD AND SPECIAL PRODUCTS ..................................
7
3.
PIN CONFIGURATION (TOP VIEW) .........................................................................................
8
4.
BLOCK DIAGRAM .....................................................................................................................
10
5.
LIST OF PIN FUNCTIONS .........................................................................................................
5.1
Port Pins............................................................................................................................................
5.2
Non-Port Pins ...................................................................................................................................
5.3
I/O Circuits for Pins and Handling of Unused Pins ....................................................................
11
11
13
15
6.
CPU ARCHITECTURE ...............................................................................................................
6.1
Memory Space ..................................................................................................................................
6.2
CPU Registers ..................................................................................................................................
6.2.1
General-purpose registers ................................................................................................
6.2.2
Control registers ................................................................................................................
6.2.3
Special function registers (SFRs) ....................................................................................
18
18
21
21
22
23
7.
PERIPHERAL HARDWARE FUNCTIONS................................................................................
7.1
Ports...................................................................................................................................................
7.2
Clock Generator ...............................................................................................................................
7.3
Real-Time Output Port.....................................................................................................................
7.4
Timers/Counters...............................................................................................................................
7.5
PWM Output (PWM0, PWM1) ..........................................................................................................
7.6
A/D Converter ...................................................................................................................................
7.7
D/A Converter ...................................................................................................................................
7.8
Serial Interface .................................................................................................................................
7.8.1
Asynchronous serial interface/three-wire serial I/O (UART/IOE) ................................
7.8.2
Synchronous serial interface (CSI)..................................................................................
7.9
Clock Output Function ....................................................................................................................
7.10 Edge Detection Function ................................................................................................................
7.11 Watchdog Timer ...............................................................................................................................
28
28
29
31
32
34
35
36
37
38
40
41
42
42
8.
INTERRUPT FUNCTION............................................................................................................
8.1
Interrupt Source ...............................................................................................................................
8.2
Vectored Interrupt............................................................................................................................
8.3
Context Switching............................................................................................................................
8.4
Macro Service...................................................................................................................................
8.5
Examples of Macro Service Applications.....................................................................................
43
43
45
46
46
47