CHAPTER 6 DMA FUNCTIONS (DMA CONTROLLER)
148
User’s Manual U14492EJ3V0UD
Address
FFFFF0E0H
<7>
TC0
DCHC0
6
0
5
0
4
0
<3>
MLE0
<2>
INIT0
<1>
STG0
<0>
E00
Initial value
00H
FFFFF0E2H
TC1
DCHC1
0
0
0
MLE1
INIT1
STG1
E11
00H
FFFFF0E4H
TC2
DCHC2
0
0
0
MLE2
INIT2
STG2
E22
00H
FFFFF0E6H
TC3
DCHC3
0
0
0
MLE3
INIT3
STG3
E33
00H
Bit Position
Bit Name
Function
7
TCn
This status bit indicates whether DMA transfer through DMA channel n has ended or not.
This bit is read-only. It is set to 1 when DMA transfer ends and cleared (to 0) when it is
read.
0: DMA transfer had not ended.
1: DMA transfer had ended.
3
MLEn
When this bit is set to 1 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 request is the
DMARQn signal (internal signal) or an interrupt from the on-chip peripheral I/O (hardware
DMA), the DMA transfer request can be accepted even when the TCn bit is not read.
When the next DMA transfer request is the setting of the STGn bit to 1 (software DMA),
the DMA transfer request can be accepted by reading and clearing the TCn bit to 0.
When this bit is cleared to 0 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, DMA transfer is forcibly terminated.
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 terminated by means of setting the INITn bit to 1 or by NMI input.
0: DMA transfer disabled
1: DMA transfer enabled
Caution
Do not clear the Enn bit to 0 to cancel DMA transfer during DMA transfer.
Remark
n = 0 to 3
Содержание V850E/IA1 mPD703116
Страница 2: ...2 User s Manual U14492EJ3V0UD MEMO...