20
8.5.2
8.5.3
8.5.4
8.5.5
Notes on Using 16-Bit Timer/Event Counter ...............................................................
Operation as PWM output..................................................................................................
Operation as pulse width measurement............................................................................
Operation as external event counter .................................................................................
Operation as square wave output......................................................................................
190
192
195
196
197
8.6
CHAPTER 9 8-BIT TIMER/EVENT COUNTER ..............................................................................
9.1
Function of 8-Bit Timer/Event Counter.........................................................................
9.1.1
8-bit timer/event counter mode ..........................................................................................
9.1.2
16-bit timer/event counter mode ........................................................................................
9.2
Configuration of 8-Bit Timer/Event Counter ................................................................
9.3
Registers Controlling 8-Bit Timer/Event Counter .......................................................
9.4
Operation of 8-Bit Timer/Event Counter.......................................................................
9.4.1
8-bit timer/event counter mode ..........................................................................................
9.4.2
16-bit timer/event counter mode ........................................................................................
9.5
Notes on Using 8-Bit Timer/Event Counters ...............................................................
199
199
199
201
202
206
211
211
215
219
CHAPTER 10 WATCH TIMER ........................................................................................................
10.1 Functions of Watch Timer ..............................................................................................
10.2 Configuration of Watch Timer........................................................................................
10.3 Registers Controlling Watch Timer...............................................................................
10.4 Operation of Watch Timer ..............................................................................................
10.4.1
Operation as watch timer ...................................................................................................
10.4.2
Operation as interval timer.................................................................................................
221
221
222
222
226
226
227
CHAPTER 11 WATCHDOG TIMER ................................................................................................
11.1 Functions of Watchdog Timer .......................................................................................
11.2 Configuration of Watchdog Timer.................................................................................
11.3 Registers Controlling Watchdog Timer ........................................................................
11.4 Operation of Watchdog Timer........................................................................................
11.4.1
Operation as watchdog timer .............................................................................................
11.4.2
Operation as interval timer.................................................................................................
229
229
230
232
235
235
236
CHAPTER 12 CLOCK OUTPUT CONTROL CIRCUIT ..................................................................
12.1 Function of Clock Output Control Circuit....................................................................
12.2 Configuration of Clock Output Control Circuit ...........................................................
12.3 Registers Controlling Clock Output Function.............................................................
237
237
238
238
CHAPTER 13 BUZZER OUTPUT CONTROL CIRCUIT ................................................................
13.1 Function of Buzzer Output Control Circuit..................................................................
13.2 Configuration of Buzzer Output Control Circuit .........................................................
13.3 Registers Controlling Buzzer Output Function...........................................................
241
241
241
242
CHAPTER 14 A/D CONVERTER ....................................................................................................
14.1 Function of A/D Converter..............................................................................................
14.2 Configuration of A/D Converter.....................................................................................
14.3 Registers Controlling A/D Converter ............................................................................
245
245
245
248