参数资料
型号: M68HC05M68H
厂商: Motorola, Inc.
英文描述: HCMOS Microcontroller Unit
中文描述: HCMOS微控制器
文件页数: 46/130页
文件大小: 1541K
代理商: M68HC05M68H
Interrupts
Advance Information
MC68HC705P6A
Rev. 2.0
46
Interrupts
MOTOROLA
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
$1FF8 through $1FFF. If more than one interrupt is pending when the
interrupt vector is fetched, the interrupt with the highest vector location
shown in
Table 5-1
will be serviced first.
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 5-1
shows the sequence of events that occurs during interrupt
processing.
Table 5-1. Vector Addresses 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 Compare
TIMER
$1FF8
$1FF9
TSR
TOF
Timer Overflow
TIMER
$1FF8
$1FF9
相关PDF资料
PDF描述
M68HC11K 8-BIT MICROCONTROLLER
M68HC711CFD CONFIG REGISTER PROGRAMMING FOR EEPROM-BASED MHC MICROCONTROLLERS
M68HC711CFG CONFIG REGISTER PROGRAMMING FOR EEPROM-BASED MHC MICROCONTROLLERS
M68SDIL12 The MC68HC912DT128A microcontroller unit (MCU) is a 16-bit device composed of standard on-chip peripherals including a 16-bit central processing unit
M68ADP912DG128PV The MC68HC912DT128A microcontroller unit (MCU) is a 16-bit device composed of standard on-chip peripherals including a 16-bit central processing unit
相关代理商/技术参数
参数描述
M68HC08 制造商:FREESCALE 制造商全称:Freescale Semiconductor, Inc 功能描述:Microcontrollers
M68HC08M6 制造商:MOTOROLA 制造商全称:Motorola, Inc 功能描述:HCMOS Microcontroller Unit
M68HC08M68H 制造商:MOTOROLA 制造商全称:Motorola, Inc 功能描述:HCMOS Microcontroller Unit
M68HC11 制造商:MOTOROLA 制造商全称:Motorola, Inc 功能描述:CONFIG Register Programming for EEPROM-based M68HC11 Microcontrollers
M68HC11_03 制造商:MOTOROLA 制造商全称:Motorola, Inc 功能描述:8-channel, 8-bit analog-to-digital (A/D) converter