參數(shù)資料
型號: MC68HC05P4A
廠商: Motorola, Inc.
英文描述: 28-pin MCU (microcontroller unit) based on the MC68HC05P4(28引腳、基于MC68HC05P4升級的8位微控制器單元)
中文描述: 28引腳單片機(微控制器)的基礎上MC68HC05P4(28引腳,基于MC68HC05P4升級的8位微控制器單元)
文件頁數(shù): 36/102頁
文件大?。?/td> 930K
代理商: MC68HC05P4A
Advance Information
MC68HC05P4A — Rev. 6.0
36
Interrupts
MOTOROLA
Interrupts
When the current instruction is complete, the processor checks all
pending hardware interrupts. If interrupts are not masked (CCR I bit
clear) and if the corresponding interrupt enable bit is set, the processor
proceeds with interrupt processing; otherwise, the next instruction is
fetched and executed.
If both an external interrupt and a timer interrupt are pending at the end
of an instruction execution, the external interrupt is serviced first. The
SWI is executed the same as any other instruction, regardless of the I-bit
state.
Table 4-1
lists vector addresses for all interrupts including reset.
4.3 Hardware Controlled Interrupt Sequence
RESET, STOP, and WAIT are not interrupts in the strictest sense.
However, they are acted upon in a similar manner. Flowcharts for
hardware interrupts are shown in
Figure 4-1
and for STOP and WAIT in
Figure 6-1. STOP/WAIT Flowchart
. A discussion is provided here.
1.
RESET — A low input on the RESET input pin causes the
program to vector to its starting address, which is specified by
the contents of memory locations $1FFE and $1FFF. The I bit in
the condition code register also is set. Much of the MCU is
configured to a known state during this type of reset as described
in
Section 5. Resets
.
Table 4-1. Vector Address for Interrupts and Reset
Register
Flag
Name
Interrupts
CPU
Interrupt
Vector Address
N/A
N/A
Reset
RESET
$1FFE–$1FFF
N/A
N/A
Software
SWI
$1FFC–$1FFD
N/A
N/A
External interrupt
IRQ
$1FFA–$1FFB
TSR
ICF
Timer input capture
TIMER
$1FF8–$1FF9
TSR
OCF
Timer output capture
TIMER
$1FF8–$1FF9
TSR
TOF
Timer overflow
TIMER
$1FF8–$1FF9
相關PDF資料
PDF描述
MC68HC05PV8A Low Cost HCMOS Microcontroller(低成本、8位HCMOS微控制器)
MC68HC05SR3 8-Bit Microcontroller Units (MCU).(8位微控制器)
MC68HC05V7 8-Bit Microcontroller Units (MCU).(8位微控制器)
MC68HC05X16 8-Bit Microcontroller Units (MCU).(8位微控制器)
MC68HC05X32 8-Bit Microcontroller Units (MCU).(8位微控制器)
相關代理商/技術參數(shù)
參數(shù)描述
MC68HC05P4DW 制造商:FREESCALE 制造商全稱:Freescale Semiconductor, Inc 功能描述:HCMOS MICROCONTROLLER UNIT
MC68HC05P4P 制造商:FREESCALE 制造商全稱:Freescale Semiconductor, Inc 功能描述:HCMOS MICROCONTROLLER UNIT
MC68HC05P6 制造商:FREESCALE 制造商全稱:Freescale Semiconductor, Inc 功能描述:HCMOS MICROCONTROLLER UNIT
MC68HC05P6_1 制造商:FREESCALE 制造商全稱:Freescale Semiconductor, Inc 功能描述:HCMOS MICROCONTROLLER UNIT
MC68HC05P8 制造商:FREESCALE 制造商全稱:Freescale Semiconductor, Inc 功能描述:HCMOS MICROCONTROLLER UNIT