English
Language : 

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