HD6412332 RENESAS [Renesas Technology Corp], HD6412332 Datasheet - Page 575

no-image

HD6412332

Manufacturer Part Number
HD6412332
Description
Renesas 16-Bit Single-Chip Microcomputer H8S Family/H8S/2300 Series
Manufacturer
RENESAS [Renesas Technology Corp]
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
HD6412332
Manufacturer:
SMD
Quantity:
6
Part Number:
HD6412332FC25V
Manufacturer:
ALLEGRO
Quantity:
4 340
Part Number:
HD6412332VFC25V
Manufacturer:
RENESAS/瑞萨
Quantity:
20 000
11.3.3
Sample Setup Procedure for Normal Pulse Output: Figure 11.4 shows a sample procedure for
setting up normal pulse output.
TPU setup
Port and
PPG setup
TPU setup
Normal Pulse Output
Figure 11.4 Setup Procedure for Normal Pulse Output (Example)
Set counting operation
Select interrupt request
Set initial output data
Select TGR functions
Select output trigger
Enable pulse output
Normal PPG output
Compare match?
Set TGRA value
Set next pulse
Set next pulse
output data
output data
Start count
Yes
No
[1]
[2]
[3]
[4]
[5]
[6]
[7]
[8]
[9]
[10]
[1] Set TIOR to make TGRA an output
[2] Set the PPG output trigger period.
[3] Select the counter clock source
[4] Enable the TGIA interrupt in TIER.
[5] Set the initial output values in
[6] Set the DDR and NDER bits for the
[7] Select the TPU compare match
[8] Set the next pulse output values in
[9] Set the CST bit in TSTR to 1 to
[10] At each TGIA interrupt, set the next
Rev.4.00 Sep. 07, 2007 Page 545 of 1210
compare register (with output
disabled).
with bits TPSC2 to TPSC0 in TCR.
Select the counter clear source
with bits CCLR1 and CCLR0.
The DTC or DMAC can also be
set up to transfer data to NDR.
PODR.
pins to be used for pulse output to 1.
event to be used as the output
trigger in PCR.
NDR.
start the TCNT counter.
output values in NDR.
REJ09B0245-0400

Related parts for HD6412332