參數(shù)資料
型號(hào): 68HC05PL4B
廠(chǎng)商: Motorola, Inc.
英文描述: 8-Bit Microcontroller Units (MCU).(8位微控制器)
中文描述: 8位微控制器單元(MCU)。(8位微控制器)
文件頁(yè)數(shù): 31/98頁(yè)
文件大?。?/td> 1019K
代理商: 68HC05PL4B
April 30, 1998
GENERAL RELEASE SPECIFICATION
MC68HC05PL4
REV 2.0
INTERRUPTS
MOTOROLA
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 flag bits
in registers $000B and $000C.
A falling edge on any one of the keyboard interrupt pins sets the corresponding
KIF flag 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 flag 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
$000A
RESET
R
W
PUL7
PUL6
PUL5
PUL4
PUL3
PUL2
PUL1
PUL0
0
0
0
0
0
0
0
0
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
$000B
RESET
R
W
KIE3
KIE2
KIE1
KIE0
0
0
0
0
0
0
0
0
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
$000C
RESET
R
W
KIF3
KIF2
KIF1
KIF0
0
0
0
0
0
0
0
0
Figure 4-7. Keyboard Interrupt Flag Register (KIFR)
相關(guān)PDF資料
PDF描述
68HC705PL4 8-Bit Microcontroller Units (MCU).(8位微控制器)
68HC705PL4B 8-Bit Microcontroller Units (MCU).(8位微控制器)
68HC908JB8FS Freescale Semiconductor, Inc.
69190-405 50/100M SOT-23 CMOS RF LDO REGULATORS
6A20G CURRENT 6.0 Amperes VOLTAGE 50 to 1000 Volts
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
68HC05SB7 制造商:FREESCALE 制造商全稱(chēng):Freescale Semiconductor, Inc 功能描述:SPECIFICATION (General Release)
68HC05V12 制造商:FREESCALE 制造商全稱(chēng):Freescale Semiconductor, Inc 功能描述:General Release Specification
68HC05X1 制造商:FREESCALE 制造商全稱(chēng):Freescale Semiconductor, Inc 功能描述:SPECIFICATION (General Release)
68HC070KH12 制造商:MOTOROLA 制造商全稱(chēng):Motorola, Inc 功能描述:8 BIT MICROCONTROLLER UNITS
68HC08KH12 制造商:MOTOROLA 制造商全稱(chēng):Motorola, Inc 功能描述:8 BIT MICROCONTROLLER UNITS