Click to expand full text
Driving the AT42QT2160 QMatrix Sensor IC
1. Introduction
This application note shows how the AT42QT2160-MMU (QT2160) 16-key QMatrix™ Sensor IC can be connected to a microprocessor to provide touch input functionality. Example code is provided to demonstrate how easily the QT2160 can be incorporated into a design. The code can be run “as is” or used as a starting point for QT2160based projects. The example compiles to under 1 Kbyte of code including all necessary I2C-compatible driver functions. The example code is written in the C programming language and can easily be adapted for many processor types. See Section 6 on page 8 for a listing of the complete program. Figure 1-1.