|
MC68HC908JB16_13 Datasheet, PDF (290/332 Pages) Freescale Semiconductor, Inc – Microcontrollers | |||
|
◁ |
Keyboard Interrupt Module (KBI)
16.3 Features
Features of the keyboard interrupt module include:
⢠Eight keyboard interrupt pins with separate keyboard interrupt
enable bits and one keyboard interrupt mask
⢠Hysteresis buffers
⢠Programmable edge-only or edge- and level-interrupt sensitivity
⢠Exit from low-power modes
Addr.
Register Name
Keyboard Status and Control Read:
$0016
Register Write:
(KBSCR) Reset:
$0017
Keyboard Interrupt Enable Read:
Register Write:
(KBIER) Reset:
Bit 7
0
0
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
Figure 16-1. I/O Register Summary
16.4 Pin Name Conventions
The KBI share eight I/O pins with eight port A I/O pins. The full name of
the I/O pins are listed in Table 16-1. The generic pin name appear in the
text that follows.
Table 16-1. Pin Name Conventions
Full MCU Pin Name
PTA7/KBA7âPTA0/KBA0
KBI
Generic Pin Name
KBA7âKBA0
Pin Selected for KBI Function by
KBIEx Bit in KBIER
KBIE7âKBIE0
Technical Data
290
Keyboard Interrupt Module (KBI)
MC68HC908JB16 â Rev. 1.1
Freescale Semiconductor
|
▷ |