![](http://datasheet.mmic.net.cn/380000/-PD789417_datasheet_16744978/-PD789417_7.png)
7
μ
PD789415, 789416, 789417
CONTENTS
1.
PIN CONFIGURATION (TOP VIEW) ............................................................................................
9
2. BLOCK DIAGRAM.......................................................................................................................
11
3.
PIN FUNCTIONS..........................................................................................................................
3.1 Port Pins ...........................................................................................................................................
3.2 Non-Port Pins....................................................................................................................................
3.3
Pin Input/Output Circuits and Handling of Unused Pins.................................................................
12
12
13
14
4. CPU ARCHITECTURE .................................................................................................................
4.1
Memory Space ..................................................................................................................................
4.2
Data Memory Addressing.................................................................................................................
4.3
Processor Registers.........................................................................................................................
17
17
18
19
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 10-Bit A/D Converter.........................................................................................................................
5.8
Comparator.......................................................................................................................................
5.9
Serial Interface Channel 0 ................................................................................................................
5.10 LCD Controller/Driver.......................................................................................................................
23
23
30
35
40
47
50
54
59
62
73
6.
INTERRUPT FUNCTIONS............................................................................................................
6.1
Interrupt Function Types..................................................................................................................
6.2
Interrupt Sources and Configuration...............................................................................................
6.3
Interrupt Function Control Registers...............................................................................................
79
79
79
82
7.
STANDBY FUNCTION ................................................................................................................
7.1
Standby Function..............................................................................................................................
7.2
Standby Function Control Register .................................................................................................
89
89
92
8.
RESET FUNCTIONS....................................................................................................................
93
9. MASK OPTIONS..........................................................................................................................
95
10. INSTRUCTION SET OVERVIEW..................................................................................................
10.1 Legend ..............................................................................................................................................
10.2 Operations ........................................................................................................................................
96
96
98
11. ELECTRICAL CHARACTERISTICS (TARGET VALUES).......................................................... 103