Добавил:
Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
ARM PrimeCell single master DMA controller technical reference manual.pdf
Источник:
Скачиваний:
14
Добавлен:
23.08.2013
Размер:
1.11 Mб
Скачать

Programmer’s Model

3.3Summary of PrimeCell SMDMAC registers

The PrimeCell SMDMAC registers are shown in Table 3-1.

Table 3-1 PrimeCell SMDMAC register summary

Address

Type

Width

Reset

Name

Description

value

 

 

 

 

 

 

 

 

 

 

 

SMDMAC base

Read

2

0x0

DMACIntStatus

This register provides the

+ 0x000

 

 

 

 

interrupt status of the PrimeCell

 

 

 

 

 

SMDMAC. A HIGH bit

 

 

 

 

 

indicates that a specific DMA

 

 

 

 

 

channel interrupt is active.

 

 

 

 

 

 

SMDMAC base

Read

2

0x0

DMACIntTCStatus

This register is used to determine

+ 0x004

 

 

 

 

whether an interrupt was

 

 

 

 

 

generated due to the transaction

 

 

 

 

 

completing (terminal count). A

 

 

 

 

 

HIGH bit indicates that the

 

 

 

 

 

transaction completed.

 

 

 

 

 

 

SMDMAC base

Write

2

-

DMACIntTCClear

When writing to this register,

+ 0x008

 

 

 

 

each data bit that is HIGH causes

 

 

 

 

 

the corresponding bit in the

 

 

 

 

 

DMACIntTCStatus and

 

 

 

 

 

DMACRawIntTCStatus registers

 

 

 

 

 

to be cleared. Data bits that are

 

 

 

 

 

LOW have no effect on the

 

 

 

 

 

corresponding bit in the register.

 

 

 

 

 

 

SMDMAC base

Read

2

0x0

DMACIntErrorStatus

This register is used to determine

+ 0x00C

 

 

 

 

whether an interrupt was

 

 

 

 

 

generated due to an error being

 

 

 

 

 

generated.

 

 

 

 

 

 

SMDMAC base

Write

2

-

DMACIntErrClr

When writing to this register,

+ 0x010

 

 

 

 

each data bit that is HIGH causes

 

 

 

 

 

the corresponding bit in the

DMACIntErrorStatus and DMACRawIntErrorStatus registers to be cleared. Data bits that are LOW have no effect on the corresponding bit in the register.

3-6

Copyright © 2001 ARM Limited. All rights reserved.

ARM DDI 0218B

 

 

 

 

 

Programmer’s Model

 

 

 

Table 3-1 PrimeCell SMDMAC register summary (continued)

 

 

 

 

 

 

Address

Type

Width

Reset

Name

Description

value

 

 

 

 

 

 

 

 

 

 

 

SMDMAC base

Read

2

-

DMACRawIntTCStatus

This register provides the raw

+ 0x014

 

 

 

 

status of DMA terminal count

 

 

 

 

 

interrupts prior to masking. A

 

 

 

 

 

HIGH bit indicates that the

 

 

 

 

 

interrupt request is active prior to

 

 

 

 

 

masking.

 

 

 

 

 

 

SMDMAC base

Read

2

-

DMACRawIntErrorStatus

This register provides the raw

+ 0x018

 

 

 

 

status of DMA error interrupts

 

 

 

 

 

prior to masking. A HIGH bit

 

 

 

 

 

indicates that the interrupt

 

 

 

 

 

request is active prior to

 

 

 

 

 

masking.

 

 

 

 

 

 

SMDMAC base

Read

2

0x0

DMACEnbldChns

This register shows which DMA

+ 0x01C

 

 

 

 

channels are enabled. A HIGH

 

 

 

 

 

bit indicates that a DMA channel

 

 

 

 

 

is enabled.

 

 

 

 

 

 

SMDMAC base

Read/write

16

0x0000

DMACSoftBReq

This register allows DMA burst

+ 0x020

 

 

 

 

requests to be generated by

 

 

 

 

 

software.

 

 

 

 

 

 

SMDMAC base

Read/write

16

0x0000

DMACSoftSReq

This register allows DMA single

+ 0x024

 

 

 

 

requests to be generated by

 

 

 

 

 

software.

 

 

 

 

 

 

SMDMAC base

Read/write

16

0x0000

DMACSoftLBReq

This register allows DMA last

+ 0x028

 

 

 

 

burst requests to be generated by

 

 

 

 

 

software.

 

 

 

 

 

 

SMDMAC base

Read/write

16

0x0000

DMACSoftLSReq

