参数资料
型号: MC68HC05G1B
厂商: MOTOROLA INC
元件分类: 微控制器/微处理器
英文描述: 8-BIT, MROM, 2.1 MHz, MICROCONTROLLER, PDIP56
封装: SDIP-56
文件页数: 58/124页
文件大小: 732K
代理商: MC68HC05G1B
MC68HC05G1
MOTOROLA
5-5
INTERRUPTS
5
5.2
Hardware Controlled Sequences
The following three functions are not strictly interrupts, however, they are tied very closely to the
interrupts. These functions are RESET, STOP, WAIT.
1) RESET
The RESET input pin causes the program to go to its starting
address. This address is specied by the contents of memory
locations $3FFE and $3FFF. The interrupt mask of the Condition
Code register is also set. Much of the MCU is congured to some
known state as described in Table 4-1.
2) STOP
If the user chooses to use an interrupted RTC, the STOP
instruction causes the oscillator to be turned off and the
processor “sleeps” until an external interrupt (IRQ, INT1 or INT2)
or RESET occurs. If non-interrupted RTC is used, only the
internal processor clock is turned off. See section 7 on Low
Power Modes.
3) WAIT
The WAIT instruction causes all processor clocks to stop, but
leaves the RTC, Timer, and SPI clocks running. This “rest” state
of the processor can be cleared by RESET, an external interrupt
(IRQ, INT1 or INT2), RTC, Timer or SPI interrupt. There are no
special wait vectors for these individual interrupts. See section 7
on Low Power Modes.
5.3
Software Interrupt (SWI)
The software interrupt is an executable instruction. The action of the SWI instruction is similar to
the hardware interrupts. The SWI is executed regardless of the state of the interrupt mask in the
Condition Code register. The service routine address is specied by the contents of memory
location $3FFC and $3FFD.
5.4
External Interrupts (IRQ, INT1 & INT2)
There are two types of external interrupt in the MC68HC05G1. They can be software congured
for negative-edge or level sensitive triggering.
IRQ
When the signal of the external interrupt pin, IRQ, satises the condition
selected by the IRQN bit in the Miscellaneous Control register (bits 5 of
address $27) then an external interrupt occurs. The actual processor interrupt
is generated only if the interrupt mask bit of the Condition Code register is
also cleared. When the interrupt is recognized, the current state of the
processor is pushed onto the stack and the interrupt mask bit in the Condition
TPG
37
相关PDF资料
PDF描述
MC68HC705JB2DW 8-BIT, OTPROM, 3 MHz, MICROCONTROLLER, PDSO20
MC68HC705JB2P 8-BIT, OTPROM, 3 MHz, MICROCONTROLLER, PDIP20
MC68HC705JB4P 8-BIT, OTPROM, 3 MHz, MICROCONTROLLER, PDIP28
MC68HC705K1CDW 8-BIT, OTPROM, 2 MHz, MICROCONTROLLER, PDSO16
MC68HC705K1CP 8-BIT, OTPROM, 2 MHz, MICROCONTROLLER, PDIP16
相关代理商/技术参数
参数描述
MC68HC05J1 制造商:MOTOROLA 制造商全称:Motorola, Inc 功能描述:HCMOS MICROCONTROLLER UNIT
MC68HC05J1A 制造商:FREESCALE 制造商全称:Freescale Semiconductor, Inc 功能描述:Microcontrollers
MC68HC05J1ACDW 制造商:FREESCALE 制造商全称:Freescale Semiconductor, Inc 功能描述:Microcontrollers
MC68HC05J1ACP 制造商:FREESCALE 制造商全称:Freescale Semiconductor, Inc 功能描述:Microcontrollers
MC68HC05J1ADW 制造商:FREESCALE 制造商全称:Freescale Semiconductor, Inc 功能描述:Microcontrollers