參數(shù)資料
型號(hào): MC68HC05F8B
廠商: FREESCALE SEMICONDUCTOR INC
元件分類: 微控制器/微處理器
英文描述: 8-BIT, MROM, 1.8 MHz, MICROCONTROLLER, PDIP56
封裝: PLASTIC, SDIP-56
文件頁數(shù): 65/126頁
文件大?。?/td> 1084K
代理商: MC68HC05F8B
MC68HC05F8
MOTOROLA
5-7
INTERRUPTS
5
INT2E
1 (set)
External interrupt IRQ2 enabled.
0 (clear) –
External interrupt IRQ2 disabled.
5.3.3
External Interrupt Flags (INTF1 & INTF2)
INTF1
1 (set)
An interrupt on IRQ1 pin has occurred.
0 (clear) –
An interrupt on IRQ1 pin has not occurred.
After servicing this interrupt, this ag should be cleared by writing a “0” to this bit.
INTF2
1 (set)
An interrupt on IRQ2 pin has occurred.
0 (clear) –
An interrupt on IRQ2 pin has not occurred.
After servicing this interrupt, this ag should be cleared by writing a “0” to this bit.
5.4
Keyboard Interrupt
Port pins PA0-PA7 can be congured as keyboard interrupt lines with internal pull-up when the
control bits KEYE, KEYX4, KEYX5, KEYX6, and KEYX7 are set. A falling edge of negative pulse
with minimum width of TILIH (250ns) on any congured port A pins will cause a keyboard interrupt
to occur. A keyboard interrupt is recognized by the interrupt ag KEYF in the Miscellaneous
register (bit 4 of address $17). This ag is cleared by writing a logic “0” to this bit.
When the interrupt is recognized, the current state of the machine is pushed onto the stack and
the interrupt mask bit in the condition code register is set. This masks any further interrupt until
the present one is serviced. The keyboard interrupt causes the program counter to vector to
memory location $FFF0 and $FFF1 which contains the starting address of the interrupt’s service
routine.
When congured, the keyboard interrupt lines remain active in during Stop mode. This allows a
keyboard interrupt to wake up the MCU when in Stop mode. See Figure 5-4 for keyboard interrupt
circuit.
Address
bit 7
bit 6
bit 5
bit 4
bit 3
bit 2
bit 1
bit 0
State
on reset
Miscellaneous Register
$17
POR
INTF1 INTF2
KEYF
r000 ----
r=1 for POR; r=0 for RESET
TPG
41
F
re
e
sc
a
le
S
e
m
ic
o
n
d
u
c
to
r,
I
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
n
c
..
.
F
re
e
sc
a
le
S
e
m
ic
o
n
d
u
c
to
r,
In
c
..
.
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
相關(guān)PDF資料
PDF描述
MC68HC05F8FU 8-BIT, MROM, 1.8 MHz, MICROCONTROLLER, PQFP64
MC68HC05I8FU 8-BIT, MROM, 2 MHz, MICROCONTROLLER, PQFP64
MC68HC05J1DW 8-BIT, MROM, 2.1 MHz, MICROCONTROLLER, PDSO20
MC68HC05J1CP 8-BIT, MROM, 2.1 MHz, MICROCONTROLLER, PDIP20
MC68HC05J5AJDWR2 8-BIT, MROM, 2.1 MHz, MICROCONTROLLER, PDSO16
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
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