DMA Controller

Table 5-12. DCMDx Bit Definitions (Sheet 1 of 2)

Bit

31

 

INCSRCADDR

 

Reset

0

 

 

 

 

0x4000_02xC

 

30

29

28

27

26

25

24

INCTRGADDR

 

FLOWSRC

 

FLOWTRG

 

reserved

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

0

0

0

0

0

0

0

Bits

 

 

 

Name

 

31

 

 

INCSRCADDR

30

INCTRGADDR

29

FLOWSRC

28

FLOWTRG

27:23

22

STARTIRQEN

21

ENDIRQEN

20:19

 

 

 

DMA Command Register (DCMDx)

 

 

 

 

DMA Controller

 

 

 

 

23

22

21

20

19

18

17

16

15

14

13

12

11

10

9

8

7

6

5

4

3

2

1

0

 

STARTIRQEN

 

ENDIRQEN

 

 

ENDIAN

 

 

WIDTH

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

reserved

 

SIZE

 

 

reserved

 

 

 

 

 

LENGTH

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Description

 

 

 

 

 

 

 

 

 

 

Source Address Increment Setting. (read / write).

0 – Do not increment Source Address

1 – Increment Source Address at the end of each internal bus transaction initiation by DCMD[SIZE]

If the source address is an internal peripheral’s FIFO address or external IO address, the address is not incremented on each successive access. In this case, this bit must be 0.

Target Address Increment Setting. (read / write).

0 – Do not increment Target Address

1 – Increment Target Address at the end of each internal bus transaction initiated by DCMD[SIZE]

If the target address is an internal peripheral’s FIFO address or external IO address, the address is incremented on each successive access. In this cases the bit must be 0.

Flow Control by the source. (read / write).

0 – Start the data transfer immediately.

1 – Wait for a request signal before initiating the data transfer.

Indicates the flow control of the source. This bit must be ‘1’ if the source is an onchip or external peripheral.

If either the DCMD[FLOWSRC] or DCMD[FLOWTRG] bit is set, the current DMA does not initiate a transfer until it receives a request. Do not set both the DCMD[FLOWTRG] and DCMD[FLOWSRC] bit to1.

Flow Control by the target. (read / write).

0 – Start the data transfer immediately.

1 – Wait for a request signal before initiating the data transfer.

Indicates the Flow Control of the target. This bit must be ‘1’ if the target is an onchip or external peripheral.

If either the DCMD[FLOWSRC] or DCMD[FLOWTRG] bit is set, the current DMA does not initiate a transfer until it receives a request. Do not set both the DCMD[FLOWTRG] and DCMD[FLOWSRC] bit to 1.

reserved

Start Interrupt Enable (read / write), Reserved for the No-Descriptor Fetch Mode

0 – no interrupt is generated.

1 – Allow interrupt to pass when the descriptor (i.e., 4 words) for the channel are loaded. Sets DCSR[StartIntr] interrupt for the channel when this descriptor is loaded.

End Interrupt Enable (read / write).

0 – no interrupt is generated.

1 – set DCSR[EndIntr] interrupt for the channel when DCMD[LENGTH] is decreased to zero.

Indicates that the interrupt is enabled as soon as the data transfer is completed.

reserved

5-24

Intel® PXA255 Processor Developer’s Manual

Page 174
Image 174
Intel PXA255 manual DCMDx Bit Definitions Sheet 1, Incsrcaddr, Endian Width, Size, Length