English
Language : 

HD64F3039F18 Datasheet, PDF (258/710 Pages) Renesas Technology Corp – Renesas 16-Bit Single-Chip Microcomputer H8 Family / H8/300H Series
Section 8 16-Bit Integrated Timer Unit (ITU)
8.4.2 Basic Functions
Counter Operation
When one of bits STR0 to STR4 is set to 1 in the timer start register (TSTR), the timer counter
(TCNT) in the corresponding channel starts counting. The counting can be free-running or
periodic.
Sample setup procedure for counter: Figure 8.14 shows a sample procedure for setting up a
counter.
Counter setup
Select counter clock
1
Type of counting?
No
Yes
Periodic counting
Free-running counting
Select counter clear source 2
Select output compare
register function
3
Set period
4
Start counter
5
Start counter
5
Periodic counter
Free-running counter
Figure 8.14 Counter Setup Procedure (Example)
Rev.3.00 Mar. 26, 2007 Page 234 of 682
REJ09B0353-0300