Datasheet

Section 18 Timer RG
Page 656 of 982 REJ09B0465-0300 Rev. 3.00
Sep 17, 2010
H8S/20103, H8S/20203, H8S/20223, H8S/20115, H8S/20215, H8S/20235 Group
(2) Examples of Phase Counting Mode Operation
Figures 18.13 to 18.16 show examples of phase counting mode operation, and tables 18.6 to 18.9
summarize the TRGCNT increment/decrement conditions.
Table 18.6 Increment/Decrement Conditions in Phase Counting Mode Operation Example
1 (TRGCNTCR = H'FF)
TRGCNTCR Set Value TCLKA TCLKB Operation
CNTEN7 1 Low level
Increment
CNTEN6 1
High level
CNTEN5 1 High level
CNTEN4 1
Low level
CNTEN3 1
High level Decrement
CNTEN2 1 Low level
CNTEN1 1
Low level
CNTEN0 1 High level
[Legend]
: Rising edge
: Falling edge
Decrement
Increment
TCLKB
TCLKA
Figure 18.13 Phase Counting Mode Operation Example 1 (TRGCNTCR = H'FF)