Motorola MCF5282 DMA Status Registers DSR0-DSR3, 4describes DSRn fields, DSR n Field Descriptions

Models: MCF5282 MCF5281

1 816
Download 816 pages 28.97 Kb
Page 350
Image 350

DMA Controller Module Programming Model

 

 

Table 16-3. DCRn Field Descriptions (continued)

 

 

 

Bits

Name

Description

 

 

 

15

AT

AT is available only if MPARK[BCR24BIT] = 1.

 

 

DMA acknowledge type. Controls whether acknowledge information is provided for the entire transfer or only

 

 

the final transfer.

 

 

0 Entire transfer. DMA acknowledge information is displayed anytime the channel is selected as the result of

 

 

an external request.

 

 

1 Final transfer (when BCR reaches zero). For dual-address transfer, the acknowledge information is displayed

 

 

for both the read and write cycles.

 

 

 

14–0

Reserved, should be cleared.

 

 

 

16.4.5 DMA Status Registers (DSR0–DSR3)

In response to an event, the DMA controller writes to the appropriate DSRn bit, Figure 16-9.Only a write to DSRn[DONE] results in action.

Field

Reset

R/W Address

7

6

5

4

3

2

1

0

— CE BES BED — REQ BSY DONE

0000_0000

R/W

IPSBAR + 0x110, 0x150, 0x190, 0x1D0

Figure 16-9. DMA Status Registers (DSRn)

Table 16-4describes DSRn fields.

 

 

 

Table 16-4. DSRn Field Descriptions

 

 

 

 

Bits

Name

 

Description

 

 

 

7

Reserved, should be cleared.

 

 

 

6

CE

Configuration error. Occurs when BCR, SAR, or DAR does not match the requested transfer size, or if BCR

 

 

= 0 when the DMA receives a start condition. CE is cleared at hardware reset or by writing a 1 to DSR[DONE].

 

 

0

No configuration error exists.

 

 

1

A configuration error has occurred.

 

 

 

5

BES

Bus error on source

 

 

0

No bus error occurred.

 

 

1

The DMA channel terminated with a bus error during the read portion of a transfer.

 

 

 

4

BED

Bus error on destination

 

 

0

No bus error occurred.

 

 

1

The DMA channel terminated with a bus error during the write portion of a transfer.

 

 

 

3

Reserved, should be cleared.

 

 

 

2

REQ

Request

 

 

0

No request is pending or the channel is currently active. Cleared when the channel is selected.

 

 

1

The DMA channel has a transfer remaining and the channel is not selected.

 

 

 

 

16-10

MCF5282 User’s Manual

MOTOROLA

Page 350
Image 350
Motorola MCF5282, MCF5281 user manual DMA Status Registers DSR0-DSR3, 4describes DSRn fields, DSR n Field Descriptions