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

HD64F3337YF16 参数 Datasheet PDF下载

HD64F3337YF16图片预览
型号: HD64F3337YF16
PDF下载: 下载PDF文件 查看货源
内容描述: 单片机 [Single-Chip Microcomputer]
分类和应用: 微控制器和处理器外围集成电路
文件页数/大小: 747 页 / 2993 K
品牌: RENESAS [ RENESAS TECHNOLOGY CORP ]
 浏览型号HD64F3337YF16的Datasheet PDF文件第288页浏览型号HD64F3337YF16的Datasheet PDF文件第289页浏览型号HD64F3337YF16的Datasheet PDF文件第290页浏览型号HD64F3337YF16的Datasheet PDF文件第291页浏览型号HD64F3337YF16的Datasheet PDF文件第293页浏览型号HD64F3337YF16的Datasheet PDF文件第294页浏览型号HD64F3337YF16的Datasheet PDF文件第295页浏览型号HD64F3337YF16的Datasheet PDF文件第296页  
Initialization  
1. Select interrupts and the clock source in the  
serial control register (SCR). Leave TE and RE  
cleared to 0. If clock output is selected, in  
asynchronous mode, clock output starts  
Clear TE and RE bits to  
0 in SCR  
immediately after the setting is made in SCR.  
2. Select the communication format in the serial  
mode register (SMR).  
Set CKE1 and CKE0 bits in  
SCR (leaving TE and RE  
cleared to 0)  
1
3. Write the value corresponding to the bit rate in  
the bit rate register (BRR). This step is not  
necessary when an external clock is used.  
Select communication  
format in SMR  
2
3
4. Wait for at least the interval required to transmit  
or receive one bit, then set TE or RE in the serial  
control register (SCR). Setting TE or RE enables  
the SCI to use the TxD or RxD pin.  
Set value in BRR  
Also set the RIE, TIE, TEIE, and MPIE bits as  
necessary to enable interrupts. The initial states  
are the mark transmit state, and the idle receive  
state (waiting for a start bit).  
No  
1 bit interval  
elapsed?  
Yes  
4
Set TE or RE to 1 in SCR,  
and set RIE, TIE, TEIE, and  
MPIE as necessary  
Start transmitting or receiving  
Figure 12.4 Sample Flowchart for SCI Initialization  
262  
 复制成功!