English
Language : 

MC908GR32AVFAE Datasheet, PDF (119/314 Pages) Freescale Semiconductor, Inc – Microcontrollers
I/O Registers
9.7.2 Keyboard Interrupt Enable Register
The 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
Bit 0
Read:
KBIE7
Write:
KBIE6
KBIE5
KBIE4
KBIE3
KBIE2
KBIE1
KBIE0
Reset: 0
0
0
0
0
0
0
0
Figure 9-5. Keyboard Interrupt Enable Register (INTKBIER)
KBIE7–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 = PTAx pin enabled as keyboard interrupt pin
0 = PTAx pin not enabled as keyboard interrupt pin
9.7.3 Keyboard Interrupt Polarity Register
The KBIP7–KBIP0 bits determine the polarity of the keyboard pin detection. These bits along with the
MODEK bit determine whether a logic level (0 or 1) and/or a falling (or rising) edge is being detected. The
KBIPx bits also select the pullup resistor (KBIPx = 0) or pulldown resistor (KBIPx = 1) for each enabled
keyboard interrupt pin.
Address: $0448
Read:
Write:
Bit 7
KBIP7
6
KBIP6
5
KBIP5
4
KBIP4
3
KBIP3
2
KBIP2
1
KBIP1
Bit 0
KBIP0
Reset: 0
0
0
0
0
0
0
0
Figure 9-6. Keyboard Interrupt Polarity Register (INTKBIPR)
KBIP7–KBIP0 — Keyboard Interrupt Polarity Bits
Each of these read/write bits enables the polarity of the keyboard interrupt pin. Reset clears the
keyboard interrupt polarity register.
1 = Keyboard polarity is rising edge and/or high level
0 = Keyboard polarity is falling edge and/or low level
MC68HC908GR60A • MC68HC908GR48A • MC68HC908GR32A Data Sheet, Rev. 5
Freescale Semiconductor
119