This register enables SMDMAC

+ 0x02C

 

 

 

 

DMA last single requests to be

 

 

 

 

 

generated by software.

 

 

 

 

 

 

SMDMAC base

Read/write

2

0b000

DMACConfiguration

This register is used to configure

+0x030

 

 

 

 

the PrimeCell SMDMAC.

 

 

 

 

 

 

SMDMAC base

Read/write

16

0x0000

DMACSync

This register enables or disables

+ 0x34

 

 

 

 

synchronization logic for the

 

 

 

 

 

DMA request signals.

 

 

 

 

 

 

SMDMAC base

Read/write

32

0x00000000

DMACC0SrcAddr

DMA channel 0 source address.

+0x100

 

 

 

 

 

 

 

 

 

ARM DDI 0218B

 

Copyright © 2001 ARM Limited. All rights reserved.

3-7

Programmer’s Model

Table 3-1 PrimeCell SMDMAC register summary (continued)

Address

Type

Width

Reset

Name

Description

value

 

 

 

 

 

 

 

 

 

 

 

SMDMAC base

Read/write

32

0x00000000

DMACC0DestAddr

DMA channel 0 destination

+ 0x104

 

 

 

 

address.

 

 

 

 

 

 

SMDMAC base

Read/write

31

0x00000000

DMACC0LLI

DMA channel 0 linked list

+ 0x108

 

 

 

 

address.

 

 

 

 

 

 

SMDMAC base

Read/write

30

0x00000000

DMACC0Control

DMA channel 0 control.

+ 0x10C

 

 

 

 

 

 

 

 

 

 

 

SMDMAC base

Read/write

19

0x00000

DMACC0Configuration

DMA channel 0 configuration

+ 0x110

 

 

 

 

register.

 

 

 

 

 

 

SMDMAC base

Read/write

32

0x00000000

DMACC1SrcAddr

DMA channel 1 source address.

+ 0x120

 

 

 

 

 

 

 

 

 

 

 

SMDMAC base

Read/write

32

0x00000000

DMACC1DestAddr

DMA channel 1 destination

+ 0x124

 

 

 

 

address.

 

 

 

 

 

 

SMDMAC base

Read/write

31

0x00000000

DMACC1LLI

DMA channel 1 linked list

+ 0x128

 

 

 

 

address.

 

 

 

 

 

 

SMDMAC base

Read/write

30

0x00000000

DMACC1Control

DMA channel 1 control.

+ 0x12C

 

 

 

 

 

 

 

 

 

 

 

SMDMAC base

Read/write

19

0x00000

DMACC1Configuration

DMA channel 1 configuration

+ 0x130

 

 

 

 

register.

 

 

 

 

 

 

SMDMAC base

Read

8

0x81

DMACPeriphID0

Peripheral identification register

+0xFE0

 

 

 

 

bits [7:0].

 

 

 

 

 

 

SMDMAC base

Read

8

0x10

DMACPeriphID1

Peripheral identification register

+0xFE4

 

 

 

 

bits [15:8].

 

 

 

 

 

 

SMDMAC base

Read

8

0x04

DMACPeriphID2

Peripheral identification register

+0xFE8

 

 

 

 

bits [23:16].

 

 

 

 

 

 

SMDMAC base

Read

8

0x00

DMACPeriphID3

Peripheral identification register

+0xFEC

 

 

 

 

bits [31:24].

 

 

 

 

 

 

SMDMAC base

Read

8

0x0D

DMACPCellID0

PrimeCell identification register

+0xFF0

 

 

 

 

bits [7:0].

3-8

Copyright © 2001 ARM Limited. All rights reserved.

ARM DDI 0218B

 

 

 

 

 

Programmer’s Model

 

 

 

 

Table 3-1 PrimeCell SMDMAC register summary (continued)

 

 

 

 

 

 

Address

Type

Width

Reset

Name

Description

value

 

 

 

 

 

 

 

 

 

 

 

SMDMAC base

Read

8

0xF0

DMACPCellID1

PrimeCell identification register

+0xFF4

 

 

 

 

bits [15:8].

 

 

 

 

 

 

SMDMAC base

Read

8

0x05

DMACPCellID2

PrimeCell identification register

+0xFF8

 

 

 

 

bits [23:16].

 

 

 

 

 

 

SMDMAC base

Read

8

0xB1

DMACPCellID3

PrimeCell identification register

+ 0xFFC

 

 

 

 

bits [31:24].

 

 

 

 

 

 

ARM DDI 0218B

Copyright © 2001 ARM Limited. All rights reserved.

3-9