
– xv –
9-12
Example of the Case Where the External Event Counter Does Not Distinguish
Between One Valid Edge Input and No Valid Edge Input .................................................
Methods of Enabling the External Event Counter to Distinguish No Valid Edge Input ....
Compare Operation in 8-Bit Operating Mode .....................................................................
Compare Operation in 16-Bit Operating Mode ...................................................................
TM1 Clearance after Match Detection ................................................................................
Capture Operation in 8-Bit Operating Mode .......................................................................
Capture Operation in 16-Bit Operating Mode .....................................................................
TM1 Clearance after Capture Operation ............................................................................
Example of Generation of Unnecessary Interrupt Request by Compare Register...........
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 (When CR11 is Used as Compare Register) ..........
Control Register Settings for Interval Timer Operation (2) ................................................
Interval Timer Operation (2) Setting Procedure .................................................................
Pulse Width Measurement Timing (When CR11 is Used as Capture Register) ..............
Control Register Settings for Pulse Width Measurement ..................................................
Pulse Width Measurement Setting Procedure....................................................................
Interrupt Request Servicing that Calculates Pulse Width ..................................................
Operation When Counting is Started ..................................................................................
Example of the Case Where the External Event Counter Does Not Distinguish
Between One Valid Edge Input and No Valid Edge Input .................................................
To Distinguish Whether One or No Valid Edge Has Been Input
with External Event Counter ................................................................................................
Example of Generation of Unnecessary Interrupt Request by Compare Register...........
255
256
257
258
258
259
260
261
262
263
264
265
265
266
267
267
268
269
270
270
272
9-13
9-14
9-15
9-16
9-17
9-18
9-19
9-20
9-21
9-22
9-23
9-24
9-25
9-26
9-27
9-28
9-29
9-30
9-31
9-32
9-33
273
9-34
274
275
9-35
10-1
10-2
10-3
10-4
10-5
10-6
10-7
10-8
10-9
10-10
10-11
10-12
10-13
Timer/Counter 2 Block Diagram ..........................................................................................
Timer Control Register 1 (TMC1) Format ...........................................................................
Prescaler Mode Register 1 (PRM1) Format .......................................................................
Capture/Compare Control Register 2 (CRC2) Format .......................................................
Example of Generation of Unnecessary Interrupt Request by Compare Register...........
Timer Output Control Register (TOC) Format ....................................................................
Basic Operation in 8-Bit Operating Mode (BW2 = 0).........................................................
Basic Operation in 16-Bit Operating Mode (BW2 = 1).......................................................
TM2 Clearance by Match With Compare Register (CR20/CR21) .....................................
TM2 Clearance after Capture Operation ............................................................................
Clear Operation When CE2 Bit is Cleared (to 0) ...............................................................
Timer/Counter 2 External Event Count Timing...................................................................
Example of the Case Where the External Event Counter Does Not
Distinguish Between One Valid Edge Input and No Valid Edge Input..............................
Methods of Enabling the External Event Counter to Distinguish No Valid Edge Input ....
282
285
286
287
288
289
291
292
293
293
294
295
297
298
10-14
LIST OF FIGURES (5/11)
Figure No.
Title
Page