03.01.2015 Views

80C186EC/80C188EC Microprocessor User's Manual

80C186EC/80C188EC Microprocessor User's Manual

80C186EC/80C188EC Microprocessor User's Manual

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

DIRECT MEMORY ACCESS UNIT<br />

Register Name:<br />

Register Mnemonic:<br />

Register Function:<br />

DMA Control Register<br />

DxCON<br />

Controls DMA channel parameters.<br />

15 0<br />

D<br />

M<br />

E<br />

M<br />

D<br />

D<br />

E<br />

C<br />

D<br />

I<br />

N<br />

C<br />

S<br />

M<br />

E<br />

M<br />

S<br />

D<br />

E<br />

C<br />

S<br />

I<br />

N<br />

C<br />

T<br />

C<br />

I<br />

N<br />

T<br />

S<br />

Y<br />

N<br />

1<br />

S<br />

Y<br />

N<br />

0<br />

P<br />

I<br />

D<br />

R<br />

Q<br />

C<br />

H<br />

G<br />

S<br />

T<br />

R<br />

T<br />

W<br />

O<br />

R<br />

D<br />

A1180-0A<br />

Bit<br />

Mnemonic<br />

Bit Name<br />

Reset<br />

State<br />

Function<br />

CHG<br />

Change<br />

Start Bit<br />

X<br />

Set CHG to enable modifying the STRT bit.<br />

STRT<br />

Start DMA<br />

Channel<br />

0 Set STRT to arm the DMA channel. The STRT bit can<br />

be modified only when the CHG bit is set.<br />

WORD<br />

Word<br />

Transfer<br />

Select<br />

X<br />

Set WORD to select word transfers; clear WORD to<br />

select byte transfers. The 8-bit bus versions of the<br />

device ignore the WORD bit.<br />

NOTE:<br />

Reserved register bits are shown with gray shading. Reserved bits must be written to a<br />

logic zero to ensure compatibility with future Intel products.<br />

Figure 10-13. DMA Control Register (Continued)<br />

10.2.1.3 Selecting the Source of DMA Requests<br />

DMA requests can come from either an internal source or an external source. The internal requests<br />

are further divided into Timer 2 requests and serial port requests.<br />

Internal DMA requests are selected by setting the IDRQ bit in the DMA Control Register (see<br />

Figure 10-13 on page 10-20) for the channel. The DMA channel ignores its DRQ pin when internal<br />

requests are programmed. Similarly, the DMA channel responds only to the DRQ pin (and<br />

ignores internal requests) when external requests are selected.<br />

10-22

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!