Renesas H8/3067 Series User Manual page 263

Renesas 16-bit single-chip microcomputer
Hide thumbs Also See for H8/3067 Series:
Table of Contents

Advertisement

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
Set source and
destination addresses
Set transfer count
Read DTCR
Set DTCR
Repeat mode
Figure 7.7 Repeat Mode Setup Procedure (Example)
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.
1
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
2
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.
3
4
Section 7 DMA Controller
Rev. 4.00 Jan 26, 2006 page 239 of 938
REJ09B0276-0400

Advertisement

Table of Contents
loading

This manual is also suitable for:

H8/3067H8/3066H8/3065H8/3067rf

Table of Contents