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

HD64F3337YF16 参数 Datasheet PDF下载

HD64F3337YF16图片预览
型号: HD64F3337YF16
PDF下载: 下载PDF文件 查看货源
内容描述: 单片机 [Single-Chip Microcomputer]
分类和应用: 微控制器和处理器外围集成电路
文件页数/大小: 747 页 / 2993 K
品牌: RENESAS [ RENESAS TECHNOLOGY CORP ]
 浏览型号HD64F3337YF16的Datasheet PDF文件第108页浏览型号HD64F3337YF16的Datasheet PDF文件第109页浏览型号HD64F3337YF16的Datasheet PDF文件第110页浏览型号HD64F3337YF16的Datasheet PDF文件第111页浏览型号HD64F3337YF16的Datasheet PDF文件第113页浏览型号HD64F3337YF16的Datasheet PDF文件第114页浏览型号HD64F3337YF16的Datasheet PDF文件第115页浏览型号HD64F3337YF16的Datasheet PDF文件第116页  
When an NMI or another enabled interrupt is requested, the interrupt controller transfers the  
interrupt request to the CPU and indicates the corresponding vector number. (When two or more  
interrupts are requested, the interrupt controller selects the vector number of the interrupt with the  
highest priority.) When notified of an interrupt request, at the end of the current instruction or  
current hardware exception-handling sequence, the CPU starts the hardware exception-handling  
sequence for the interrupt and latches the vector number.  
Figure 4.5 shows the interrupt operation flow.  
1. An interrupt request is sent to the interrupt controller when an NMI interrupt occurs, and when  
an interrupt occurs on an IRQ input line or in an on-chip supporting module provided the  
enable bit of that interrupt is set to 1.  
2. The interrupt controller checks the I bit in CCR and accepts the interrupt request if the I bit is  
cleared to 0. If the I bit is set to 1 only NMI requests are accepted; other interrupt requests  
remain pending.  
3. Among all accepted interrupt requests, the interrupt controller selects the request with the  
highest priority and passes it to the CPU. Other interrupt requests remain pending.  
4. When it receives the interrupt request, the CPU waits until completion of the current  
instruction or hardware exception-handling sequence, then starts the hardware exception-  
handling sequence for the interrupt and latches the interrupt vector number.  
5. In the hardware exception-handling sequence, the CPU first pushes the PC and CCR onto the  
stack. See figure 4.6. The stacked PC indicates the address of the first instruction that will be  
executed on return from the software interrupt-handling routine.  
6. Next the I bit in CCR is set to 1, masking all further interrupts except NMI.  
7. The vector address corresponding to the vector number is generated, the vector table entry at  
this vector address is loaded into the program counter, and execution branches to the software  
interrupt-handling routine at the address indicated by that entry.  
Figure 4.7 shows the interrupt timing sequence for the case in which the software interrupt-  
handling routine is in on-chip ROM and the stack is in on-chip RAM.  
82  
 复制成功!