DMAC
M30240 Group
Rev.1.00 Sep 24, 2003 Page 256 of 360
2.7.1.7 Switching functions
(a) Switching between one-shot transfer and repeated transfer
One-shot transfer refers to a mode in which the DMA is disabled after the transfer counter underflows.
Repeated transfer refers to a mode in which a reload is carried out after the transfer counter under-
flows. The reload is carried out for the transfer counter and on the address pointer subjected to forward
direction.
The following are examples of DMAC operation.
2.7.1.8 Registers related to DMAC
Figure 2.100 shows the memory map of DMAC-related registers, and Figures 2.101 and 2.102 show
DMAC-related registers.
Figure 2.100: Memory map of DMAC related registers
• One-shot transfer mode Section 2.7.2.1
• Repeat transfer mode Section 2.7.2.2
0020
16
DMA0 source pointer SAR0
0021
16
0022
16
0023
16
0024
16
DMA0 destination pointer DAR0
0025
16
0026
16
0027
16
0028
16
DMA0 transfer TCR0
0029
16
002C
16
DMA0 control register DM0CON
0030
16
DMA1 source pointer SAR1
0031
16
0032
16
0033
16
0034
16
DMA1 destination pointer DAR1
0035
16
0036
16
0037
16
0038
16
DMA1 transfer counter TCR1
0039
16
0031
16
DMA1 control register DM1CON
004B
16
DMA0 interrupt control register DM0IC
004C
16
DMA1 interrupt control register DM1MC
00B8
16
DMA0 request cause select register DM0SL
00B9
16
00BA
16
DM1 request cause select register DM1SL