
Preliminary User’s Manual U17473EJ1V0UD
11
5.6.2
Example of controlling high-speed Ring-OSC clock.................................................................127
5.6.3
Example of controlling subsystem clock...................................................................................129
5.6.4
Example of controlling low-speed Ring-OSC clock ..................................................................131
5.6.5
Clocks supplied to CPU and peripheral hardware....................................................................132
5.6.6
CPU clock status transition diagram ........................................................................................133
5.6.7
Condition before changing CPU clock and processing after changing CPU clock ...................138
5.6.8
Time required for switchover of CPU clock and main system clock .........................................139
5.6.9
Conditions before clock oscillation is stopped..........................................................................140
5.6.10
Peripheral Hardware and Source Clocks .................................................................................141
CHAPTER 6 16-BIT TIMER/EVENT COUNTERS 00 AND 01 ........................................................ 142
6.1
Functions of 16-Bit Timer/Event Counters 00 and 01 ........................................................ 142
6.2
Configuration of 16-Bit Timer/Event Counters 00 and 01.................................................. 143
6.3
Registers Controlling 16-Bit Timer/Event Counters 00 and 01 ......................................... 148
6.4
Operation of 16-Bit Timer/Event Counters 00 and 01 ........................................................ 159
6.4.1
Interval timer operation ............................................................................................................159
6.4.2
PPG output operations.............................................................................................................162
6.4.3
Pulse width measurement operations ......................................................................................165
6.4.4
External event counter operation .............................................................................................173
6.4.5
Square-wave output operation .................................................................................................176
6.4.6
One-shot pulse output operation ..............................................................................................178
6.5
Cautions for 16-Bit Timer/Event Counters 00 and 01......................................................... 183
CHAPTER 7 8-BIT TIMER/EVENT COUNTERS 50 AND 51 .......................................................... 186
7.1
Functions of 8-Bit Timer/Event Counters 50 and 51 .......................................................... 186
7.2
Configuration of 8-Bit Timer/Event Counters 50 and 51.................................................... 188
7.3
Registers Controlling 8-Bit Timer/Event Counters 50 and 51 ........................................... 190
7.4
Operations of 8-Bit Timer/Event Counters 50 and 51 ........................................................ 195
7.4.1
Operation as interval timer .......................................................................................................195
7.4.2
Operation as external event counter ........................................................................................197
7.4.3
Square-wave output operation .................................................................................................198
7.4.4
PWM output operation .............................................................................................................199
7.5
Cautions for 8-Bit Timer/Event Counters 50 and 51........................................................... 203
CHAPTER 8 8-BIT TIMERS H0 AND H1 .......................................................................................... 204
8.1
Functions of 8-Bit Timers H0 and H1................................................................................... 204
8.2
Configuration of 8-Bit Timers H0 and H1 ............................................................................ 204
8.3
Registers Controlling 8-Bit Timers H0 and H1.................................................................... 208
8.4
Operation of 8-Bit Timers H0 and H1 ................................................................................... 213
8.4.1
Operation as interval timer/square-wave output.......................................................................213
8.4.2
Operation as PWM output mode ..............................................................................................216
8.4.3
Carrier generator mode operation (8-bit timer H1 only)............................................................222
CHAPTER 9 WATCH TIMER ............................................................................................................... 229
9.1
Functions of Watch Timer..................................................................................................... 229
9.2
Configuration of Watch Timer .............................................................................................. 230
9.3
Register Controlling Watch Timer........................................................................................ 231