Freescale Semiconductor, Inc.
Keyboard/External Interrupt Module (KBI)
I/O Registers
14.6.2 Keyboard Interrupt Enable Register
The keyboard interrupt enable register (INTKBIER) enables or disables
each port A pin to operate as a keyboard interrupt pin.
Address: $001B
Bit 7
0
6
KBIE6
0
5
KBIE5
0
4
KBIE4
0
3
KBIE3
0
2
KBIE2
0
1
KBIE1
0
Bit 0
0
Read:
Write:
Reset:
0
0
= Unimplemented
Figure 14-6. Keyboard Interrupt Enable Register (INTKBIER)
KBIE6–KBIE1 — Keyboard Interrupt Enable Bits
Each of these read/write bits enables the corresponding keyboard
interrupt pin to latch interrupt requests. These bits also enable the
corresponding internal pullup resistor which is enabled only when the
bit is set. Reset clears the keyboard interrupt enable register.
1 = PAx pin enabled as keyboard interrupt pin and corresponding
internal pullup resistor enabled
0 = PAx pin not enabled as keyboard interrupt pin and
corresponding internal pullup resistor disabled
NOTE: Setting a keyboard interrupt enable bit (KBIEx) forces the corresponding
keyboard interrupt pin to be an input, overriding the data direction
register. However, the data direction register bit must be a logic 0 for
software to read the pin.
MC68HC908RFRK2
MOTOROLA
AdvanceInformation
195
Keyboard/External Interrupt Module (KBI)
For More Information On This Product,
Go to: www.freescale.com