English
Language : 

HD64F38602R Datasheet, PDF (198/552 Pages) Renesas Technology Corp – Renesas 16-Bit Single-Chip Microcomputer
Section 10 Timer W
10.4 Operation
The timer W has the following operating modes.
• Normal Operation
• PWM Operation
10.4.1 Normal Operation
TCNT performs free-running or periodic counting operations. After a reset, TCNT is set as a free-
running counter. When the CTS bit in TMRW is set to 1, TCNT starts incrementing the count.
When the count overflows from H'FFFF to H'0000, the OVF flag in TSRW is set to 1. If the OVIE
in TIERW is set to 1, an interrupt request is generated. Figure 10.2 shows free-running counting.
TCNT value
H'FFFF
H'0000
Time
CTS bit
OVF
Flag cleared
by software
Figure 10.2 Free-Running Counter Operation
Rev. 3.00 May 15, 2007 Page 166 of 516
REJ09B0152-0300