Timer G Application Example - Renesas H8 Series Hardware Manual

8-bit single-chip microcomputer
Hide thumbs Also See for H8 Series:
Table of Contents

Advertisement

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.
Input capture
input signal
H'FF
Input capture
register GF
Input capture
register GR
H'00
Figure 9.16 Timer G Application Example
TCG
Counter cleared
Rev. 7.00 Mar 10, 2005 page 299 of 652
Section 9 Timers
REJ09B0042-0700

Advertisement

Table of Contents
loading

Table of Contents