欢迎访问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文件第505页浏览型号7906的Datasheet PDF文件第506页浏览型号7906的Datasheet PDF文件第507页浏览型号7906的Datasheet PDF文件第508页浏览型号7906的Datasheet PDF文件第510页浏览型号7906的Datasheet PDF文件第511页浏览型号7906的Datasheet PDF文件第512页浏览型号7906的Datasheet PDF文件第513页  
APPENDIX  
Appendix 8. 7906 Group Q & A  
Interrupts  
Q
Suppose that there is a routine which should not accept a certain interrupt request. (This routine can  
accept any of the other interrupt request.)  
Although the interrupt priority level select bits for a certain interrupt are set to 0002(in other words,  
although this interrupt is set to be disabled), this interrupt request is actually accepted immediately  
after the change of the priority level. Why did this occur, and what should I do about it?  
:
Interrupt request is  
MOVMB XXXIC, #00H ; Writes 0002to the interrupt priority level select bits.  
accepted in this  
interval  
; Clears the interrupt request bit to 0.”  
; Instruction at the beginning of the routine which  
should not accept a certain interrupt request.  
;
LDA  
A,DATA  
:
A
As for the change of the interrupt priority level, if the following are met, the microcomputer may  
pretend to accept an interrupt request immediately after this interrupt is set to be disabled:  
The next instruction (in the above example, it is the LDA instruction) is already stored into a instruc-  
tion queue buffer of the BIU.  
Requirements for accepting the interrupt request which should not be accepted are satisfied immediately  
before the next instruction in the instruction queue buffer is executed.  
When writing to a memory or an I/O, the CPU passes an address and data to the BIU. Then, the CPU  
executes the next instruction in the instruction queue buffer while the BIU is writing data into the  
actual address. Detection of the interrupt priority level is performed at the beginning of each instruction.  
In the above case, the CPU executes the next instruction before the BIU completes the change of  
the interrupt priority level. Therefore, in the detection of the interrupt priority level performed synchronously  
with the execution of the next instruction, actually, the interrupt priority level before the change is  
used to detection, and its interrupt request is accepted.  
Interrupt request generated  
Interrupt request accepted  
Sequence of execution  
Interrupt priority detection time  
Previous instruction  
executed  
MOVMB instruction  
LDA instruction  
executed  
CPU operation  
BIU operation  
executed  
(Instruction prefetched)  
Writing to interrupt priority level select bits.  
Change of interrupt priority level  
completed  
(1/2)  
7906 Group Users Manual Rev.2.0  
20-104  
 复制成功!