參數(shù)資料
型號: MC68HC05PL4CSD
廠商: MOTOROLA INC
元件分類: 微控制器/微處理器
英文描述: 8-BIT, MROM, 2.56 MHz, MICROCONTROLLER, PDSO28
封裝: SSOP-28
文件頁數(shù): 25/98頁
文件大?。?/td> 1019K
代理商: MC68HC05PL4CSD
April 30, 1998
GENERAL RELEASE SPECIFICATION
MC68HC05PL4
INTERRUPTS
MOTOROLA
REV 2.0
4-7
4.7
KEYBOARD INTERRUPT
Port B has internal pull-up resistors (typically 100K
) and are enabled individually
by setting the corresponding bit in the Pull-Up Enable Register (PUER).
PB0 to PB3 have keyboard interrupt functions, with individual enable and ag bits
in registers $000B and $000C.
A falling edge on any one of the keyboard interrupt pins sets the corresponding
KIF ag in the Keyboard Interrupt Flag Register (KIFR) located at $000C. If the
associated KIE bit in the Keyboard Interrupt Enable Register (KIER) located at
$000B is also set, a keyboard interrupt is generated to the processor.
KIFx can be cleared by writing “1” to the bit. Resets clear both KIFR and KIER.
Keyboard Interrupt can wake up the MCU from WAIT mode or STOP mode.
NOTE
Since the Keyboard Interrupt function is associated with PB0-PB3, any falling
edge on these pins sets the corresponding KIF ag in the Keyboard Interrupt Flag
Register. Therefore, PB0-PB3 should be connected to internal or external pull-
ups, and KIFR cleared before these port pins switch from I/O to keyboard
application.
To use the keyboard interrupt function to exit from WAIT or STOP, it must be
enabled prior entering either of the power saving modes.
BIT 7
BIT 6
BIT 5
BIT 4
BIT 3
BIT 2
BIT 1
BIT 0
PUER
R
PUL7
PUL6
PUL5
PUL4
PUL3
PUL2
PUL1
PUL0
$000A
W
RESET
00000000
Figure 4-5. Pull-Up Enable Register (PUER)
BIT 7
BIT 6
BIT 5
BIT 4
BIT 3
BIT 2
BIT 1
BIT 0
KIER
R
KIE3
KIE2
KIE1
KIE0
$000B
W
RESET
00000000
Figure 4-6. Keyboard Interrupt Enable Register (KIER)
BIT 7
BIT 6
BIT 5
BIT 4
BIT 3
BIT 2
BIT 1
BIT 0
KIFR
R
KIF3
KIF2
KIF1
KIF0
$000C
W
RESET
00000000
Figure 4-7. Keyboard Interrupt Flag Register (KIFR)
相關(guān)PDF資料
PDF描述
MC68HC705PL4BDW 8-BIT, OTPROM, 2.56 MHz, MICROCONTROLLER, PDSO28
MC68HC705PL4BCDW 8-BIT, OTPROM, 2.56 MHz, MICROCONTROLLER, PDSO28
MC68HC705PL4DW 8-BIT, OTPROM, 2.56 MHz, MICROCONTROLLER, PDSO28
MC68HC05PL4BCSD 8-BIT, MROM, 2.56 MHz, MICROCONTROLLER, PDSO28
MC68HC05PL4P 8-BIT, MROM, 2.56 MHz, MICROCONTROLLER, PDIP28
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
MC68HC05PV8 制造商:FREESCALE 制造商全稱:Freescale Semiconductor, Inc 功能描述:Techinal Data - rev 1.9
MC68HC05PV8A 制造商:FREESCALE 制造商全稱:Freescale Semiconductor, Inc 功能描述:Techinal Data - rev 1.9
MC68HC05RC16 制造商:FREESCALE 制造商全稱:Freescale Semiconductor, Inc 功能描述:General Release Specification
MC68HC05RC16DW 制造商:FREESCALE 制造商全稱:Freescale Semiconductor, Inc 功能描述:General Release Specification
MC68HC05RC16FN 制造商:FREESCALE 制造商全稱:Freescale Semiconductor, Inc 功能描述:General Release Specification