Datasheet
Rev.6.00 Oct.28.2004 page 183 of 1016
REJ09B0138-0600H
7.3.4 DMA Control Register (DMACR)
DMACR is a 16-bit readable/writable register that controls the operation of each DMAC channel. In full address mode,
DMACRA and DMACRB have different functions.
DMACR is initialized to H'0000 by a reset, and in hardware standby mode.
DMACRA
Bit :1514131211109 8
DMACRA : DTSZ SAID SAIDE BLKDIR BLKE — — —
Initial value : 0 0 0 0 0 0 0 0
R/W : R/W R/W R/W R/W R/W R/W R/W R/W
DMACRB
Bit:76543210
DMACRB : — DAID DAIDE — DTF3 DTF2 DTF1 DTF0
Initial value : 0 0 0 0 0 0 0 0
R/W : R/W R/W R/W R/W R/W R/W R/W R/W
Bit 15—Data Transfer Size (DTSZ): Selects the size of data to be transferred at one time.
Bit 15
DTSZ Description
0 Byte-size transfer (Initial value)
1 Word-size transfer
Bit 14—Source Address Increment/Decrement (SAID)
Bit 13—Source Address Increment/Decrement Enable (SAIDE): These bits specify whether source address register
MARA is to be incremented, decremented, or left unchanged, when data transfer is performed.
Bit 14
SAID
Bit 13
SAIDE Description
0 0 MARA is fixed (Initial value)
1 MARA is incremented after a data transfer
• When DTSZ = 0, MARA is incremented by 1 after a transfer
• When DTSZ = 1, MARA is incremented by 2 after a transfer
1 0 MARA is fixed
1 MARA is decremented after a data transfer
• When DTSZ = 0, MARA is decremented by 1 after a transfer
• When DTSZ = 1, MARA is decremented by 2 after a transfer
Bit 12—Block Direction (BLKDIR)