s908gz60cfa Freescale Semiconductor, Inc, s908gz60cfa Datasheet - Page 117

no-image

s908gz60cfa

Manufacturer Part Number
s908gz60cfa
Description
M68hc08 Microcontrollers
Manufacturer
Freescale Semiconductor, Inc
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
s908gz60cfaE
Manufacturer:
FREESCALE
Quantity:
1 780
Part Number:
s908gz60cfaE
Manufacturer:
FREESCALE
Quantity:
1 780
Part Number:
s908gz60cfaE
Manufacturer:
FREESCALE
Quantity:
8 000
Part Number:
s908gz60cfaE
Manufacturer:
FREESCALE
Quantity:
20 000
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.
Freescale Semiconductor
$001A
$001B
$0448
Addr.
KBD0
KBD7
KBIP0
KBIP7
If the keyboard interrupt is edge-sensitive only, a falling (or rising) edge on a keyboard pin does not
latch an interrupt request if another keyboard pin is already asserted. To prevent losing an interrupt
request on one pin because another pin is still asserted, software can disable the latter pin while it
is asserted.
If the keyboard interrupt is edge and level sensitive, an interrupt request is present as long as any
keyboard interrupt pin is asserted and the pin is keyboard interrupt enabled.
Keyboard Status and Control
Keyboard Interrupt Polarity
Keyboard Interrupt Enable
Register Name
Register (INTKBSCR)
Register (INTKBIER)
Register (INTKBIPR)
1
0
1
0
VECTOR FETCH
S
S
INTERNAL BUS
DECODER
See page 120.
See page 121.
See page 121.
MC68HC908GZ60 • MC68HC908GZ48 • MC68HC908GZ32 Data Sheet, Rev. 6
TO PULLUP/
PULLDOWN ENABLE
TO PULLUP/
PULLDOWN ENABLE
KBIE0
KBIE7
Reset:
Reset:
Reset:
Figure 9-2. Keyboard Module Block Diagram
Read:
Read:
Read:
Write:
Write:
Write:
RESET
ACKK
Figure 9-3. I/O Register Summary
KBIE7
KBIP7
Bit 7
0
0
0
0
= Unimplemented
KBIE6
KBIP6
6
0
0
0
0
MODEK
V
DD
KBIE5
KBIP5
5
0
0
0
0
D
CK
CLR
Q
KBIE4
KBIP4
4
0
0
0
0
KBIE3
KBIP3
KEYF
3
0
0
0
IMASKK
SYNCHRONIZER
ACKK
KBIE2
KBIP2
2
0
0
0
0
Functional Description
IMASKK
KBIE1
KBIP1
KEYF
1
0
0
0
KEYBOARD
INTERRUPT
REQUEST
MODEK
KBIE0
KBIP0
Bit 0
0
0
0
117

Related parts for s908gz60cfa