參數(shù)資料
型號: MC68HC05X4CDWR2
廠商: FREESCALE SEMICONDUCTOR INC
元件分類: 微控制器/微處理器
英文描述: 8-BIT, MROM, 2.2 MHz, MICROCONTROLLER, PDSO28
封裝: PLASTIC, SOIC-28
文件頁數(shù): 115/168頁
文件大?。?/td> 656K
代理商: MC68HC05X4CDWR2
Resets, Interrupts and Low Power Modes
MC68HC05X4
50
Resets, Interrupts and Low Power Modes
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
Register
Flags
Vector address
Priority
Reset
$1FFE, $1FFF
highest
Software interrupt (SWI)
$1FFC, $1FFD
CAN interrupt (CIRQ)
CINT
WIF, OIF, EIF, TIF, RIF
$1FFA, $1FFB
Core timer (CTIMER)
CTCSR
CTOF, RTIF
$1FF8, $1FF9
Wired-OR interrupt
PCR
WOIF
$1FF6, $1FF7
Programmable timer
TSR
ICF, OFC, TOF
$1FF4, $1FF5
lowest
4-resets
相關(guān)PDF資料
PDF描述
MC68HC708KH12FU 8-BIT, OTPROM, 6 MHz, MICROCONTROLLER, PQFP64
MC68HC708LN56PV 8-BIT, OTPROM, 8 MHz, MICROCONTROLLER, PQFP144
MC68HC08LN56PV 8-BIT, MROM, 8 MHz, MICROCONTROLLER, PQFP144
MC68HC711E20CFNE 8-BIT, OTPROM, 2 MHz, MICROCONTROLLER, PQCC52
MC68HC711EA9CFN2 8-BIT, OTPROM, 2 MHz, MICROCONTROLLER, PQCC52
相關(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