14
User’s Manual U15798EJ2V0UD
5.4.4 Divider ..........................................................................................................................................
121
5.4.5 When no subsystem clocks are used ...........................................................................................
121
5.5 Clock Generator Operations ..................................................................................................
122
5.5.1 Main system clock operations ......................................................................................................
123
5.5.2 Subsystem clock operations .........................................................................................................
124
5.6 Changing System Clock and CPU Clock Settings ...............................................................
125
5.6.1 Time required for switchover between system clock and CPU clock ............................................
125
5.6.2 System clock and CPU clock switching procedure .......................................................................
126
CHAPTER 6 16-BIT TIMER/EVENT COUNTER 0 .........................................................................
127
6.1 Outline of 16-Bit Timer/Event Counter 0 ...............................................................................
127
6.2 Functions of 16-Bit Timer/Event Counter 0 ..........................................................................
127
6.3 Configuration of 16-Bit Timer/Event Counter 0 ...................................................................
128
6.4 Registers to Control 16-Bit Timer/Event Counter 0 .............................................................
131
6.5 Operations of 16-Bit Timer/Event Counter 0 ........................................................................
137
6.5.1 Interval timer operations ...............................................................................................................
137
6.5.2 PPG output operations .................................................................................................................
139
6.5.3 Pulse width measurement operations ..........................................................................................
141
6.5.4 External event counter operation .................................................................................................
148
6.5.5 Square-wave output operation .....................................................................................................
149
6.6 16-Bit Timer/Event Counter 0 Cautions ................................................................................
151
CHAPTER 7 8-BIT TIMERS A0, B0 ................................................................................................
156
7.1 8-Bit Timer A0, B0 Functions .................................................................................................
156
7.2 8-Bit Timer A0, B0 Configuration ..........................................................................................
157
7.3 Registers to Control 8-Bit Timer A0, B0 ...............................................................................
162
7.4 8-Bit Timer A0, B0 Operation .................................................................................................
166
7.4.1 Operation as 8-bit timer counter ...................................................................................................
166
7.4.2 Operation as 16-bit timer counter .................................................................................................
174
7.4.3 Operation as carrier generator .....................................................................................................
181
7.4.4 Operation as PWM output (timer B0 only) ....................................................................................
185
7.5 8-Bit Timer A0, B0 Cautions ..................................................................................................
187
CHAPTER 8 8-BIT TIMER/EVENT COUNTERS 50, 51 ...............................................................
188
8.1 Outline of 8-Bit Timer/Event Counters 50 and 51 ................................................................
188
8.2 Functions of 8-Bit Timer/Event Counters 50 and 51 ...........................................................
188
8.3 Configuration of 8-Bit Timer/Event Counters 50 and 51 .....................................................
190
8.4 Registers to Control 8-Bit Timer/Event Counters 50 and 51 ..............................................
191
8.5 Operation of 8-Bit Timer/Event Counters 50 and 51 ............................................................
195
8.5.1 Interval timer operation .................................................................................................................
195
8.5.2 External event counter operation .................................................................................................
198
8.5.3 Square-wave output operation .....................................................................................................
199
8.5.4 PWM output operation ..................................................................................................................
200
8.6 8-Bit Timer/Event Counter 50 and 51 Cautions ....................................................................
203
CHAPTER 9 WATCH TIMER ...........................................................................................................
204
9.1 Outline of Watch Timer ..........................................................................................................
204
9.2 Watch Timer Functions ..........................................................................................................
204