
–
iv
–
7.6
Changing System Clock and CPU Clock Settings ....................................................
7.6.1
Time required for switchover between system clock and CPU clock............................
7.6.2
System clock and CPU clock switching procedure ........................................................
125
125
126
CHAPTER 8 16-BIT TIMER/EVENT COUNTER ..........................................................................
127
8.1
8.2
8.3
8.4
16-Bit Timer/Event Counter Functions ......................................................................
16-Bit Timer/Event Counter Configuration ...............................................................
16-Bit Timer/Event Counter Control Registers .........................................................
16-Bit Timer/Event Counter Operations ....................................................................
8.4.1
Interval timer operations ...............................................................................................
8.4.2
PWM output operations ................................................................................................
8.4.3
PPG output operations ..................................................................................................
8.4.4
Pulse width measurement operations ...........................................................................
8.4.5
External event counter operation ..................................................................................
8.4.6
Square-wave output operation.......................................................................................
8.4.7
One-shot pulse output operation ...................................................................................
16-Bit Timer/Event Counter Operating Precautions.................................................
129
131
135
144
144
146
149
150
157
159
161
165
8.5
CHAPTER 9 8-BIT TIMER/EVENT COUNTERS 1 AND 2 ..........................................................
169
9.1
8-Bit Timer/Event Counters 1 and 2 Functions.........................................................
9.1.1
8-bit timer/event counter mode .....................................................................................
9.1.2
16-bit timer/event counter mode ...................................................................................
8-Bit Timer/Event Counters 1 and 2 Configurations ................................................
8-Bit Timer/Event Counters 1 and 2 Control Registers ...........................................
8-Bit Timer/Event Counters 1 and 2 Operations ......................................................
9.4.1
8-bit timer/event counter mode .....................................................................................
9.4.2
16-bit timer/event counter mode ...................................................................................
Cautions on 8-Bit Timer/Event Counters 1 and 2.....................................................
169
169
172
174
178
183
183
188
192
9.2
9.3
9.4
9.5
CHAPTER 10 WATCH TIMER .....................................................................................................
195
10.1 Watch Timer Functions ...............................................................................................
10.2 Watch Timer Configuration ........................................................................................
10.3 Watch Timer Control Registers ..................................................................................
10.4 Watch Timer Operations .............................................................................................
10.4.1
Watch timer operation...................................................................................................
10.4.2
Interval timer operation .................................................................................................
195
196
196
200
200
200
CHAPTER 11 WATCHDOG TIMER .............................................................................................
201
11.1 Watchdog Timer Functions.........................................................................................
11.2 Watchdog Timer Configuration ..................................................................................
11.3 Watchdog Timer Control Registers............................................................................
11.4 Watchdog Timer Operations.......................................................................................
11.4.1
Watchdog timer operation .............................................................................................
11.4.2
Interval timer operation .................................................................................................
201
203
204
207
207
208