Datasheet

26
9502A–AT42–07/08
AT42QT2160
7.6 Address 5: Slider Touch Position
Position: Last position of the touch on the slider
A change in this byte will cause the CHANGE
line to trigger.
7.7 Address 6: GPIO Read
GPIO1...3: If GPIO1...3 are set as inputs, returns the logic level on the respective pin. If a GPIO
is set as an output, the respective bit in GPIO Read will always report “0".
GPIOs set as inputs are only read once every cycle, i.e. every 16ms.
A change in this byte will cause the CHANGE
line to trigger.
7.8 Address 7: Sub-revision
This is an 8-bit sub-revision number that follows the code version (e.g. 4.0.0).
7.9 Address 10: Calibrate
Writing any nonzero value into this address will trigger the QT2160 to start a recalibration on all
enabled keys.
Table 7-6. Slider Touch Position
Addressb7b6b5b4b3b2b1b0
5Position
Table 7-7. GPIO Read
Addressb7b6b5b4b3b2b1b0
6 0 0 0 GPIO3 GPIO2 GPIO1 0 0
Table 7-8. Sub-revision
Addressb7b6b5b4b3b2b1b0
7 Sub-revision
Table 7-9. Calibrate
Addressb7b6b5b4b3b2b1b0
10 CALIBRATE