at42qt1481 ATMEL Corporation, at42qt1481 Datasheet - Page 56

no-image

at42qt1481

Manufacturer Part Number
at42qt1481
Description
48-key Qmatrix Ic
Manufacturer
ATMEL Corporation
Datasheet
5.33
Some commands return bit-fields related to keys. For example, command 0x07 (report all keys) returns 6 bytes containing flag bits, one per key, to
indicate which keys are reporting touches.
The key number is related to the X and Y scan lines which address each particular key. Each byte in the return stream represents one set of keys
along a Y line, i.e. up to 8 keys. For example, key 0 is at location X0, Y0 and key 29 is at location X5, Y3
Table 5-6.
(Y Line)
Byte
0
1
2
3
4
5
Key Mapping
Key Mapping
15
23
31
39
47
7
7
Note:
Byte 0 is returned first.
14
22
30
38
46
6
6
Table 5-6
shows the byte and bit order of the keys, and the key number reported in each bit.
13
21
29
37
45
5
5
12
20
28
36
44
4
4
Bit (X Line)
11
19
27
35
43
3
3
10
18
26
34
42
2
2
17
25
33
41
1
1
9
16
24
32
40
0
0
8

Related parts for at42qt1481