參數資料
型號: MC68HC05J1
廠商: Motorola, Inc.
英文描述: HCMOS MICROCONTROLLER UNIT
中文描述: HCMOS微控制器
文件頁數: 33/82頁
文件大?。?/td> 327K
代理商: MC68HC05J1
MC68HC705J2
Rev. 2
RESETS AND INTERRUPTS
MOTOROLA
5-3
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
5.2 Interrupts
An interrupt temporarily stops normal processing to process a particular event.
Unlike a reset, an interrupt does not stop the operation of the instruction being
executed. An interrupt takes effect when the current instruction completes its
execution. An interrupt saves the CPU registers on the stack and loads the program
counter with a user-defined interrupt vector address. The following conditions
produce an interrupt:
Timer overflow or real-time interrupt request (timer interrupts)
A logical zero applied to the IRQ pin (external interrupt)
SWI instruction (software interrupt)
The CPU does the following things to begin servicing an interrupt:
Stores the contents of the CPU registers on the stack as shown in
Figure 5-2
Figure 5-2. Interrupt Stacking Order
Sets the interrupt mask to prevent further interrupts
Loads the program counter with the contents of the appropriate interrupt vector
locations:
$0FF8 and $0FF9 (timer interrupt vector)
$0FFA and $0FFB (external interrupt vector)
$0FFC and $0FFD (software interrupt vector)
ACCUMULATOR
CONDITION CODE REGISTER
INDEX REGISTER
PROGRAMCOUNTER LOW
PROGRAMCOUNTER HIGH
7
0
I
R
TOWARD HIGHER ADDRESSES
(HIGHEST STACK ADDRESS IS $00FF)
TOWARD LOWER ADDRESSES
(LOWEST STACK ADDRESS IS $00C0)
UNSTACK
STACK
相關PDF資料
PDF描述
MC68HC05P8EVS HCMOS MICROCONTROLLER UNIT
MC68HC705J2 HCMOS MICROCONTROLLER UNIT
MC68HC705J2CP HCMOS MICROCONTROLLER UNIT
MC68HC705J2DW HCMOS MICROCONTROLLER UNIT
MC68HC705J2P HCMOS MICROCONTROLLER UNIT
相關代理商/技術參數
參數描述
MC68HC05J1A 制造商:FREESCALE 制造商全稱:Freescale Semiconductor, Inc 功能描述:Microcontrollers
MC68HC05J1ACDW 制造商:FREESCALE 制造商全稱:Freescale Semiconductor, Inc 功能描述:Microcontrollers
MC68HC05J1ACP 制造商:FREESCALE 制造商全稱:Freescale Semiconductor, Inc 功能描述:Microcontrollers
MC68HC05J1ADW 制造商:FREESCALE 制造商全稱:Freescale Semiconductor, Inc 功能描述:Microcontrollers
MC68HC05J1AP 制造商:FREESCALE 制造商全稱:Freescale Semiconductor, Inc 功能描述:Microcontrollers