欢迎访问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文件第77页浏览型号7906的Datasheet PDF文件第78页浏览型号7906的Datasheet PDF文件第79页浏览型号7906的Datasheet PDF文件第80页浏览型号7906的Datasheet PDF文件第82页浏览型号7906的Datasheet PDF文件第83页浏览型号7906的Datasheet PDF文件第84页浏览型号7906的Datasheet PDF文件第85页  
INTERRUPTS  
6.1 Overview  
6.1 Overview  
The M37906 provides 27 (including the reset) interrupt sources to generate interrupt requests.  
Figure 6.1.1 shows the interrupt processing sequence.  
When an interrupt request is accepted, a branch is made to the start address of the interrupt routine set  
in the interrupt vector table (addresses FFB416 to FFFF16). Set the start address of each interrupt routine to  
the corresponding interrupt vector address in the interrupt vector table.  
Routine in progress  
Interrupt routine  
Interrupt processing  
Interrupt request is accepted.  
Processing is suspended.  
Returns to original routine.  
Processing is resumed.  
RTI instruction  
Fig. 6.1.1 Interrupt processing sequence  
When an interrupt request is accepted, the following  
registers’ contents just before acceptance of an  
Stack area  
interrupt request are automatically pushed onto the  
stack area in ascending sequence from to .  
For other registers of which contents are necessary,  
be sure to push and pop them by software.  
Address  
[S] 5  
Processor status registers low-order byte (PSL)  
[S] 4  
[S] 3  
Program bank register (PG)  
Processor status registers high-order byte (PS  
Program counters low-order byte (PC  
H)  
Program counter (PC  
L
, PC  
H
)
L)  
Processor status register (PS  
L
, PS )  
H
[S] 2  
[S] 1  
Program counters high-order byte (PCH)  
Figure 6.1.2 shows the state of the stack area just  
before entering an interrupt routine.  
Program bank register (PG)  
[S]  
Execute the RTI instruction at the end of this interrupt  
routine in order to return to the routine that the  
microcomputer was executing just before the interrupt  
request was accepted. By executing the RTI instruction,  
the register contents pushed onto the stack area are  
pulled in descending sequence from to . Then,  
the suspended processing is resumed from where it  
left off.  
[S] is an initial address that the stack pointer (S) indicates  
when an interrupt request is accepted. The Ss contents  
become [S] 5after all of the above registers are pushed.  
Fig. 6.1.2 State of stack area just before entering  
interrupt routine  
7906 Group User’s Manual Rev.2.0  
6-2  
 复制成功!