
Registers
MC68HC908QL4  MC68HC908QL3  MC68HC908QL2 Data Sheet, Rev. 4
Freescale Semiconductor
95
9.8.2  Keyboard Interrupt Enable Register (KBIER)
KBIER enables or disables each keyboard interrupt pin.
KBIE5–KBIE0 — Keyboard Interrupt Enable Bits
Each of these read/write bits enables the corresponding keyboard interrupt pin to latch KBI interrupt 
requests. 
1 = KBIx pin enabled as keyboard interrupt pin
0 = KBIx pin not enabled as keyboard interrupt pin
NOTE
KBIEx bit does not automatically enable the internal pullup/pulldown 
device. Internal pullup/pulldown device is selected using the corresponding 
PTAPUEx bit. Refer to PTAPUE bit description, see 
12.2.3 Port A Input 
Pullup/Down Enable Register
.
AWUIE bit is not used in conjunction with the keyboard interrupt feature. To 
see a description of this bit, see 
Chapter 4 Auto Wakeup Module (AWU)
9.8.3  Keyboard Interrupt Polarity Register (KBIPR)
KBIPR determines the polarity of the enabled keyboard interrupt pin and enables the appropriate pullup 
or pulldown device.
KBIP5–KBIP0 — Keyboard Interrupt Polarity Bits
Each of these read/write bits enables the polarity of the keyboard interrupt detection. 
1 = Keyboard polarity is high level and/or rising edge. Port pulldown is enabled if the corresponding 
PTAPUE bit is set.
0 = Keyboard polarity is low level and/or falling edge. Port pullup is enabled if the corresponding 
PTAPUE bit is set.
Bit 7
6
5
4
3
2
1
Bit 0
Read:
0
AWUIE
KBIE5
KBIE4
KBIE3
KBIE2
KBIE1
KBIE0
Write:
Reset:
0
0
0
0
0
0
0
0
=Unimplemented
Figure 9-4. Keyboard Interrupt Enable Register (KBIER)
Bit 7
6
5
4
3
2
1
Bit 0
Read:
0
0
KBIP5
KBIP4
KBIP3
KBIP2
KBIP1
KBIP0
Write:
Reset:
0
0
0
0
0
0
0
0
=Unimplemented
Figure 9-5. Keyboard Interrupt Polarity Register (KBIPR)