欢迎访问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文件第88页浏览型号7906的Datasheet PDF文件第89页浏览型号7906的Datasheet PDF文件第90页浏览型号7906的Datasheet PDF文件第91页浏览型号7906的Datasheet PDF文件第93页浏览型号7906的Datasheet PDF文件第94页浏览型号7906的Datasheet PDF文件第95页浏览型号7906的Datasheet PDF文件第96页  
INTERRUPTS
6.7 Sequence from acceptance of interrupt request until execution of interrupt routine
6.7 Sequence from acceptance of interrupt request until execution of
interrupt routine
The sequence from acceptance of an interrupt request until execution of the interrupt routine is described
below.
When an interrupt request is accepted, the interrupt request bit of the accepted interrupt is cleared to “0.”
And then, the interrupt processing starts from the cycle just after completion of the instruction execution
which was executed at acceptance of the interrupt request. Figure 6.7.1 shows the sequence from occurrence
of an interrupt request until execution of the interrupt routine. After execution of an instruction at acceptance
of the interrupt request is completed, an INTACK (Interrupt Acknowledge) sequence is executed, and a
branch is made to the start address of the interrupt routine allocated in addresses 0
16
to FFFF
16
.
In the INTACK sequence, the following are automatically performed in ascending sequence from
to
➅.
The contents of the program bank register (PG) just before performing the INTACK sequence are pushed
onto stack.
The contents of the program counter (PC) just before performing the INTACK sequence are pushed onto
stack.
The contents of the processor status register (PS) just before performing the INTACK sequence is
pushed onto stack.
The interrupt disable flag (I) is set to “1.”
The interrupt priority level of the accepted interrupt is set into the processor interrupt priority level (IPL).
The contents of the program bank register (PG) are cleared to “00
16
,” and the contents of the interrupt
vector address are set into the program counter (PC).
Performing the INTACK sequence requires at least 15 cycles of f
sys
. Figure 6.7.2 shows the INTACK sequence
timing. After the INTACK sequence is completed, the instruction execution starts from the start address of
the interrupt routine.
Interrupt request is accepted.
Interrupt request occurs.
@
Instruction
Instruction
1
2
@
INTACK sequence
Interrupt response time
Time
Instructions in interrupt routine
@ : Interrupt priority level detection time
Time from occurrence of an interrupt request until comparison of an instruction execution which
is in progress at that time.
Time from execution start of an instruction next to
until completion of execution of the instruction
which was in progress at detection completed.
Time required to perform the INTACK sequence (15 cycles of
φ
at minimum)
Fig. 6.7.1 Sequence from occurrence of interrupt request until execution of interrupt routine
7906 Group User’s Manual Rev.2.0
6-13