English
Language : 

HD64F3642AHV Datasheet, PDF (252/551 Pages) Renesas Technology Corp – Old Company Name in Catalogs and Other Documents
Section 9 Timers
With these settings, a waveform is output without further software intervention, with a period
determined by TCORA and a pulse width determined by TCORB.
H'FF
TCORA
TCORB
H'00
TCNTV
Counter cleared
TMOV
Figure 9.11 Pulse Output Example
Single-Shot Output with Arbitrary Pulse Width and Delay from TRGV Input: The trigger
function can be used to output a pulse with an arbitrary pulse width at an arbitrary delay from the
TRGV input, as shown in figure 9.12. To set up this output:
• Set bit CCLR1 to 1 and clear bit CCLR0 to 0 in TCRV0 so that TCNTV will be cleared by
compare match with TCORB.
• Set bits OS3 to OS0 to 0110 in TCSRV so that the output will go to 1 at compare match with
TCORA and to 0 at compare match with TCORB.
• Set bits TVEG1 and TVEG0 to 10 in TCRV1 and set TRGE to 1 to select the falling edge of
the TRGV input.
• Set bits CKS2 to CKS0 in TCRV0 and bit ICKS0 in TCRV1 to select the desired clock source.
Rev. 6.00 Sep 12, 2006 page 230 of 526
REJ09B0326-0600