
R01UH0336EJ0102 Rev.1.02
Page 227 of 1538
Jul 17, 2014
V850E2/PG4-L
Section 5 DMA Module
5.5.19
DTSn (n = 0 to 7): DMA Transfer Status Register
This 8-bit register is for checking the state of DMA transfer control.
Access
This register is readable and writable in 1- and 8-bit units.
Address
DTS7: FFFF 748A
H
, DTS6: FFFF 745A
H
, DTS5: FFFF 742A
H
,
DTS4: FFFF 73FA
H
, DTS3: FFFF 73CA
H
, DTS2: FFFF 739A
H
,
DTS1: FFFF 736A
H
, DTS0: FFFF 733A
H
Initial value
00
H
This register is initialized by a reset from any source.
7
6
5
4
3
2
1
0
DTSnTC
DTSnDT
0
0
DTSnER
DTSnDR
DTSnSR
DTSnDTE
R/W
R/W
R
R
R
R
R/W
R/W
Bit Position
Bit Name
Function
7
DTSnTC
DMA transfer end status
This bit indicates that DMA transfer has been completed. To clear this bit, write
0 to it after reading it as 1. We recommend using bit-manipulation instructions
such as CLR1 when writing to this bit.
0: DMA transfer not completed
1: DMA transfer completed
6
DTSnDT
DMA transfer status
This bit indicates that a DMA transfer request has been acknowledged and that
DMA transfer is in progress. It is not set (to 1) when a DMA transfer request is
simply issued. This bit is cleared (to 0) on completion of DMA transfer. If the
DTSnDTE bit is 0, this bit can be cleared by the user (and writing to this bit can
proceed at the same time as writing to the DTSnDTE bit).
0: DMA transfer request acknowledged
1: DMA transfer in progress
3
DTSnER
DMA transfer error flag
This bit indicates that a DMA transfer error has occurred in channel n. It is
cleared (to 0) when the DTRC0ERR bit of the DTRC0 register is cleared. Note
that this bit is read-only.
0: No DMA transfer error
1: DMA transfer error
2
DTSnDR
Hardware DMA transfer request flag
This bit indicates the presence or absence of a hardware DMA transfer request
for channel n. The bit is cleared (to 0) when the hardware DMA transfer request
is negated. The state of the DTSnDTE bit does not affect the operation of this
bit. It is not set (to 1) by a software DMA transfer request, or by a hardware
DMA transfer request when a software DMA transfer request is currently
selected in the DMA transfer request selection register. Note that this bit is read-
only.
0: No hardware DMA transfer request
1: Hardware DMA transfer request
1
DTSnSR
Software DMA transfer request
This bit selects a software DMA transfer request. If the software DMA transfer
request is currently selected in the DMA transfer request select register, writing
1 to this bit and to the DTSnDTE bit starts DMA transfer. This bit is automatically
cleared (to 0) when DMA transfer has been completed. Writing 0 to this bit
suspends DMA transfer.
0: No software DMA transfer request
1: Software DMA transfer request