|
AK4184A Datasheet, PDF (25/36 Pages) Asahi Kasei Microsystems – TSC with Keypad Scanner and GPIO Expander | |||
|
◁ |
[AK4184A]
â Keypad Data Register (PAGE 0)
ΩÊÏοÏ
ÏÊλϨδελͷÏÎ¥ÊÏοÏ͸ÒԼͷ௨ÎͰ͢ɻ֤ÏÊλ͸ɺԡÍÎͨΩÊ൪߸(#1 ~ 30:Table
24)Îà£Í Î͢ɻKD1 ~ KD3, KS1 ~ KS3 Í 00H͸ɺΩÊÍÔ¡ÍÎͯÍͳÍÍͱÎà£Í ÎÍ¢É»à ·à 3 ΩÊÍà²à£
Í´Ô¡ÍÎͨà§ß¹ÎÍ°à¬à°ÕೳͰ͢ɻྫÍ͹ 2 ΩÊÝà¥à£Í¸ÉºKD1, KD2, KS1, KS2 Í´Ô¡ÍÎͨΩÊ൪߸Í֨ೲ
ÍÎɺKD3, KS3 ͸ 0 ͱͳÎÎ͢ɻÎͨɺ4 ΩÊÒà§à²à£Í´Ô¡ÍÎͨà§ß¹ÉºÎ¤Ï¥ÊÏοÏ(DERR bit, SERR bit)
Í â1âͱͳÎɺà²à£Í´KD1 ~ KD3, KS1 ~ KS3 Í·Ö¤ÏÊλ͸ 31(1FH)Îà¸¦Í Î͢ɻKD1 ~ KD3 ͸ɺcolumn Ïε
ΫÍÎͨÏÊλÎà¥à¾Í Î͢ɻKS1 ~ KS3 ͸ɺΩÊÏεΫͱcolumn ÏεΫÍÎͨÏÊλÎà¥à¾Í Î͢ɻÍÎ
ÎͷϨδελ͸ಡÎà¥Í ÞΫϦÎÊÍÎÎ͢ɻ
Addr NAME D15 D14 D13 D12 D11 D10 D9 D8 D7 D6 D5 D4 D3 D2 D1 D0
00H KPDATA1 DERR
KD3[4:0]
KD2[4:0]
KD1[4:0]
01H KPDATA2 SERR
KS3[4:0]
KS2[4:0]
KS1[4:0]
Table 21. Keypad Data Register Format
Bits
15
14:10
9:5
4:0
Name
DERR
KD3
KD2
KD1
Description
Keypad scan data error
Keypad scan result 3. can be masked by column mask
Keypad scan result 2. can be masked by column mask
Keypad scan result 1. can be masked by column mask
Table 22. Keypad Data 1 Register (addr: 00H)
Bits
15
14:10
9:5
4:0
Name
SERR
KS3
KS2
KS1
Description
Keypad status data error
Keypad status result 3. can be masked by both keymask and column mask
Keypad status result 2. can be masked by both keymask and column mask
Keypad status result 1. can be masked by both keymask and column mask
Table 23. Keypad Data 2 Register (addr: 01H)
ΩÊÏοÏ
Í·ß¦à¾»Í±à¬°Ô Í¢ÎΩÊ൪߸͸ÒԼͷ௨ÎͰ͢ɻ
C1 C2 C3 C4 C5 C6
R1 #1 #6 #11 #16 #21 #26
R2 #2 #7 #12 #17 #22 #27
R3 #3 #8 #13 #18 #23 #28
R4 #4 #9 #14 #19 #24 #29
R5 #5 #10 #15 #20 #25 #30
Table 24. Keypad to Key number Mapping
MS0947-J-00
-25-
2008/04
|
▷ |