欢迎访问ic37.com |
会员登录 免费注册
发布采购

AN1063D 参数 Datasheet PDF下载

AN1063D图片预览
型号: AN1063D
PDF下载: 下载PDF文件 查看货源
内容描述: 集成的处理器与DMA USERA ????手册 [Integrated Processor with DMA User’s Manual]
分类和应用:
文件页数/大小: 441 页 / 2488 K
品牌: FREESCALE [ Freescale ]
 浏览型号AN1063D的Datasheet PDF文件第284页浏览型号AN1063D的Datasheet PDF文件第285页浏览型号AN1063D的Datasheet PDF文件第286页浏览型号AN1063D的Datasheet PDF文件第287页浏览型号AN1063D的Datasheet PDF文件第289页浏览型号AN1063D的Datasheet PDF文件第290页浏览型号AN1063D的Datasheet PDF文件第291页浏览型号AN1063D的Datasheet PDF文件第292页  
Freescale Semiconductor, Inc.  
• If using internal request, select the amount of bus bandwidth to be used by the DMA  
(BB field).  
• Clear the S/D bit for dual-address transfer.  
Channel Status Register (CSR)  
• Clear the CSR by writing $7C into it. The DMA cannot be started until the DONE,  
BES, BED, CONF, and BRKP bits are cleared.  
Function Code Register (FCR)  
• Encode the source and destination function codes.  
Address Registers (SAR and DAR)  
• Write the source and destination addresses.  
Byte Transfer Counter (BTC)  
• Encode the number of bytes to be transferred.  
Channel Control Register (CCR)  
• Write a one to the start bit (STR) to allow the transfer to begin.  
6.9.2 DMA Channel Example Configuration Code  
The following are examples of configuration sequences for a DMA channel in single- and  
dual-addressing modes.  
***************************************************************************  
* MC68340 basic DMA channel register initialization example code.  
* This code is used to initialize the 68340's internal DMA channel  
* registers, providing basic functions for operation.  
* The code sets up channel 1 for external burst request generation,  
* single-address mode, long word size transfers.  
* Control signals are asserted on the DMA read cycle.  
***************************************************************************  
Example 1: External Burst Request Generation, Single-Address Transfers.  
***************************************************************************  
* SIM40 equates  
***************************************************************************  
MBAR  
EQU $0003FF00 Address of SIM40 Module Base Address Reg.  
MODBASE EQU $FFFFF000 SIM40 MBAR address value  
***************************************************************************  
* DMA Channel 1 equates  
DMACH1  
DMAMCR1 EQU $0  
EQU $780  
Offset from MBAR for channel 1 regs  
MCR for channel 1  
* Channel 1 register offsets from channel 1 base address  
6- 38  
MC68340 USER’S MANUAL  
MOTOROLA  
For More Information On This Product,  
Go to: www.freescale.com  
 复制成功!