Intel PXA26X User Manual

Page 182

Advertising
background image

5-24

Intel® PXA26x Processor Family Developer’s Manual

Direct Memory Access Controller

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

0x4000_02xC

DMA Command Register (DCMDx)

DMAC

Bit

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9

8

7

6

5

4

3

2

1

0

IN

C

S

RC

AD

DR

IN

C

T

RG

AD

DR

FLO

WSR

C

FLO

WTR

G

R

ESE

R

V

ED

S

T

AR

T

IRQ

EN

EN

DI

RQE

N

R

ESE

R

V

ED

R

ESE

R

V

ED

EN

DI

AN

SIZE

WID

T

H

R

ESE

R

V

ED

LE

N

G

TH

Reset

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

Bits

Name

Description

31

INCSRCADDR

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.

30

INCTRGADDR

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.

29

FLOWSRC

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.

28

FLOWTRG

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.

27:23

Reserved – Read as unknown and must be written as zero

22

STARTIRQEN

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.

21

ENDIRQEN

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.

Advertising