12
Preliminary User’s Manual U16035EJ1V0UM
5.6.2 System clock and CPU clock switching procedure ........................................................................ 103
CHAPTER 6 16-BIT TIMER/EVENT COUNTER 0 .......................................................................... 104
6.1 Functions of 16-Bit Timer/Event Counter 0 ........................................................................... 104
6.2 Configuration of 16-Bit Timer/Event Counter 0 .................................................................... 105
6.3 Registers to Control 16-Bit Timer/Event Counter 0 .............................................................. 108
6.4 Operations of 16-Bit Timer/Event Counter 0 ......................................................................... 114
6.4.1 Interval timer operations ................................................................................................................ 114
6.4.2 PPG output operations .................................................................................................................. 116
6.4.3 Pulse width measurement operations ........................................................................................... 117
6.4.4 External event counter operation .................................................................................................. 124
6.4.5 Square-wave output operation ...................................................................................................... 125
6.5 Cautions for 16-Bit Timer/Event Counter 0 ........................................................................... 128
CHAPTER 7 8-BIT TIMER/EVENT COUNTERS 50 AND 51 .......................................................... 132
7.1 Functions of 8-Bit Timer/Event Counters 50 and 51 ............................................................ 132
7.2 Configurations of 8-Bit Timer/Event Counters 50 and 51 .................................................... 134
7.3 Registers to Control 8-Bit Timer/Event Counters 50 and 51 ............................................... 135
7.4 Operations of 8-Bit Timer/Event Counters 50 and 51 ........................................................... 140
7.4.1 Interval timer (8-bit) operation ....................................................................................................... 140
7.4.2 External event counter operation .................................................................................................. 144
7.4.3 Square-wave output (8-bit resolution) operation ........................................................................... 145
7.4.4 8-bit PWM output operation ........................................................................................................... 146
7.4.5 Interval timer (16-bit) operation ..................................................................................................... 149
7.5 Cautions for 8-Bit Timer/Event Counters 50 and 51 ............................................................. 150
CHAPTER 8 WATCH TIMER ............................................................................................................ 152
8.1 Functions of Watch Timer ....................................................................................................... 152
8.2 Configuration of Watch Timer ................................................................................................ 153
8.3 Register to Control Watch Timer ............................................................................................ 154
8.4 Operations of Watch Timer ..................................................................................................... 155
8.4.1 Watch timer operation ................................................................................................................... 155
8.4.2 Interval timer operation .................................................................................................................. 155
CHAPTER 9 WATCHDOG TIMER .................................................................................................... 157
9.1 Functions of Watchdog Timer ................................................................................................ 157
9.2 Configuration of Watchdog Timer .......................................................................................... 159
9.3 Registers to Control Watchdog Timer ................................................................................... 159
9.4 Watchdog Timer Operations ................................................................................................... 163
9.4.1 Watchdog timer operation ............................................................................................................. 163
9.4.2 Interval timer operation .................................................................................................................. 164
CHAPTER 10 CLOCK OUTPUT/BUZZER OUTPUT CONTROLLER ............................................ 165
10.1 Functions of Clock Output/Buzzer Output Controller ........................................................ 165