English
Language : 

MC908JL8CDWE Datasheet, PDF (170/212 Pages) Freescale Semiconductor, Inc – Microcontrollers
Keyboard Interrupt Module (KBI)
Address: $001A
Bit 7
6
5
4
3
2
1
Bit 0
Read: 0
0
0
0
KEYF
0
IMASKK MODEK
Write:
ACKK
Reset: 0
0
0
0
0
0
0
0
= Unimplemented
Figure 13-3. Keyboard Status and Control Register (KBSCR)
KEYF — Keyboard Flag Bit
This read-only bit is set when a keyboard interrupt is pending on port A. Reset clears the KEYF bit.
1 = Keyboard interrupt pending
0 = No keyboard interrupt pending
ACKK — Keyboard Acknowledge Bit
Writing a logic 1 to this write-only bit clears the keyboard interrupt request on port A. ACKK always
reads as logic 0. Reset clears ACKK.
IMASKK— Keyboard Interrupt Mask Bit
Writing a logic 1 to this read/write bit prevents the output of the keyboard interrupt mask from
generating interrupt requests on port A. Reset clears the IMASKK bit.
1 = Keyboard interrupt requests masked
0 = Keyboard interrupt requests not masked
MODEK — Keyboard Triggering Sensitivity Bit
This read/write bit controls the triggering sensitivity of the keyboard interrupt pins on port A. Reset
clears MODEK.
1 = Keyboard interrupt requests on falling edges and low levels
0 = Keyboard interrupt requests on falling edges only
13.5.2 Keyboard Interrupt Enable Register
The port-A keyboard interrupt enable register enables or disables each port-A pin to operate as a
keyboard interrupt pin
Address: $001B
Bit 7
6
5
4
3
2
1
Read:
Write:
Reset:
KBIE7
0
KBIE6
0
KBIE5
0
KBIE4
0
KBIE3
0
KBIE2
0
KBIE1
0
Figure 13-4. Keyboard Interrupt Enable Register (KBIER)
Bit 0
KBIE0
0
KBIE7–KBIE0 — Port-A Keyboard Interrupt Enable Bits
Each of these read/write bits enables the corresponding keyboard interrupt pin on port-A to latch
interrupt requests. Reset clears the keyboard interrupt enable register.
1 = KBIx pin enabled as keyboard interrupt pin
0 = KBIx pin not enabled as keyboard interrupt pin
MC68HC908JL8/JK8 • MC68HC08JL8/JK8 • MC68HC908KL8 Data Sheet, Rev. 3.1
170
Freescale Semiconductor