Download Print this page

Renesas M16C/50 Series User Manual page 263

Advertisement

M16C/5L Group, M16C/56 Group
14.3.6
Repeat Transfer Mode
In repeat transfer mode, when the DMAi transfer counter underflows, it is reloaded with the value of the
DMAi transfer counter reload register and DMA transfer continues. Figure 14.4 shows an Operation
Example in Repeat Transfer Mode.
Repeat Transfer Mode
Bus
CPU
DMAS bit
TCRi register
Undefined
IR bit
DMAE bit
i = 0 to 3
DMAS, DMAE: Bits in the DMiCON register
IR: Bit in the DMiIC register
The above assumes the following:
The TCRi register value is 02h (there are three transfers).
Figure 14.4
Operation Example in Repeat Transfer Mode
R01UH0127EJ0110 Rev.1.10
Sep 01, 2011
DMA
CPU
When a transfer begins, the DMAS bit becomes 0.
02h
01h
Reload
Set to 1 by a program.
DMA
CPU
DMA
Underflow
00h
Set to 0 by an interrupt request acknowledgement
CPU
DMA
CPU
02h
01h
or by a program.
Page 226 of 803
14. DMAC

Advertisement

loading