Keyboard Interrupt Module (KBI)
Functional Description
MC68HC908AB32
—
Rev. 1.0
Technical Data
MOTOROLA
Keyboard Interrupt Module (KBI)
347
19.5 Functional Description
Figure 19-2. Keyboard Interrupt Block Diagram
Writing to the KBIE4–KBIE0 bits in the keyboard interrupt enable register
independently enables or disables the corresponding port pin as a
keyboard interrupt pin. Enabling a keyboard interrupt pin also enables its
internal pull-up device. A logic 0 applied to an enabled keyboard
interrupt pin latches a keyboard interrupt request.
A keyboard interrupt is latched when one or more keyboard pins goes
low after all were high. The MODEK bit in the keyboard status and
control register controls the triggering mode of the keyboard interrupt.
•
If the keyboard interrupt is edge-sensitive only, a falling edge on a
keyboard pin does not latch an interrupt request if another
keyboard pin is already low. To prevent losing an interrupt request
on one pin because another pin is still low, software can disable
the latter pin while it is low.
•
If the keyboard interrupt is falling edge- and low level-sensitive, an
interrupt request is present as long as any keyboard pin is low.
If the MODEK bit is set, the keyboard interrupt pins are both falling edge-
and low level-sensitive, and both of the following actions must occur to
clear a keyboard interrupt request:
KBIE0
KBIE4
.
.
.
D
Q
CK
CLR
V
DD
MODEK
IMASKK
KEYBOARD
INTERRUPT FF
VECTOR FETCH
DECODER
ACKK
INTERNAL BUS
RESET
KBD4
KBD0
SYNCHRONIZER
KEYF
Keyboard
Interrupt
Request
TO PULLUP ENABLE
TO PULLUP ENABLE
Summary of Contents for MC68HC908AB32
Page 1: ...MC68HC908AB32 D REV 1 0 MC68HC908AB32 HCMOS Microcontroller Unit TECHNICAL DATA ...
Page 2: ......
Page 68: ...FLASH Memory Technical Data MC68HC908AB32 Rev 1 0 68 FLASH Memory MOTOROLA ...
Page 84: ...EEPROM Technical Data MC68HC908AB32 Rev 1 0 84 EEPROM MOTOROLA ...
Page 390: ...Ordering Information Technical Data MC68HC908AB32 Rev 1 0 390 Ordering Information MOTOROLA ...
Page 391: ......