mc68hc908ap8cfa Freescale Semiconductor, Inc, mc68hc908ap8cfa Datasheet - Page 282

no-image

mc68hc908ap8cfa

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

Related parts for mc68hc908ap8cfa