![](http://datasheet.mmic.net.cn/380000/-PD784031-A-_datasheet_16744921/-PD784031-A-_4.png)
μ
PD784031(A)
4
CONTENTS
1.
DIFFERENCES BETWEEN
μ
PD784038 SUB-SERIES SPECIAL PRODUCTS ....................
6
2.
DIFFERENCES BETWEEN STANDARD AND SPECIAL PRODUCTS ..................................
6
3.
PIN CONFIGURATION (TOP VIEW) .........................................................................................
7
4.
BLOCK DIAGRAM .....................................................................................................................
9
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 ....................................................................
10
10
11
13
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) ....................................................................................
16
16
18
18
19
20
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
Edge Detection Function ................................................................................................................
7.10 Watchdog Timer ...............................................................................................................................
25
25
26
28
29
31
32
33
34
35
37
38
38
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.....................................................................................
39
39
41
42
42
43