English
Language : 

HD6473032F16 Datasheet, PDF (246/847 Pages) Renesas Technology Corp – Hardware Manual Renesas 16-Bit Single-Chip Microcomputer H8 Family/H8/300H Series
Section 8 DMA Controller
Figure 8.7 shows a sample setup procedure for repeat mode.
Repeat mode
Set source and
destination addresses
1
Set transfer count
2
Read DTCR
3
Set DTCR
4
1. Set the source and destination addresses
in MAR and IOAR. The transfer direction
is determined automatically from the
activation source.
2. Set the transfer count in both ETCRH
and ETCRL.
3. Read DTCR while the DTE bit is cleared
to 0.
4. Set the DTCR bits as follows.
• Select the DMAC activation source
with bits DTS2 to DTS0.
• Clear the DTIE bit to 0 and set the
RPE bit to 1 to select repeat mode.
• Select MAR increment or decrement
with the DTID bit.
• Select byte size or word size with the
DTSZ bit.
• Set the DTE bit to 1 to enable the
transfer.
Repeat mode
Figure 8.7 Repeat Mode Setup Procedure (Example)
Rev. 3.00 Mar 21, 2006 page 216 of 814
REJ09B0302-0300