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

MC81F4316S 参数 Datasheet PDF下载

MC81F4316S图片预览
型号: MC81F4316S
PDF下载: 下载PDF文件 查看货源
内容描述: ABOV半导体的8位单芯片微控制器产品 [ABOV SEMICONDUCTOR 8-BIT SINGLE-CHIP MICROCONTROLLERS]
分类和应用: 半导体微控制器
文件页数/大小: 200 页 / 4220 K
品牌: FINECHIPS [ FINECHIPS ]
 浏览型号MC81F4316S的Datasheet PDF文件第92页浏览型号MC81F4316S的Datasheet PDF文件第93页浏览型号MC81F4316S的Datasheet PDF文件第94页浏览型号MC81F4316S的Datasheet PDF文件第95页浏览型号MC81F4316S的Datasheet PDF文件第97页浏览型号MC81F4316S的Datasheet PDF文件第98页浏览型号MC81F4316S的Datasheet PDF文件第99页浏览型号MC81F4316S的Datasheet PDF文件第100页  
MC81F4x16  
11.2 Interrupt Sequence  
An interrupt request is held until the interrupt is accepted or the interrupt latch is cleared to “0” by a  
reset or an instruction. Interrupt acceptance sequence requires 8 cycles of fXIN (1μs at fXIN=  
4MHz) after the completion of the current instruction execution. The interrupt service task is  
terminated upon execution of an interrupt return instruction [RETI].  
Interrupt acceptance  
1. The interrupt master enable flag (I-flag) is cleared to “0” to temporarily disable the acceptance of  
any following maskable interrupts. When a non-maskable interrupt is accepted, the acceptance of  
any following interrupts is temporarily disabled.  
2. Interrupt request flag for the interrupt source accepted is cleared to “0”.  
3. The contents of the program counter (return address) and the program status word are saved  
(pushed) onto the stack area. The stack pointer decreases 3 times.  
4. The entry address of the interrupt service program is read from the vector table address and the  
entry address is loaded to the program counter.  
5. The instruction stored at the entry address of the interrupt service program is executed.  
Figure 11-2 Timing chart of Interrupt Acceptance and Interrupt Return Instruction  
A interrupt request is not accepted until the I-flag is set to “1” even if a requested interrupt has higher  
priority than that of the current interrupt being serviced. When nested interrupt service is required, the  
I-flag should be set to “1” by “EI” instruction in the interrupt service program. In this case, acceptable  
interrupt sources are selectively enabled by the individual interrupt enable flags.  
Saving/Restoring the general-purpose registers  
The program status word are automatically saved on the stack, but accumulator and other registers  
are not saved itself. These registers are saved by the software if necessary. Also, when multiple  
interrupt services are nested, it is necessary to avoid using the same data memory area for saving  
registers.  
The following method is used to save/restore the general-purpose registers.  
96  
October 19, 2009 Ver.1.35  
 复制成功!