參數(shù)資料
型號: MC68HC05X4CDW
廠商: MOTOROLA INC
元件分類: 微控制器/微處理器
英文描述: HCMOS Microcontroller Unit
中文描述: 8-BIT, MROM, 2.2 MHz, MICROCONTROLLER, PDSO28
封裝: PLASTIC, SOIC-28
文件頁數(shù): 50/156頁
文件大小: 926K
代理商: MC68HC05X4CDW
Resets, Interrupts and Low Power Modes
MC68HC05X4
50
Resets, Interrupts and Low Power Modes
For More Information On This Product,
Go to: www.freescale.com
MOTOROLA
RTI instruction (return from interrupt) causes the register contents to be
recovered from the stack and normal processing to resume.
Unlike reset, hardware interrupts do not cause the current instruction
execution to be halted, but are considered pending until the current
instruction is complete. The current instruction is the one already fetched
and being operated on. When the current instruction is complete, the
processor checks all pending hardware interrupts. If interrupts are not
masked (CCR I-bit clear) and 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 after an
instruction execution, the external interrupt is serviced first.
Table 1
shows the relative priority of all the possible interrupt sources.
Figure 2
shows the interrupt processing flow.
Non-maskable
software interrupt
(SWI)
The software interrupt (SWI) is an executable instruction and a
non-maskable interrupt: it is executed regardless of the state of the I-bit
in the CCR. If the I-bit is zero (interrupts enabled), SWI is executed after
interrupts that were pending when the SWI was fetched, but before
interrupts generated after the SWI was fetched. The SWI interrupt
service routine address is specified by the contents of memory locations
$1FFC and $1FFD.
Table 1. Interrupt priorities
Source
Reset
Register
CINT
CTCSR
PCR
TSR
Flags
Vector address
$1FFE, $1FFF
$1FFC, $1FFD
$1FFA, $1FFB
$1FF8, $1FF9
$1FF6, $1FF7
$1FF4, $1FF5
Priority
highest
Software interrupt (SWI)
CAN interrupt (CIRQ)
Core timer (CTIMER)
Wired-OR interrupt
Programmable timer
WIF, OIF, EIF, TIF, RIF
CTOF, RTIF
WOIF
ICF, OFC, TOF
lowest
4-resets
F
Freescale Semiconductor, Inc.
n
.
相關(guān)PDF資料
PDF描述
MC68HC05X4DW HCMOS Microcontroller Unit
MC68HC705X4 HCMOS Microcontroller Unit
MC68HC705X4CDW HCMOS Microcontroller Unit
MC68HC705X4DW HCMOS Microcontroller Unit
MC68HC08AB16A Low Cost HCMOS Microcontroller(低成本、8位HCMOS微控制器)
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
MC68HC05X4DW 制造商:FREESCALE 制造商全稱:Freescale Semiconductor, Inc 功能描述:HCMOS Microcontroller Unit
MC68HC08AB16A 制造商:FREESCALE 制造商全稱:Freescale Semiconductor, Inc 功能描述:Microcontrollers
MC68HC08AB16AD 制造商:FREESCALE 制造商全稱:Freescale Semiconductor, Inc 功能描述:Microcontrollers
MC68HC08AZ0 制造商:MOTOROLA 制造商全稱:Motorola, Inc 功能描述:Advance Information
MC68HC08AZ0CFU 制造商:MOTOROLA 制造商全稱:Motorola, Inc 功能描述:Advance Information