|
MC68HC908LJ12 Datasheet, PDF (363/413 Pages) Freescale Semiconductor, Inc – 8-bit microcontroller units | |||
|
◁ |
Keyboard Interrupt Module (KBI)
19.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
Figure 19-1. KBI I/O Register Summary
2
0
ACKK
0
1
Bit 0
IMASKK MODEK
0
0
KBIE2 KBIE1 KBIE0
0
0
0
19.4 I/O Pins
The eight keyboard interrupt pins are shared with standard port I/O pins.
The full name of the KBI pins are listed in Table 19-1. The generic pin
name appear in the text that follows.
KBI
Generic Pin Name
KBI0âKBI3
KBI4âKBI7
Table 19-1. Pin Name Conventions
Full MCU Pin Name
PTA0/KBI0âPTA3/KBI3
PTD4/KBI4âPTD7/KBI7
Pin Selected for KBI Function by
KBIEx Bit in KBIER
KBIE0âKBIE3
KBIE4âKBIE7
Technical Data
364
Keyboard Interrupt Module (KBI)
MC68HC908LJ12 â Rev. 2.1
Freescale Semiconductor
|
▷ |