English
Language : 

MC908JL3ECPE Datasheet, PDF (117/180 Pages) Freescale Semiconductor, Inc – Microcontrollers
Chapter 12
Keyboard Interrupt Module (KBI)
12.1 Introduction
The keyboard interrupt module (KBI) provides seven independently maskable external interrupts which
are accessible via PTA0–PTA6 pins.
12.2 Features
Features of the keyboard interrupt module include the following:
• Seven keyboard interrupt pins with separate keyboard interrupt enable bits and one keyboard
interrupt mask
• Software configurable pull-up device if input pin is configured as input port bit
• Programmable edge-only or edge- and level- interrupt sensitivity
• Exit from low-power modes
Addr.
Register Name
Bit 7
Read: 0
$001A
Keyboard Status and Control
Register (KBSCR)
Write:
Reset: 0
Read: 0
$001B
Keyboard Interrupt Enable
Register (KBIER)
Write:
Reset: 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
KBIE2
0
1
Bit 0
IMASKK MODEK
0
0
KBIE1 KBIE0
0
0
Figure 12-1. KBI I/O Register Summary
12.3 I/O Pins
The seven keyboard interrupt pins are shared with standard port I/O pins. The full name of the KBI pins
are listed in Table 12-1. The generic pin name appear in the text that follows.
Table 12-1. Pin Name Conventions
KBI
Generic Pin Name
Full MCU Pin Name
Pin Selected for KBI Function
by KBIEx Bit in KBIER
KBI0–KBI5
PTA0/KBI0–PTA5/KBI5
KBIE0–KBIE5
KBI6
RCCLK/PTA6/KBI6(1)
KBIE6
1. RCCLK/PTA6/KBI6 pin is only available on MC68HRC908JL3E/JK3E/JK1E devices (RC option).
MC68HC908JL3E Family Data Sheet, Rev. 4
Freescale Semiconductor
117