lm8328tmx National Semiconductor Corporation, lm8328tmx Datasheet - Page 22

no-image

lm8328tmx

Manufacturer Part Number
lm8328tmx
Description
Mobile I/o Companion Supporting Keyscan, I/o Expansion Pwm, And Access.bus Host Interface
Manufacturer
National Semiconductor Corporation
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
LM8328TMX
Manufacturer:
NS/国半
Quantity:
20 000
Part Number:
lm8328tmx/NOPB
Manufacturer:
Texas Instruments
Quantity:
10 000
www.national.com
13.1.9 KBDCODE0 - Keyboard Code Register 0
The key code detected by the keyboard scan can be read from
the registers KBDCODE0: KBDCODE3. Up to 4 keys can be
detected simultaneously. Each KBDCODE register includes
a bit (MULTIKEY) indicating if another key has been detected.
13.1.10 KBDCODE1 - Keyboard Code Register 1
13.1.11 KBDCODE2 - Keyboard Code Register 2
Register - Name
Register - Name
Register - Name
Register - Name
KEYROW[2:0]
KEYROW[2:0]
KEYROW[2:0]
KEYCOL[3:0]
KEYCOL[3:0]
KEYCOL[3:0]
KBDCODE0
KBDCODE1
KBDCODE2
MSKELINT
Bit - Name
MULTIKEY
Bit - Name
MULTIKEY
Bit - Name
MULTIKEY
(reserved)
MSKEINT
MSKSINT
MSKLINT
Address
Address
Address
Address
0x0B
0x0C
0x0D
7:4
Bit
6:4
3:0
Bit
6:4
3:0
Bit
6:4
3:0
3
2
1
0
7
7
7
TABLE 27. KBDCODE0 - Keyboard Code Register 0
TABLE 28. KBDCODE1 - Keyboard Code Register 1
TABLE 29. KBDCODE2 - Keyboard Code Register 2
Default
Default
Default
Default
Default
Default
Type
0x0
0x0
0x1
0x1
0x0
0x7
0xF
0x0
0x7
0xF
0x0
0x7
0xF
R
R
R
(reserved)
0: keyboard event lost interrupt RELINT triggers IRQ line
1: keyboard event lost interrupt RELINT is masked
0: keyboard event interrupt REVINT triggers IRQ line
1: keyboard event interrupt REVINT is masked
0: keyboard lost interrupt RKLINT triggers IRQ line
1: keyboard lost interrupt RKLINT is masked
0: keyboard status interrupt RSINT triggers IRQ line
1: keyboard status interrupt RSINT is masked
Register Function
Holds the row and column information of the first detected key
if this bit is 1 another key is available in KBDCODE1 register
ROW index of detected key (0 to 7)
Column index of detected (0 to 11, 12 for special function key.
Holds the row and column information of the second detected key
if this bit is 1 another key is available in KBDCODE2 register
ROW index of detected key (0 to 7)
Column index of detected key (0 to 11, 12 for special function key).
Holds the row and column information of the third detected key
if this bit is 1 another key is available in KBDCODE3 register
ROW index of detected key (0 to 7)
Column index of detected key (0 to 11, 12 for special function key).
22
Please note: Reading out all key code registers (KBDCODE0
to KBDCODE3) will automatically reset the keyboard scan in-
terrupt RSINT the same way as an active write access into bit
KBDIC of the interrupt clear register does. Reading 0x7F from
the KBDCODE0 register means that no key was pressed.
Register Function
Register Function
Register Function
Bit Function
Bit Function
Bit Function

Related parts for lm8328tmx