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

HD6433846XXXH 参数 Datasheet PDF下载

HD6433846XXXH图片预览
型号: HD6433846XXXH
PDF下载: 下载PDF文件 查看货源
内容描述: 微控制器\n [Microcontroller ]
分类和应用: 微控制器外围集成电路时钟
文件页数/大小: 524 页 / 1465 K
品牌: ETC [ ETC ]
 浏览型号HD6433846XXXH的Datasheet PDF文件第329页浏览型号HD6433846XXXH的Datasheet PDF文件第330页浏览型号HD6433846XXXH的Datasheet PDF文件第331页浏览型号HD6433846XXXH的Datasheet PDF文件第332页浏览型号HD6433846XXXH的Datasheet PDF文件第334页浏览型号HD6433846XXXH的Datasheet PDF文件第335页浏览型号HD6433846XXXH的Datasheet PDF文件第336页浏览型号HD6433846XXXH的Datasheet PDF文件第337页  
10.3.4  
Interrupts  
SCI3 can generate six kinds of interrupts: transmit end, transmit data empty, receive data full, and  
three receive error interrupts (overrun error, framing error, and parity error). These interrupts have  
the same vector address.  
The various interrupt requests are shown in table 10-16.  
Table 10-16 SCI3 Interrupt Requests  
Interrupt  
Abbreviation Interrupt Request  
Vector Address  
RXI  
TXI  
TEI  
ERI  
Interrupt request initiated by receive data full flag (RDRF)  
H'0022/H'0024  
Interrupt request initiated by transmit data empty flag (TDRE)  
Interrupt request initiated by transmit end flag (TEND)  
Interrupt request initiated by receive error flag (OER, FER, PER)  
Each interrupt request can be enabled or disabled by means of bits TIE and RIE in SCR3.  
When bit TDRE is set to 1 in SSR, a TXI interrupt is requested. When bit TEND is set to 1 in  
SSR, a TEI interrupt is requested. These two interrupts are generated during transmission.  
The initial value of bit TDRE in SSR is 1. Therefore, if the transmit data empty interrupt request  
(TXI) is enabled by setting bit TIE to 1 in SCR3 before transmit data is transferred to TDR, a TXI  
interrupt will be requested even if the transmit data is not ready.  
Also, the initial value of bit TEND in SSR is 1. Therefore, if the transmit end interrupt request  
(TEI) is enabled by setting bit TEIE to 1 in SCR3 before transmit data is transferred to TDR, a TEI  
interrupt will be requested even if the transmit data has not been sent.  
Effective use of these interrupt requests can be made by having processing that transfers transmit  
data to TDR carried out in the interrupt service routine.  
To prevent the generation of these interrupt requests (TXI and TEI), on the other hand, the enable  
bits for these interrupt requests (bits TIE and TEIE) should be set to 1 after transmit data has been  
transferred to TDR.  
When bit RDRF is set to 1 in SSR, an RXI interrupt is requested, and if any of bits OER, PER, and  
FER is set to 1, an ERI interrupt is requested. These two interrupt requests are generated during  
reception.  
For further details, see 3.3, Interrupts.  
318  
 复制成功!