|
MC68HC908LJ24 Datasheet, PDF (413/464 Pages) Motorola, Inc – Microcontrollers | |||
|
◁ |
Freescale Semiconductor, Inc.
Keyboard Interrupt Module (KBI)
Keyboard Interrupt Registers
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.
Address: $001C
Bit 7
6
5
4
3
2
1
Bit 0
Read:
KBIE7
Write:
KBIE6
KBIE5
KBIE4
KBIE3
KBIE2
KBIE1
KBIE0
Reset: 0
0
0
0
0
0
0
0
Figure 20-4. Keyboard Interrupt Enable Register (KBIER)
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.
MC68HC908LJ24/LK24 â Rev. 2
MOTOROLA
Keyboard Interrupt Module (KBI)
For More Information On This Product,
Go to: www.freescale.com
Data Sheet
413
|
▷ |