Datasheet

Keyboard Interrupt Module (KBI)
Keyboard Interrupt Registers
MC68HC908LJ24/LK24 — Rev. 2.1 Data Sheet
Freescale Semiconductor Keyboard Interrupt Module (KBI) 413
IMASKK — Keyboard Interrupt Mask Bit
Writing a logic 1 to this read/write bit prevents the output of the
keyboard interrupt mask from generating interrupt requests. Reset
clears the IMASKK bit.
1 = Keyboard interrupt requests masked
0 = Keyboard interrupt requests not masked
MODEK — Keyboard Triggering Sensitivity Bit
This read/write bit controls the triggering sensitivity of the keyboard
interrupt pins. Reset clears MODEK.
1 = Keyboard interrupt requests on falling edges and low levels
0 = Keyboard interrupt requests on falling edges only
20.6.2 Keyboard Interrupt Enable Register
The keyboard interrupt enable register individually enables or disables
the PTA0/KBI0–PTA3/KBI3 and PTD4/KBI4–PTD7/KBI7 pins to operate
as a keyboard interrupt pin.
KBIE7–KBIE0 — Keyboard Interrupt Enable Bits
Each of these read/write bits enables the corresponding keyboard
interrupt pin to latch interrupt requests. Reset clears the keyboard
interrupt enable register.
1 = KBIx pin enabled as keyboard interrupt pin
0 = KBIx pin not enabled as keyboard interrupt pin
NOTE: KBI5–KBI0 pin has an internal pullup device when KBIEx is set.
KBI7–KBI6 pin does not have an internal pullup device.
Address: $001C
Bit 7654321Bit 0
Read:
KBIE7 KBIE6 KBIE5 KBIE4 KBIE3 KBIE2 KBIE1 KBIE0
Write:
Reset:00000000
Figure 20-4. Keyboard Interrupt Enable Register (KBIER)