19.5.3 Keyboard Interrupt Enable Register
19.6 Wait Mode
19.7 Stop Mode
MC68HC908AB32
Rev. 1.0
—
MOTOROLA
The keyboard interrupt enable register enables or disables the
corresponding port pin to operate as a keyboard interrupt pin.
Address:
$0021
Bit 7
6
Read:
0
0
Write:
Port Pin:
Reset:
0
0
Figure 19-4. Keyboard Interrupt Enable Register (KBIER)
KBIE4–KBIE0 — Keyboard Interrupt Enable Bits
Each of these read/write bits enables the corresponding keyboard
interrupt pin to latch interrupt requests. Reset clears the keyboard
interrupt enable register.
1 = KBDx pin enabled as keyboard interrupt pin
0 = KBDx pin not enabled as keyboard interrupt pin
The keyboard modules remain active in wait mode. Clearing the
IMASKK bit in the keyboard status and control register enables keyboard
interrupt requests to bring the MCU out of wait mode.
The keyboard module remains active in stop mode. Clearing the
IMASKK bit in the keyboard status and control register enables keyboard
interrupt requests to bring the MCU out of stop mode.
Keyboard Interrupt Module (KBI)
Keyboard Interrupt Module (KBI)
5
4
3
0
KBIE4
KBIE3
PTH1/
PTH0/
KBD4
KBD3
0
0
0
Wait Mode
2
1
Bit 0
KBIE2
KBIE1
KBIE0
PTG2/
PTG1/
PTG0
KBD2
KBD1
/KBD0
0
0
0
Technical Data
351