CHAPTER 6 DMA FUNCTIONS (DMA CONTROLLER)
115
User’s Manual U15195EJ5V0UD
Address
FFFFF0E0H
<7>
TC0
DCHC0
6
0
5
0
4
0
<3>
MLE0
<2>
INIT0
<1>
STG0
<0>
E00
After reset
00H
Address
FFFFF0E2H
TC1
DCHC1
0
0
0
MLE1
INIT1
STG1
E11
After reset
00H
Address
FFFFF0E4H
TC2
DCHC2
0
0
0
MLE2
INIT2
STG2
E22
After reset
00H
Address
FFFFF0E6H
TC3
DCHC3
0
0
0
MLE3
INIT3
STG3
E33
After reset
00H
<7>
6
5
4
<3>
<2>
<1>
<0>
<7>
6
5
4
<3>
<2>
<1>
<0>
<7>
6
5
4
<3>
<2>
<1>
<0>
Bit position
Bit name
Function
7
TCn
This status bit indicates whether DMA transfer through DMA channel n has completed or
not.
This bit is read-only. It is set to 1 during the last DMA transfer and cleared (to 0) when it is
read.
0: DMA transfer had not completed.
1: DMA transfer had completed.
3
MLEn
When this bit is set to 1 when DMA transfer is complete (at terminal count output), the Enn
bit is not cleared to 0 and the DMA transfer enable state is retained.
When the next DMA transfer start factor is an interrupt from the on-chip peripheral I/O
(hardware DMA), the DMA transfer request can be acknowledged even when the TCn bit
is not read. When the next DMA transfer start factor is the setting of the STGn bit to 1
(software DMA), the DMA transfer start factor can be acknowledged by reading and
clearing the TCn bit to 0.
When this bit is cleared to 0 when DMA transfer is complete (at terminal count output), the
Enn bit is cleared to 0 and the DMA transfer disable state is entered. At the next DMA
transfer request, the setting of the Enn bit to 1 and the reading of the TCn bit are required.
2
INITn
When this bit is set to 1 during DMA transfer or while DMA is suspended, DMA transfer is
forcibly terminated (refer to
6.12.1 Restrictions on forcible termination of DMA
transfer
).
1
STGn
If this bit is set to 1 in the DMA transfer enable state (TCn bit = 0, Enn bit = 1), DMA
transfer is started.
0
Enn
Specifies whether DMA transfer through DMA channel n is to be enabled or disabled. This
bit is cleared to 0 when DMA transfer ends. It is also cleared to 0 when DMA transfer is
forcibly suspended or terminated by means of setting the INITn bit to 1 or by NMI input.
0: DMA transfer disabled
1: DMA transfer enabled
Caution Once the Enn bit is set to 1, do not set the bit again until the number of
DMA transfers set in the DBCn register is complete or DMA transfer has
been forcibly terminated by setting the INITn bit.
Remark
n = 0 to 3
Содержание PD703114
Страница 2: ...2 User s Manual U15195EJ5V0UD MEMO ...