beautypg.com

3 dma request to channel map registers (drcmrx), 4 dma descriptor address registers (ddadrx), Dma request to channel map registers (drcmrx) -20 – Intel PXA255 User Manual

Page 170: Dma descriptor address registers (ddadrx) -20, Drcmrx bit definitions -20

background image

5-20

Intel® PXA255 Processor Developer’s Manual

DMA Controller

5.3.3

DMA Request to Channel Map Registers (DRCMRx)

DRCMRx, shown in

Table 5-8

, map each DMA request to a channel. Refer to

Table 5-13

for

details.

This is a read/write register. Ignore reads from reserved bits. Write zeros to reserved bits.

5.3.4

DMA Descriptor Address Registers (DDADRx)

The DDADRx) (see

Table 5-9

) contain the memory address of the next descriptor for a specific

channel. On power up, the bits in this register are undefined. The address must be aligned to a 16-
byte boundary. This means that bits [3:1] of the address are reserved and must be read and written
as zeroes. DDADR must not contain the address of any other internal peripheral register or DMA
register.

DDADR is reserved if the channel is No-Descriptor Fetch Mode.

Table 5-8. DRCMRx Bit Definitions

Physical Address

0x4000_0100 - 0x4000_019C

DMA Request to Channel Map

Register (DRCMRx)

DMA Controller

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

reserved

M

A

PVLD

reser

ved

CHLNUM

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:8

reserved

7

MAPVLD

Map Valid (read / write).

0 –

Request is unmapped

1 – Request is mapped to a channel indicated by DRCMRx[3:0]

Determines whether the request is mapped to a channel or not. If the bit is set to a 1, the
request is mapped to a channel indicated in DRCMRx[3:0]. If the bit is 0, the request is
unmapped. This bit can also be used to mask the request.

6:4

reserved

3:0

CHLNUM

Channel Number (read / write).

Indicates the channel number if DRCMR[MAPVLD] is set to a 1.

Do not map two active requests to the same channel. It produces unpredictable results.
Refer to

Section 5.1.3

to review the channel priority scheme.