![](http://datasheet.mmic.net.cn/380000/-PD789405_datasheet_16744975/-PD789405_8.png)
8
μ
PD789405, 789406, 789407
CONTENTS
1.
PIN CONFIGURATION (TOP VIEW) ............................................................................................
10
2.
BLOCK DIAGRAM.......................................................................................................................
12
3.
PIN FUNCTIONS..........................................................................................................................
3.1
Port Pins ...........................................................................................................................................
3.2
Non-Port Pins....................................................................................................................................
3.3
Pin Input/Output Circuits and Handling of Unused Pins.................................................................
13
13
14
15
4.
CPU ARCHITECTURE .................................................................................................................
4.1
Memory Space ..................................................................................................................................
4.2
Data Memory Addressing.................................................................................................................
4.3
Processor Registers.........................................................................................................................
18
18
19
20
5.
PERIPHERAL HARDWARE FUNCTIONS..................................................................................
5.1
Ports..................................................................................................................................................
5.2
Clock Generator................................................................................................................................
5.3
16-Bit Timer/Counter ........................................................................................................................
5.4
8-Bit Timer/Event Counter................................................................................................................
5.5
Clock Timer.......................................................................................................................................
5.6
Watchdog Timer................................................................................................................................
5.7
8-Bit A/D Converter...........................................................................................................................
5.8
Comparator.......................................................................................................................................
5.9
Serial Interface Channel 0 ................................................................................................................
5.10 LCD Controller/Driver.......................................................................................................................
24
24
31
36
41
48
51
55
60
63
74
6.
INTERRUPT FUNCTIONS............................................................................................................
6.1
Interrupt Function Types..................................................................................................................
6.2
Interrupt Sources and Configuration...............................................................................................
6.3
Interrupt Function Control Registers...............................................................................................
80
80
80
83
7.
STANDBY FUNCTION ................................................................................................................
7.1
Standby Function..............................................................................................................................
7.2
Standby Function Control Register .................................................................................................
90
90
93
8.
RESET FUNCTIONS....................................................................................................................
94
9.
MASK OPTIONS..........................................................................................................................
96
10. INSTRUCTION SET OVERVIEW..................................................................................................
10.1 Legend ..............................................................................................................................................
10.2 Operations ........................................................................................................................................
97
97
99