參數(shù)資料
型號: MC68HC05L1B
廠商: MOTOROLA INC
元件分類: 微控制器/微處理器
英文描述: 8-BIT, MROM, 2.1 MHz, MICROCONTROLLER, PDIP56
封裝: SDIP-56
文件頁數(shù): 28/102頁
文件大?。?/td> 632K
代理商: MC68HC05L1B
MC68HC05L1
MOTOROLA
4-3
RESETS AND INTERRUPTS
4
4.2
INTERRUPTS
The MC68HC05L1 is capable of handling six types of interrupt, ve hardware and one software.
The interrupt mask bit (“I” bit in the Condition Code register), if set, masks all interrupts except the
software interrupt, SWI. Timer interrupts have several ags which will cause the interrupt. Interrupt
ags are found in “read only” status registers, while their enables are in associated control
registers. They are never mixed in the same register. If the enable bit is “0”, it masks the interrupt
from occurring but does not inhibit the ag from being set. A reset clears all enable bits. The
general sequence for clearing an interrupt is a software sequence of reading the status register
while the ag is set followed by a read or write of an associated register. When any of these
interrupts occur, and if enabled, normal processing is suspended at the end of the current
instruction execution. The state of the machine is pushed onto the stack (see Figure 4-2 for
stacking order) and the appropriate vector points to the starting address of the interrupt service
routine (see Table 4-2). Also, the interrupt mask bit in the condition code register is set. This masks
further interrupts. At the completion of the service routine, the software normally contains an RTI
instruction which, when executed, restores the machine state and continues executing the
interrupted program. Interrupt priority is based on interrupt vector locations. The higher the vector
locations, the higher the priority. RESET has the highest priority.
Note:
The interrupt mask bit (I bit) will be cleared if and only if the corresponding bit stored
on the stack is zero.
Figure 4-2 Interrupt Stacking Order
CONDITION CODE REGISTER
ACCUMULATOR
INDEX REGISTER
PROGRAM COUNTER (HIGH BYTE)
PROGRAM COUNTER (LOW BYTE)
$00C0 (BOTTOM OF STACK)
$00C1
$00C2
$00FD
$00FE
$00FF (TOP OF STACK)
UNSTACKING
1
2
3
4
5
4
3
2
1
STACKING
ORDER
TPG
29
相關(guān)PDF資料
PDF描述
MC68HC705L2B 8-BIT, OTPROM, 2.1 MHz, MICROCONTROLLER, PDIP42
MC68HC705L2CB 8-BIT, OTPROM, 2.1 MHz, MICROCONTROLLER, PDIP42
MC68HC05L2CB 8-BIT, MROM, 2.1 MHz, MICROCONTROLLER, PDIP42
MC68HC705MC4DW 8-BIT, OTPROM, 3 MHz, MICROCONTROLLER, PDSO28
MC68HC705MC4P 8-BIT, OTPROM, 3 MHz, MICROCONTROLLER, PDIP28
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
MC68HC05L2 制造商:FREESCALE 制造商全稱:Freescale Semiconductor, Inc 功能描述:High-density complementary metal oxide semiconductor (HCMOS) microcontroller unit
MC68HC05L25 制造商:FREESCALE 制造商全稱:Freescale Semiconductor, Inc 功能描述:Microcontrollers
MC68HC05L25FA 制造商:FREESCALE 制造商全稱:Freescale Semiconductor, Inc 功能描述:Microcontrollers
MC68HC05L25PB 制造商:FREESCALE 制造商全稱:Freescale Semiconductor, Inc 功能描述:Microcontrollers
MC68HC05L28 制造商:FREESCALE 制造商全稱:Freescale Semiconductor, Inc 功能描述:High-density complementary metal oxide semiconductor (HCMOS) microcontroller unit