CHAPTER 6 DMA FUNCTIONS (DMA CONTROLLER)
116
User’s Manual U15195EJ5V0UD
6.3.6 DMA disable status register (DDIS)
This register holds the contents of the Enn bit of the DCHCn register when DMA is forcibly suspended (during NMI
input) (n = 0 to 3).
This register is read-only, in 8-bit units.
Be sure to set bits 7 to 4 to 0. If they are set to 1, the operation is not guaranteed.
Address
FFFFF0F0H
7
0
DDIS
6
0
5
0
4
0
3
CH3
2
CH2
1
CH1
0
CH0
After reset
00H
Bit position
Bit name
Function
3 to 0
CH3 to CH0
Reflects the value of the Enn bit of the DCHCn register when DMA is forcibly suspended
(during NMI input). The contents of this register are held until the next forcible
suspension (NMI input) or until the system is reset.
6.3.7 DMA restart register (DRST)
The ENn bit of the DRST register and the Enn bit of the DCHCn register are linked to each other, the Enn bit can
also be used to set the enabling or disabling of DMA transfer independently for four channels, and the DRST register
can be used to set the enabling or disabling of DMA transfer for four channels at the same time (n = 0 to 3).
This register can be read/written in 8-bit units.
Be sure to set bits 7 to 4 to 0. If they are set to 1, the operation is not guaranteed.
Address
FFFFF0F2H
7
0
DRST
6
0
5
0
4
0
3
EN3
2
EN2
1
EN1
0
EN0
After reset
00H
Bit position
Bit name
Function
3 to 0
EN3 to EN0
Specifies whether DMA transfer via DMA channel n is to be enabled or disabled. This
bit is cleared to 0 when DMA transfer is completed in accordance with the terminal count
output (n = 0 to 3).
It is also cleared to 0 when DMA transfer is forcibly terminated by setting the INITn bit of
the DCHCn register to 1 or by NMI input.
0: DMA transfer disabled
1: DMA transfer enabled