Section 9 Timers
Rev. 7.00 Mar 10, 2005 page 299 of 652
REJ09B0042-0700
9.5.6 Timer G Application Example
Using timer G, it is possible to measure the high and low widths of the input capture input signal
as absolute values. For this purpose, CCLR1 and CCLR0 in TMG should both be set to 1.
Figure 9.16 shows an example of the operation in this case.
Counter clearedTCG
H'FF
H'00
Input capture
input signal
Input capture
register GF
Input capture
register GR
Figure 9.16 Timer G Application Example