HD64336901G Renesas Technology, HD64336901G Datasheet - Page 175

no-image

HD64336901G

Manufacturer Part Number
HD64336901G
Description
(HD64xxx Series) 16-BIT MICROCONTROLLER
Manufacturer
Renesas Technology
Datasheet
11.5
11.5.1
Figure 11.9 shows an example of output of pulses with an arbitrary duty cycle.
1. Set bits CCLR1 and CCLR0 in TCRV0 so that TCNTV will be cleared by compare match with
2. Set bits OS3 to OS0 in TCSRV so that the output will go to 1 at compare match with TCORA
3. Set bits CKS2 to CKS0 in TCRV0 and bit ICKS0 in TCRV1 to select the desired clock source.
4. With these settings, a waveform is output without further software intervention, with a period
TCORA.
and to 0 at compare match with TCORB.
determined by TCORA and a pulse width determined by TCORB.
Timer V Application Examples
Pulse Output with Arbitrary Duty Cycle
H'FF
TCORA
TCORB
H'00
TMOV
TCNTV value
Figure 11.9 Pulse Output Example
Counter cleared
Rev. 1.00, 11/03, page 147 of 376
Time

Related parts for HD64336901G