HD6433682 ETC, HD6433682 Datasheet - Page 237

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
Set reset synchronous PWM mode
<Reset synchronous PWM mode>
Figure 13.26 Example of Reset Synchronous PWM Mode Setting Procedure
Reset synchronous PWM mode
Select counter clearing source
Enable waveform output
Start counter operation
Stop counter operation
Initialize the output pin
Select counter clock
Set TCNT
Set GR
[1]
[2]
[3]
[4]
[5]
[6]
[7]
[8]
[9]
[1] Clear bit STR0 in TSTR to 0 and stop the
[2] Select the counter clock with bits TPSC2
[3] Use bits CCLR1 and CCLR0 in TCR to
[4] Select the reset synchronous PWM mode
[5] Set H'00 to TOCR.
[6] Set TCNT_0 as H'0000. TCNT1 does not
[7] GRA_0 is a cycle register. Set a cycle for
[8] Enable or disable the timer output by
[9] Set the STR bit in TSTR to 1 and start the
counter operation of TCNT_0. Set reset
synchronous PWM mode after TCNT_0
stops.
to TOSC0 in TCR. When an external
clock is selected, select the external clock
edge with bits CKEG1 and CKEG0 in
TCR.
select counter clearing source GRA_0.
with bits CMD1 and CMD0 in TFCR.
FTIOB0 to FTIOD0 and FTIOA1 to
FTIOD1 become PWM output pins
automatically.
need to be set.
GRA_0. Set the changing point timing of
the PWM output waveform for GRB_0,
GRA_1, and GRB_1.
TOER.
counter operation.
Rev. 3.00, 05/03, page 207 of 472

Related parts for HD6433682