![](http://datasheet.mmic.net.cn/380000/-PD78F9418_datasheet_16745017/-PD78F9418_5.png)
5
μ
PD78F9418
CONTENTS
1. PIN CONFIGURATION (TOP VIEW) ................................................................................................7
2. BLOCK DIAGRAM............................................................................................................................9
3. DIFFERENCES BETWEEN THE
μ
PD78F9418 AND MASKED ROM PRODUCTS.......................10
4. PIN FUNCTIONS..............................................................................................................................11
4.1 Port Pins................................................................................................................................................11
4.2 Non-Port Pins........................................................................................................................................12
4.3 Pin Input/Output Circuits and Handling of Unused Pins ..................................................................13
5. CPU ARCHITECTURE.....................................................................................................................16
5.1 Memory Space ......................................................................................................................................16
5.2 Data Memory Addressing ....................................................................................................................17
5.3 Processor Registers.............................................................................................................................18
6. PERIPHERAL HARDWARE FUNCTIONS ....................................................................................23
6.1 Ports ......................................................................................................................................................23
6.2 Clock Generator....................................................................................................................................30
6.3 16-Bit Timer/Counter............................................................................................................................35
6.4 8-Bit Timer/Event Counter ...................................................................................................................40
6.5 Clock Timer...........................................................................................................................................47
6.6 Watchdog Timer ...................................................................................................................................50
6.7 10-Bit A/D Converter.............................................................................................................................54
6.8 Comparator ...........................................................................................................................................59
6.9 Serial Interface Channel 0....................................................................................................................62
6.10 LCD Controller/Driver...........................................................................................................................73
7. INTERRUPT FUNCTIONS ...............................................................................................................79
7.1 Interrupt Function Types .....................................................................................................................79
7.2 Interrupt Sources and Configuration..................................................................................................79
7.3 Interrupt Function Control Registers..................................................................................................82
8. STANDBY FUNCTION....................................................................................................................89
8.1 Standby Function .................................................................................................................................89
8.2 Standby Function Control Register ....................................................................................................92
9. RESET FUNCTIONS........................................................................................................................93
10. FLASH MEMORY PROGRAMMING................................................................................................95
10.1 Selecting the Transmission Method................................................................................................95
10.2 Flash Memory Programming Functions..........................................................................................96
10.3
Connecting the Flashpro II...............................................................................................................96