欢迎访问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文件第338页浏览型号AN1063D的Datasheet PDF文件第339页浏览型号AN1063D的Datasheet PDF文件第340页浏览型号AN1063D的Datasheet PDF文件第341页浏览型号AN1063D的Datasheet PDF文件第343页浏览型号AN1063D的Datasheet PDF文件第344页浏览型号AN1063D的Datasheet PDF文件第345页浏览型号AN1063D的Datasheet PDF文件第346页  
Freescale Semiconductor, Inc.  
The following steps are channel specific:  
Clock Select Register (CSR)  
• Select the receiver and transmitter clock.  
Mode Register 1 (MR1)  
• If desired, program operation of receiver ready-to-send (RxRTS bit).  
• Select receiver-ready or FIFO-full notification (R/F bit).  
• Select character or block error mode (ERR bit).  
• Select parity mode and type (PM and PT bits).  
• Select number of bits per character (B/Cx bits).  
Mode Register 2 (MR2)  
• Select the mode of channel operation (CMx bits).  
• If desired, program operation of transmitter ready-to-send (TxRTS bit).  
• If desired, program operation of clear-to-send (TxCTS bit).  
• Select stop-bit length (SBx bits).  
Command Register (CR)  
• Enable the receiver and transmitter.  
7.5.2 Serial Module Example Configuration Code  
The following code is an example of a configuration sequence for the serial module.  
***************************************************************************  
* MC68340 basic serial module register initialization example code.  
* This code is used to initialize the 68340's internal serial module registers,  
* providing basic functions for operation.  
* It sets up serial channel A for communication with a 9600 baud terminal.  
* Note: All serial module registers must be accessed as bytes.  
***************************************************************************  
***************************************************************************  
* equates  
***************************************************************************  
MBAR  
EQU $0003FF00 Address of SIM40 Module Base Address Reg.  
MODBASE EQU $FFFFF000 SIM40 MBAR address value  
***************************************************************  
* Serial module equates  
SERIAL  
MCRH  
MCRL  
EQU $700  
EQU $0  
EQU $1  
Offset from MBAR for serial module regs  
serial MCR high byte  
serial MCR low byte  
MOTOROLA  
MC68340 USER’S MANUAL  
7- 47  
For More Information On This Product,  
Go to: www.freescale.com  
 复制成功!