MC68HC708XL36 FREESCALE [Freescale Semiconductor, Inc], MC68HC708XL36 Datasheet - Page 120

no-image

MC68HC708XL36

Manufacturer Part Number
MC68HC708XL36
Description
HCMOS Microcontroller Unit
Manufacturer
FREESCALE [Freescale Semiconductor, Inc]
Datasheet
DMA
MC68HC708XL36
120
The following procedure shows how to program a DMA transfer on a
selected channel:
1. In DMA control register 1 (DC1), disable the channel by clearing
2. In the source address registers (DxSH and DxSL), write the
3. In the destination address registers (DxDH and DxDL), write the
4. In the DMA channel x control register (DxC), make the following
5. In the channel x DMA block length register (DxBL), write the
6. In the DMA status and control register (DSC), make the following
7. In DMA control register 1 (DC1), make the following selections
Freescale Semiconductor, Inc.
For More Information On This Product,
the TECx bit. (See
source base address. (See
page 143.)
destination base address. (See
Registers
selections (see
a. Select increment, decrement, or remain static for the source
b. Select 8-bit or 16-bit data by writing to the byte/word control
c. Assign a DMA channel to the DMA transfer source input by
number of bytes to transfer. (See
on page 146.) For word transfers, the block length number is two
times the number of words.
selections (see
a. Enable or disable looping of the source and destination
b. Select DMA service request/CPU interrupt request priority by
c. Enable or disable DMA transfers during wait mode by writing
(see
and destination addresses by writing to the source/destination
address control bits, SDC[3:0].
bit, BWC.
writing to the DMA transfer source bits, DTS[2:0].
addresses by writing to the loop enable bit, Lx.
writing to the DMA priority bit, DMAP.
to the DMA wait enable bit, DMAWE.
DMA Control Register 1
Go to: www.freescale.com
on page 145.)
DMA Status and Control Register
DMA
DMA Channel Control Registers
DMA Control Register 1
DMA Source Address Registers
on page 133):
DMA Destination Address
DMA Block Length Registers
on page 133.)
on page 140):
on page 136):
MOTOROLA
10-dma_b
on

Related parts for MC68HC708XL36