ak4184a AKM Semiconductor, Inc., ak4184a Datasheet - Page 23

no-image

ak4184a

Manufacturer Part Number
ak4184a
Description
Tsc With Keypad Scanner And Gpio Expander
Manufacturer
AKM Semiconductor, Inc.
Datasheet
Addr
01H
02H
KPMASK1
KPMASK2
The keypad debounce time interval is determined by [DBN2:DBN0]. The default setting is 1ms.
The keypad hold time is determined by [HLD2:HLD0]. The default setting is 100μs.
■ Keypad Mask Register (PAGE 1)
This register controls the key to be masked after a debounce key scan. The keypad mask register format is described in
the following table. This register setting is valid for the data in the KPDATA2 register.
NAME
The number of the keypad corresponds to each bit of this register .This relationship is shown in
KPMASK2 default setting is 0000H (disable keypad data masked on KPDATA2)
MS0947-E-00
D15
0
0
KMx
HLD2
KM15
KM30
0
1
D14
0
0
0
0
1
1
1
1
Disable keypad data masked (default)
Enable keypad data masked
KM14
KM29
HLD1
D13
0
0
1
1
0
0
1
1
DBN2
KM13
KM28
0
0
0
0
1
1
1
1
D12
HLD0
0
1
0
1
0
1
0
1
DBN1
Table 14. Keypad Debounce Time Interval
KM12
KM27
Table 16. Keypad Mark Register Format
D11
Table 15. Keypad Hold Time Control
0
0
1
1
0
0
1
1
Wait 100μs for next Debounce scan (default)
Wait 1 debounce time interval to the next debounce scan
Wait 2 debounce time interval to the next debounce scan
Wait 3 debounce time interval to the next debounce scan
Wait 4 debounce time interval to the next debounce scan
Wait 5 debounce time interval to the next debounce scan
Wait 6 debounce time interval to the next debounce scan
Wait 7 debounce time interval to the next debounce scan
Table 17. Keypad Mask bit
KM11
KM26
D10
DBN0
0
1
0
1
0
1
0
1
KM10
KM25
- 23 -
D9
Debounce time: 1ms (default)
Debounce time: 2ms
Debounce time: 5ms
Debounce time: 10ms
Debounce time: 20ms
Debounce time: 50ms
Debounce time: 80ms
Debounce time: 100ms
Description
KM24
KM9
D8
Function
Function
KM23
KM8
D7
KM22
KM7
D6
KM21
KM6
D5
KM20
KM5
D4
Table
KM19
KM4
D3
24. KPMASK1,
[AK4184A]
2008/04
KM18
KM3
D2
KM17
KM2
D1
KM16
KM1
D0

Related parts for ak4184a