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

68HC805P18 参数 Datasheet PDF下载

68HC805P18图片预览
型号: 68HC805P18
PDF下载: 下载PDF文件 查看货源
内容描述: 规格(通用版) [SPECIFICATION (General Release)]
分类和应用:
文件页数/大小: 111 页 / 2802 K
品牌: FREESCALE [ Freescale ]
 浏览型号68HC805P18的Datasheet PDF文件第24页浏览型号68HC805P18的Datasheet PDF文件第25页浏览型号68HC805P18的Datasheet PDF文件第26页浏览型号68HC805P18的Datasheet PDF文件第27页浏览型号68HC805P18的Datasheet PDF文件第29页浏览型号68HC805P18的Datasheet PDF文件第30页浏览型号68HC805P18的Datasheet PDF文件第31页浏览型号68HC805P18的Datasheet PDF文件第32页  
Freescale Semiconductor, Inc.  
GENERAL RELEASE SPECIFICATION  
8
2
SECTION 4  
INTERRUPTS  
3
4
4.1 Introduction  
5
The MCU can be interrupted six different ways:  
• Non-maskable software interrupt instruction (SWI)  
• External asynchronous interrupt (IRQ)  
• Input capture interrupt (TIMER)  
6
7
• Output compare interrupt (TIMER)  
8
• Timer overflow interrupt (TIMER)  
• Port A interrupt (if selected via MOR2, bits 0 through 7).  
9
Interrupts cause the processor to save the register contents on the stack and to set  
the interrupt mask (I bit) to prevent additional interrupts. Unlike reset, hardware  
interrupts do not cause the current instruction execution to be halted, but are  
considered pending until the current instruction is completed.  
10  
11  
12  
13  
14  
A
When the current instruction is completed, the processor checks all pending  
hardware interrupts. If interrupts are not masked (I bit in the condition code register  
is clear) and the corresponding interrupt enable bit is set, the processor proceeds  
with interrupt processing. Otherwise, the next instruction is fetched and executed.  
The SWI is executed the same as any other instruction, regardless of the I bit state.  
When an interrupt is to be processed, the CPU puts the register contents on the  
stack, sets the I bit in the CCR, and fetches the address of the corresponding  
interrupt service routine from the vector table at locations $3FF0 through $3FFF. If  
more than one interrupt is pending when the interrupt vector is fetched, the  
interrupt with the highest vector location shown in Table 4-1 will be serviced first.  
16  
17  
18  
19  
20  
An RTI instruction is used to signify when the interrupt software service routine is  
completed. The RTI instruction causes the CPU state to be recovered from the  
stack and normal processing to resume at the next instruction that was to be  
executed when the interrupt took place. Figure 4-1 shows the sequence of events  
that occurs during interrupt processing.  
INTERRUPTS  
Rev. 1.0  
For More Information On This Product,  
Go to: www.freescale.com  
 复制成功!