
User’s Manual U11919EJ4V0UD
12
6.4.4
16-bit timer counter 20 readout ................................................................................................... 96
6.5
Notes on Using 16-Bit Timer 20 ................................................................................................97
6.5.1
Restrictions when rewriting 16-bit compare register 20 .............................................................. 97
CHAPTER 7 8-BIT TIMER/EVENT COUNTER 00 ...............................................................................99
7.1
Functions of 8-Bit Timer/Event Counter 00 .............................................................................99
7.2
Configuration of 8-Bit Timer/Event Counter 00.....................................................................100
7.3
Registers Controlling 8-Bit Timer/Event Counter 00 ............................................................101
7.4
Operation of 8-Bit Timer/Event Counter 00 ...........................................................................103
7.4.1
Operation as interval timer ........................................................................................................ 103
7.4.2
Operation as external event counter ......................................................................................... 105
7.4.3
Operation as square wave output ............................................................................................. 106
7.5
Notes on Using 8-Bit Timer/Event Counter 00 ......................................................................108
CHAPTER 8 WATCHDOG TIMER........................................................................................................109
8.1
Functions of Watchdog Timer ................................................................................................109
8.2
Configuration of Watchdog Timer ..........................................................................................110
8.3
Registers Controlling Watchdog Timer .................................................................................111
8.4
Operation of Watchdog Timer.................................................................................................113
8.4.1
Operation as watchdog timer .................................................................................................... 113
8.4.2
Operation as interval timer ........................................................................................................ 114
CHAPTER 9 SERIAL INTERFACE 00.................................................................................................115
9.1
Functions of Serial Interface 00 ..............................................................................................115
9.2
Configuration of Serial Interface 00 .......................................................................................115
9.3
Registers Controlling Serial Interface 00 ...............................................................................119
9.4
Operation of Serial Interface 00 ..............................................................................................126
9.4.1
Operation stop mode................................................................................................................. 126
9.4.2
Asynchronous serial interface (UART) mode ............................................................................ 128
9.4.3
3-wire serial I/O mode ............................................................................................................... 140
CHAPTER 10 INTERRUPT FUNCTIONS.............................................................................................144
10.1 Interrupt Function Types.........................................................................................................144
10.2 Interrupt Sources and Configuration .....................................................................................144
10.3 Registers Controlling Interrupt Function...............................................................................147
10.4 Interrupt Servicing Operation .................................................................................................153
10.4.1
Non-maskable interrupt request acknowledgement operation .................................................. 153
10.4.2
Maskable interrupt request acknowledgement operation.......................................................... 155
10.4.3
Nesting processing.................................................................................................................... 157
10.4.4
Interrupt request hold ................................................................................................................ 159
CHAPTER 11 STANDBY FUNCTION ...................................................................................................160
11.1 Standby Function and Configuration.....................................................................................160