English
Language : 

HD6413007F20 Datasheet, PDF (247/798 Pages) Renesas Technology Corp – Hardware Manual Renesas 16-Bit Single-Chip Microcomputer H8 Family/H8/300H Series
7. DMA Controller
For the detailed settings see section 7.2.4, Data Transfer Control Registers (DTCR).
Figure 7.7 shows a sample setup procedure for repeat mode.
Repeat mode
1. Set the source and destination addresses in MAR
and IOAR. The transfer direction is determined
automatically from the activation source.
Set source and
destination addresses
1
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.
Set transfer count
2
• 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.
Read DTCR
3
Set DTCR
4
Repeat mode
Figure 7.7 Repeat Mode Setup Procedure (Example)
Rev.5.00 Sep. 12, 2007 Page 217 of 764
REJ09B0396-0500