欢迎访问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文件第91页浏览型号7906的Datasheet PDF文件第92页浏览型号7906的Datasheet PDF文件第93页浏览型号7906的Datasheet PDF文件第94页浏览型号7906的Datasheet PDF文件第96页浏览型号7906的Datasheet PDF文件第97页浏览型号7906的Datasheet PDF文件第98页浏览型号7906的Datasheet PDF文件第99页  
INTERRUPTS  
6.8 Return from interrupt routine, 6.9 Multiple interrupts  
6.8 Return from interrupt routine  
When the RTI instruction is executed at the end of the interrupt routine, the contents of the program bank  
register (PG), program counter (PC), and processor status register (PS) which were pushed onto the stack  
area just before the INTACK sequence are automatically pulled. After this, the control returns to the original  
routine. And then, the suspended processing, which was in progress before acceptance of the interrupt  
request, is resumed.  
Before the RTI instruction is executed, registers which were pushed by software in the interrupt routine must  
be pulled in the same data length and register length as those in pushing, using the PUL instruction, etc.  
6.9 Multiple interrupts  
Just after a branch is made to an interrupt routine, the following occur:  
Interrupt disable flag (I) = 1(Interrupts are disabled.)  
Interrupt request bit of accepted interrupt = 0”  
Processor interrupt priority level (IPL) = Interrupt priority level of accepted interrupt  
Accordingly, as long as the IPL remains unchanged, an interrupt request, whose priority level is higher than  
that of the interrupt which is in progress, can be accepted by clearing the interrupt disable flag (I) to 0in  
an interrupt routine. In this way, multiple interrupts are processed.  
Figure 6.9.1 shows the processing for multiple interrupts.  
An interrupt request which has not been accepted because its priority level is lower is retained. When the  
RTI instruction is executed, the interrupt priority level of the routine which was in progress just before  
acceptance of an interrupt request is pulled into the IPL. Therefore, if the following relationship is satisfied  
when interrupt priority level detection is performed next, the retained interrupt request will be accepted.  
Retained interrupt requests priority level > Processor interrupt priority level (IPL)  
Note: When any of the following interrupt requests is generated while an interrupt routine is in progress, this  
interrupt request is accepted at once: zero division, watchdog timer, and address matching detection.  
7906 Group Users Manual Rev.2.0  
6-16