347
Chapter 26 DMA Controller
2.DMA Controller (DMAC) Registers
[Bit 23] DTCR (DTC-reg. Reload)*: Transfer count register reload specification
This bit controls reloading of the transfer count register for the corresponding channel.
If reload operation is enabled by this bit, the count register value is restored to its initial value after the transfer
is completed then DMAC stops and then waiting starts for new transfer requests (an activation request by
STRG or IS setting). If this bit is 1, the DENB bit is not cleared.
DENB=0 or DMAE=0 must be set to stop the transfer. In either case, the transfer is forcibly stopped.
If reloading of the counter is disabled, a single shot operation occurs. In single shot operation, operation stops
after the transfer is completed even if reload is specified in the address register. The DENB bit is also cleared
in this case.
• When reset: Initialized to 0.
• This bit is readable and writable.
[Bit 22] SADR (Source-ADdr.-reg. Reload)*: Transfer source address register reload specification
This bit controls reloading of the transfer source address register for the corresponding channel.
If this bit enables the reload operation, the transfer source address register value is restored to its initial value
after the transfer is completed.
If reloading of the counter is disabled, a single shot operation occurs. In single shot operation, operation stops
after the transfer is completed even if reload is specified in the address register. The address register value
also stops in this case while the initial value is being reloaded.
If this bit disables the reload operation, the address register value when the transfer is completed is the
address to be accessed next to the final address. When address increment is specified, the next address is an
incremented address.
• When reset: Initialized to 0.
• This bit is readable and writable.
DTCR Function
0 Disables transfer count register reloading (initial value)
1 Enables transfer count register reloading.
SADR Function
0 Disables transfer source address register reloading. (initial value)
1 Enables transfer source address register reloading.