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

7906 参数 Datasheet PDF下载

7906图片预览
型号: 7906
PDF下载: 下载PDF文件 查看货源
内容描述: 16位单片机 [16-BIT SINGLE-CHIP MICROCOMPUTER]
分类和应用: 计算机
文件页数/大小: 531 页 / 3056 K
品牌: RENESAS [ RENESAS TECHNOLOGY CORP ]
 浏览型号7906的Datasheet PDF文件第271页浏览型号7906的Datasheet PDF文件第272页浏览型号7906的Datasheet PDF文件第273页浏览型号7906的Datasheet PDF文件第274页浏览型号7906的Datasheet PDF文件第276页浏览型号7906的Datasheet PDF文件第277页浏览型号7906的Datasheet PDF文件第278页浏览型号7906的Datasheet PDF文件第279页  
SERIAL I/O  
11.3 Clock synchronous serial I/O mode  
11.3.7 Processing on detecting overrun error  
In the clock synchronous serial I/O mode, an overrun error can be detected.  
An overrun error occurs when the next data has been prepared in the UARTi receive register with the  
receive complete flag = 1(i.e. data is present in the UARTi receive buffer register) and next data is  
transferred to the UARTi receive buffer register. In other words, an overrun error occurs when the next data  
has been prepared before reading out the contents of the UARTi receive buffer register. When an overrun  
error has occurred, the next receive data is written into the UARTi receive buffer register. Additionally,  
when the receive error interrupt is selected (UARTi receive interrupt mode select bit = 1), a UARTi receive  
interrupt request occurs and its interrupt request bit is set to 1.When the receive interrupt is selected  
(UARTi receive interrupt mode select bit = 0), the UARTi receive interrupt request bit does not change.  
An overrun error is detected when data is transferred from the UARTi receive register to the UARTi receive  
buffer register, and the overrun error flag is set to 1.The overrun error flag is cleared to 0by clearing  
the receive enable bit to 0.”  
When an overrun error occurs during reception, be sure to initialize the overrun error flag and UARTi  
receive buffer register, and then perform reception again. When it is necessary to perform retransmission  
owing to a receiver-side overrun error which has occurred during transmission, be sure to set the UARTi  
transmit buffer register again, and start transmission again.  
The methods of initializing the UARTi receive buffer register and that of setting the UARTi transmit buffer  
register again are described below.  
(1) Method of initializing UARTi receive buffer register  
Clear the receive enable bit to 0(reception disabled).  
Set the receive enable bit to 1again (reception enabled).  
(2) Method of setting UARTi transmit buffer register again  
Clear the serial I/O mode select bits to 000  
2
(serial I/O invalidated).  
Set the serial I/O mode select bits to 001 again.  
2
Set the transmit enable bit to 1(transmission enabled), and set the transmit data to the UARTi  
transmit buffer register.  
7906 Group Users Manual Rev.2.0  
11-34