English
Language : 

MC68HC908LJ24 Datasheet, PDF (408/464 Pages) Motorola, Inc – Microcontrollers
Keyboard Interrupt Module (KBI)
20.3 Features
Features of the keyboard interrupt module include the following:
• Eight keyboard interrupt pins with pullup devices
• Separate keyboard interrupt enable bits and one keyboard
interrupt mask
• Programmable edge-only or edge- and level- interrupt sensitivity
• Exit from low-lower modes
Addr.
$001B
$001C
Register Name
Bit 7
Keyboard Status and Read:
0
Control Register Write:
(KBSCR) Reset:
0
Keyboard Interrupt Read:
Enable Register Write:
(KBIER) Reset:
KBIE7
0
6
5
0
0
0
0
KBIE6 KBIE5
0
0
= Unimplemented
4
0
0
KBIE4
0
3
KEYF
0
KBIE3
0
2
0
ACKK
0
1
Bit 0
IMASKK MODEK
0
0
KBIE2 KBIE1 KBIE0
0
0
0
20.4 I/O Pins
Figure 20-1. KBI I/O Register Summary
The eight keyboard interrupt pins are shared with standard port I/O pins.
The full name of the KBI pins are listed in Table 20-1. The generic pin
name appear in the text that follows.
Table 20-1. Pin Name Conventions
KBI
Generic Pin Name
Full MCU Pin Name
Pin Selected for KBI Function by
KBIEx Bit in KBIER
KBI0–KBI3
KBI4
KBI5
KBI6
KBI7
PTA0/KBI0–PTA3/KBI3
PTD4/KBI4/T1CLK (1)
PTD5/KBI5/T2CLK(1)
PTD6/KBI6/SCL (1)
PTD7/KBI7/SDA (1)
KBIE0–KBIE3
KBIE4
KBIE5
KBIE6
KBIE7
Notes:
1. Do not enable the KBI function if the pin is used for TIM / MMIIC function.
Data Sheet
408
Keyboard Interrupt Module (KBI)
MC68HC908LJ24/LK24 — Rev. 2.1
Freescale Semiconductor