欢迎访问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文件第337页浏览型号AN1063D的Datasheet PDF文件第338页浏览型号AN1063D的Datasheet PDF文件第339页浏览型号AN1063D的Datasheet PDF文件第340页浏览型号AN1063D的Datasheet PDF文件第342页浏览型号AN1063D的Datasheet PDF文件第343页浏览型号AN1063D的Datasheet PDF文件第344页浏览型号AN1063D的Datasheet PDF文件第345页  
Freescale Semiconductor, Inc.  
7.5 SERIAL MODULE INITIALIZATION SEQUENCE  
The following paragraphs discuss a suggested method for initializing the serial module.  
7.5.1 Serial Module Configuration  
If the serial capability of the MC68340 is being used, the following steps are required to  
properly initialize the serial module.  
NOTE  
The serial module registers can only be accessed by byte operations.  
Command Register (CR)  
• Reset the receiver and transmitter for each channel.  
The following steps program both channels:  
Module Configuration Register (MCR)  
• Initialize the stop bit (STP) for normal operation.  
• Select whether to respond to or ignore FREEZE (FRZx bits).  
• Select the input capture clock (ICCS bit).  
• Select the access privilege for the supervisor/user registers (SUPV bit).  
• Select the interrupt arbitration level for the serial module (IARBx bits).  
Interrupt Vector Register (IVR)  
• Program the vector number for a serial module interrupt.  
Interrupt Level Register (ILR)  
• Program the interrupt priority level for a serial module interrupt.  
Interrupt Enable Register (IER)  
• Enable the desired interrupt sources.  
Auxiliary Control Register (ACR)  
• Select baud rate set (BRG bit).  
• Initialize the input enable control (IEC bits).  
Output Port Control Register (OPCR)  
• Select the function of the output port pins.  
Interrupt Status Register (ISR)  
• The XTAL_RDY bit should be polled until it is cleared to ensure that an unstable  
crystal input is not applied to the baud rate generator.  
7- 46  
MC68340 USER’S MANUAL  
MOTOROLA  
For More Information On This Product,  
Go to: www.freescale.com  
 复制成功!