English
Language : 

AK4184 Datasheet, PDF (23/36 Pages) Asahi Kasei Microsystems – TSC with Keypad Scanner and GPIO Expander
[AK4184]
The keypad debounce time interval is determined by [DBN2:DBN0]. The default setting is 1ms.
DBN2
0
0
0
0
1
1
1
1
DBN1 DBN0
Function
0
0 Debounce time: 1ms (default)
0
1 Debounce time: 2ms
1
0 Debounce time: 5ms
1
1 Debounce time: 10ms
0
0 Debounce time: 20ms
0
1 Debounce time: 50ms
1
0 Debounce time: 80ms
1
1 Debounce time: 100ms
Table 14. Keypad Debounce Time Interval
The keypad hold time is determined by [HLD2:HLD0]. The default setting is 100μs.
HLD2
0
0
0
0
1
1
1
1
HLD1
0
0
1
1
0
0
1
1
HLD0
Function
0 Wait 100μs for next Debounce scan (default)
1 Wait 1 debounce time interval to the next debounce scan
0 Wait 2 debounce time interval to the next debounce scan
1 Wait 3 debounce time interval to the next debounce scan
0 Wait 4 debounce time interval to the next debounce scan
1 Wait 5 debounce time interval to the next debounce scan
0 Wait 6 debounce time interval to the next debounce scan
1 Wait 7 debounce time interval to the next debounce scan
Table 15. Keypad Hold Time Control
■ 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.
Addr NAME D15 D14 D13 D12 D11 D10 D9
D8
D7
D6
D5
D4
D3
D2
D1
D0
01H KPMASK1 0 KM15 KM14 KM13 KM12 KM11 KM10 KM9 KM8 KM7 KM6 KM5 KM4 KM3 KM2 KM1
02H KPMASK2 0 KM30 KM29 KM28 KM27 KM26 KM25 KM24 KM23 KM22 KM21 KM20 KM19 KM18 KM17 KM16
Table 16. Keypad Mark Register Format
KMx
0
1
Description
Disable keypad data masked (default)
Enable keypad data masked
Table 17. Keypad Mask bit
The number of the keypad corresponds to each bit of this register .This relationship is shown in Table 24. KPMASK1,
KPMASK2 default setting is 0000H (disable keypad data masked on KPDATA2)
MS0603-E-00
23
2007/04