Motorola MC68340 manual MOVE.W #$1DB1,DMACCR1A0 END

Models: MC68340

1 441
Download 441 pages 2.45 Kb
Page 295
Image 295

Freescale Semiconductor, Inc.

Freescale Semiconductor, Inc.

* Source address is equal to $6001, and odd address.

MOVE.L SARADD,DMASAR1(A0)

*Initialize destination operand address

*Destination address is equal to $10000, and even address.

MOVE.L DARADD,DMADAR1(A0)

*Initialize the byte transfer count register

*The number of bytes to be transferred is $14 or 20 bytes

MOVE.L NUMBYTE,DMABTC1(A0)

*Channel control reg. init. and Start DMA transfers

*No interrupts are enabled, source (read) cycle.

*Increment the source and destination addresses.

*Source size is byte, destination size is word. REQ is external cycle steal.

*dual-address transfers, start the DMA transfers.

MOVE.W #$1DB1,DMACCR1(A0)

***************************************************************************

END

***************************************************************************

MOTOROLAMC68340 USER’S MANUAL6- 45

For More Information On This Product,

Go to: www.freescale.com

Page 295
Image 295
Motorola MC68340 manual MOVE.W #$1DB1,DMACCR1A0 END