欢迎访问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文件第131页浏览型号AN1063D的Datasheet PDF文件第132页浏览型号AN1063D的Datasheet PDF文件第133页浏览型号AN1063D的Datasheet PDF文件第134页浏览型号AN1063D的Datasheet PDF文件第136页浏览型号AN1063D的Datasheet PDF文件第137页浏览型号AN1063D的Datasheet PDF文件第138页浏览型号AN1063D的Datasheet PDF文件第139页  
Freescale Semiconductor, Inc.  
4.4.3 SIM40 Example Configuration Code  
The following code is an example configuration sequence for the SIM40 module.  
***************************************************************************  
* MC68340 basic SIM40 register initialization example code:  
* This code is used to initialize the MC68340's internal SIM40 registers,  
* providing basic functions for operation.  
* It includes chip select programming for external devices.  
* This code would be programmed beginning at offset $0 into ROM which is  
* relocated to address $60000 by the initialization code.  
* The SSP_VEC and RST_VEC vectors used to initialize the system stack  
* pointer and initial PC, respectively, are located at offset $0 after  
* reset.  
***************************************************************************  
* equates  
***************************************************************************  
SSP_INIT  
MBAR  
EQU $10000  
Stack pointer initial value - top of RAM  
EQU $0003FF00 Address of Module Base Address Reg.  
MODBASE EQU $FFFFF000 Default Module Base address value  
****************************************  
* SIM40 register offsets from MBAR base address  
MCR  
EQU $00  
EQU $04  
EQU $21  
EQU $40  
EQU $44  
EQU $48  
EQU $4c  
EQU $50  
EQU $54  
EQU $58  
EQU $5c  
SYNCR  
SYPCR  
CSAM0  
CSBAR0  
CSAM1  
CSBAR1  
CSAM2  
CSBAR2  
CSAM3  
CSBAR3  
***************************************************************************  
* Reset vectors  
* These two vectors should be located at addresses $0 and $4 after a processor  
* hardware reset.  
***************************************************************************  
ORG $60000  
SSP_VEC DC.L SSP_INIT  
RST_VEC DC.L INIT340  
Supervisor stack pointer - initial value  
Reset vector pointing to initialization code  
4- 38  
MC68340 USER’S MANUAL  
MOTOROLA  
For More Information On This Product,  
Go to: www.freescale.com  
 复制成功!