![](http://datasheet.mmic.net.cn/370000/UPD789022_datasheet_16740811/UPD789022_15.png)
User's Manual U11919EJ3V0UM00
15
6.4.2
6.4.3
6.4.4
Operation as timer output..........................................................................................................101
Capture operation......................................................................................................................102
16-bit timer counter 20 readout .................................................................................................103
CHAPTER 7 8-BIT TIMER/EVENT COUNTER .......................................................................................105
7.1 8-Bit Timer/Event Counter Functions.....................................................................................105
7.2 8-Bit Timer/Event Counter Configuration..............................................................................106
7.3 8-Bit Timer/Event Counter Control Registers........................................................................107
7.4 8-Bit Timer/Event Counter Operation.....................................................................................109
7.4.1
Operation as interval timer ........................................................................................................109
7.4.2
Operation as external event counter .........................................................................................111
7.4.3
Operation as square wave output..............................................................................................112
7.5 Notes on Using 8-Bit Timer/Event Counters .........................................................................114
CHAPTER 8 WATCHDOG TIMER...........................................................................................................115
8.1 Watchdog Timer Functions.....................................................................................................115
8.2 Watchdog Timer Configuration ..............................................................................................116
8.3 Watchdog Timer Control Registers........................................................................................117
8.4 Operation of Watchdog Timer.................................................................................................119
8.4.1
Operation as watchdog timer.....................................................................................................119
8.4.2
Operation as interval timer ........................................................................................................120
CHAPTER 9 SERIAL INTERFACE 00.....................................................................................................121
9.1 Serial Interface 00 Functions ..................................................................................................121
9.2 Serial Interface 00 Configuration............................................................................................121
9.3 Serial Interface 00 Control Register .......................................................................................125
9.4 Serial Interface 00 Operation...................................................................................................132
9.4.1
Operation stop mode.................................................................................................................132
9.4.2
Asynchronous serial interface (UART) mode ............................................................................134
9.4.3
3-wire serial I/O mode ...............................................................................................................145
CHAPTER 10 INTERRUPT FUNCTIONS................................................................................................149
10.1 Interrupt Function Types.........................................................................................................149
10.2 Interrupt Sources and Configuration.....................................................................................149
10.3 Interrupt Function Control Registers.....................................................................................152
10.4 Interrupt Processing Operation..............................................................................................158
10.4.1
Non-maskable interrupt request acceptance operation.............................................................158
10.4.2
Maskable interrupt request acceptance operation.....................................................................161
10.4.3
Nesting processing....................................................................................................................163
10.4.4
Interrupt request reserve...........................................................................................................165
CHAPTER 11 STANDBY FUNCTION .....................................................................................................167
11.1 Standby Function and Configuration.....................................................................................167
11.1.1
Standby function........................................................................................................................167