This section illustrates the key steps required in integrating the QTouch™ library in your application.
For your design, you would need the following information to select the correct library variant
Device to be used for the design – Current library supports AT32UC3L064, AT32UC3L032, AT32UC3L016 device variants.
Compiler platform you intend to use to integrate the libraries.
Copy the library variant that was selected in step one to your project’s working directory or update your project to point to the library selected.
Include touch_api_at32uc3l.h & touch_config_at32uc3l.h header files of the QTouch™ library in your application. The header files can be found in the library installation folder.
Initialize/create and use the Touch APIs in your application
Set the various configuration options using the touch_config_at32uc3l.h file.
Initialize and configure the sensors in the Host application.
The Host application also has to provide the required timing so as to perform Touch measurement at regular intervals.
General application notes
Ensure that there are no conflicts between the resources used by the Touch library and the host application
Ensure that the stack size is adjusted to factor in the stack depth required for the operation of the touch libraries.