– xvi –
10-15
10-16
10-17
10-18
10-19
10-20
10-21
10-22
10-23
10-24
10-25
10-26
10-27
10-28
10-29
10-30
10-31
10-32
10-33
10-34
10-35
10-36
10-37
10-38
10-39
10-40
10-41
10-42
10-43
10-44
10-45
10-46
10-47
10-48
10-49
10-50
10-51
10-52
10-53
10-54
10-55
10-56
10-57
One-Shot Timer Operation ..................................................................................................
Compare Operation in 8-Bit Operating Mode .....................................................................
Compare Operation in 16-Bit Operating Mode ...................................................................
TM2 Clearance after Match Detection ................................................................................
Capture Operation in 8-Bit Operating Mode .......................................................................
Capture Operation in 16-Bit Operating Mode .....................................................................
TM2 Clearance after Capture Operation ............................................................................
Example of Generation of Unnecessary Interrupt Request by Compare Register...........
Toggle Output Operation .....................................................................................................
PWM Pulse Output (BW2 = 0) ............................................................................................
PWM Pulse Output (BW2 = 1) ............................................................................................
Example of PWM Output Using TM2W...............................................................................
Example of PWM Output When CR20W = FFFFH ............................................................
Example of Compare Register (CR20W) Rewrite ..............................................................
Example of 100% Duty With PWM Output .........................................................................
When Timer/Counter 2 is Stopped During PWM Signal Output........................................
Example of PPG Output Using TM2 ...................................................................................
Example of PPG Output When CR20 = CR21 ...................................................................
Example of Compare Register Rewrite...............................................................................
Example of 100% Duty With PPG Output ..........................................................................
Example of Extended PPG Output Cycle ...........................................................................
When Timer/Counter 2 is Stopped During PPG Signal Output .........................................
Interval Timer Operation (1) Timing ....................................................................................
Control Register Settings for Interval Timer Operation (1) ................................................
Interval Timer Operation (1) Setting Procedure .................................................................
Interval Timer Operation (1) Interrupt Request Servicing..................................................
Interval Timer Operation (2) Timing ....................................................................................
Control Register Settings for Interval Timer Operation (2) ................................................
Interval Timer Operation (2) Setting Procedure .................................................................
Pulse Width Measurement Timing ......................................................................................
Control Register Settings for Pulse Width Measurement ..................................................
Pulse Width Measurement Setting Procedure....................................................................
Interrupt Request Servicing that Calculates Pulse Width ..................................................
Example of Timer/Counter 2 PWM Signal Output..............................................................
Control Register Settings for PWM Output Operation .......................................................
PWM Output Setting Procedure ..........................................................................................
Changing PWM Output Duty ...............................................................................................
Example of Timer/Counter 2 PPG Signal Output...............................................................
Control Register Settings for PPG Output Operation.........................................................
PPG Output Setting Procedure ...........................................................................................
Changing PPG Output Duty ................................................................................................
External Event Counter Operation (Single Edge) ..............................................................
Control Register Settings for External Event Counter Operation ......................................
299
301
302
303
304
305
306
307
310
313
314
315
315
316
317
318
320
321
322
323
324
325
326
327
328
328
329
330
331
332
333
334
334
335
336
337
338
339
340
342
343
344
345
LIST OF FIGURES (6/11)
Figure No.
Title
Page