BAT32G1x9 user manual | Chapter 24 Enhanced DMA
1032 / 1149
Rev.1.02
24.4.3
Repeat pattern
The transmission data for 1 boot is 1 to 65535 bytes. Specify the transmission source or transmission
destination as the repeating area, and the number of transmissions is 1 to 65535 times. Once the specified
number of transfers has ended, the DMCTj (j=0~39) register and the address designated as the repeat region
are initialized and then repeated. When the RPTINT bit of the DMACRj register is "1" (interrupt is allowed) and
the data transfer of the DMACTRj register becomes "0", In the course of DMA operation, an interrupt request
for the corresponding startup source is generated to the interrupt controller, and the DMAENi0 of the
corresponding DMAENi (i=0~4) register is generated ~DMAENi7 position "0" (no boot). When the RPTINT bit
of the DMACRj register is "0" (interrupt is prohibited), even if the data transfer of the DMACTj register becomes
"0", There is also no interrupt request, and the DMAENi0~DMAENi7 bits do not change to "0".
The repeating mode register function and data transfer are shown in Table 24-8and Figure 24-20.
Table 24-8 Register functions for repeat mode
Register name
symbol
function
DMA block size register
j
DMBLSj
The size of the data block to be transferred by 1
boot
DMA transmit times register
j
DMACTj
The number of times the data was transferred
The number of DMA transfers reloads register
j
DMRLDj
Reload the value of this register into the DMACT
register.
(Initialization of the number of data transfers)
DMA source address register
j
DMSARj
The address of the source from which the data is
transmitted
DMA destination address register
j
DMDARj
The address to which the data is transmitted
Note j = 0
~
39