![](http://datasheet.mmic.net.cn/380000/-PD789187_datasheet_16744969/-PD789187_6.png)
Preliminary Product Information
6
μ
PD789186, 789187, 789196, 789197
CONTENTS
1. PIN CONFIGURATION (TOP VIEW) ................................................................................................8
2. BLOCK DIAGRAM...........................................................................................................................11
3. PIN FUNCTIONS..............................................................................................................................12
3.1 Port Pins................................................................................................................................................12
3.2 Non-Port Pins........................................................................................................................................13
3.3 Pin Input/Output Circuits and Handling of Unused Pins ..................................................................14
4. CPU ARCHITECTURE.....................................................................................................................16
4.1 Memory Space ......................................................................................................................................16
4.2 Data Memory Addressing ....................................................................................................................17
4.3 Processor Registers.............................................................................................................................18
5. EEPROM ..........................................................................................................................................23
5.1 EEPROM Functions..............................................................................................................................23
5.2 EEPROM Configuration........................................................................................................................23
5.3 EEPROM Control Register...................................................................................................................23
6. PERIPHERAL HARDWARE FUNCTIONS ......................................................................................25
6.1 Ports ......................................................................................................................................................25
6.2 Clock Generator....................................................................................................................................32
6.3 16-Bit Timer/Counter............................................................................................................................37
6.4 8-Bit Timer/Event Counter ...................................................................................................................44
6.5 Clock Timer...........................................................................................................................................51
6.6 Watchdog Timer ...................................................................................................................................54
6.7 A/D Converter........................................................................................................................................58
6.8 Serial Interface......................................................................................................................................63
6.9 Multiplier................................................................................................................................................92
6.10 Low-Voltage Indicator (LVI).................................................................................................................95
7. INTERRUPT FUNCTIONS ...............................................................................................................97
7.1 Interrupt Function Types .....................................................................................................................97
7.2 Interrupt Sources and Configuration..................................................................................................97
7.3 Interrupt Function Control Registers.................................................................................................100
8. STANDBY FUNCTION....................................................................................................................106
8.1 Standby Function ................................................................................................................................106
8.2 Standby Function Control Register ...................................................................................................109
9.
RESET FUNCTIONS.......................................................................................................................110
10. MASK OPTIONS.............................................................................................................................113