HD6433682 ETC, HD6433682 Datasheet - Page 196

no-image

HD6433682

Manufacturer Part Number
HD6433682
Description
Renesas 16-Bit Single-Chip Microcomputer H8 Family/H8/300H Tiny Series
Manufacturer
ETC
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
HD6433682A45HV
Manufacturer:
RENESAS/瑞萨
Quantity:
20 000
Part Number:
HD6433682C74HV
Manufacturer:
HITACHI/日立
Quantity:
20 000
12.5.2
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 12.10. To set up this output:
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 TVEG1 and TVEG0 in TCRV1 and set TRGE to select the falling edge of the TRGV
4. Set bits CKS2 to CKS0 in TCRV0 and bit ICKS0 in TCRV1 to select the desired clock source.
5. After these settings, a pulse waveform will be output without further software intervention,
Rev. 3.00, 05/03, page 166 of 472
TCORB.
and to 0 at compare match with TCORB.
input.
with a delay determined by TCORA from the TRGV input, and a pulse width determined by
(TCORB – TCORA).
Pulse Output with Arbitrary Pulse Width and Delay from TRGV Input
H'FF
TCORB
TCORA
H'00
TRGV
TMOV
Figure 12.10 Example of Pulse Output Synchronized to TRGV Input
TCNTV value
Compare match A
Compare match B
clears TCNTV and
halts count-up
Counter cleared
Compare match A
Compare match B
clears TCNTV and
halts count-up
Time

Related parts for HD6433682