![](http://datasheet.mmic.net.cn/370000/-PD784046_datasheet_16681088/-PD784046_4.png)
m
PD784044,
784046
4
CONTENTS
1.
DIFFERENCES AMONG
m
PD784046 SUBSERIES ......................................................................... 6
2.
PIN CONFIGURATION (Top View).................................................................................................... 7
3.
SYSTEM CONFIGURATION EXAMPLE (AC SERVO MOTOR CONTROL)................................... 9
4.
BLOCK DIAGRAM ........................................................................................................................... 10
5.
PIN FUNCTIONS .............................................................................................................................. 11
5.1
Port Pins .................................................................................................................................................... 11
5.2
Pins Other Than Port Pins ...................................................................................................................... 13
5.3
I/O Circuits of Pins and Processing of Unused Pins.......................................................................... 15
6.
CPU ARCHITECTURE ..................................................................................................................... 17
6.1
Memory Space .......................................................................................................................................... 17
6.2
CPU Registers........................................................................................................................................... 20
6.2.1
General-purpose registers ............................................................................................................. 20
6.2.2
Control registers ............................................................................................................................. 21
6.2.3
Special function registers (SFRs).................................................................................................. 22
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 ........................................................................................................................................... 31
7.5
A/D Converter ........................................................................................................................................... 34
7.6
Serial Interface.......................................................................................................................................... 35
7.6.1
Asynchronous serial interface/3-wire serial I/O (UART/IOE) ....................................................... 36
7.7
Edge Detection Circuit ............................................................................................................................ 38
7.8
Watchdog Timer........................................................................................................................................ 38
8.
INTERRUPT FUNCTION .................................................................................................................. 39
8.1
Interrupt Source ....................................................................................................................................... 39
8.2
Vectored Interrupt .................................................................................................................................... 41
8.3
Context Switching .................................................................................................................................... 42
8.4
Macro Service ........................................................................................................................................... 43
9.
LOCAL BUS INTERFACE................................................................................................................ 46
9.1
Memory Expansion .................................................................................................................................. 47
9.2
Memory Space .......................................................................................................................................... 48
9.3
Programmable Wait.................................................................................................................................. 48
9.4
Bus Sizing Function................................................................................................................................. 48