11.07.2015 Views

Atmel QTouch Library User Guide

Atmel QTouch Library User Guide

Atmel QTouch Library User Guide

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Figure 5-20 : Specifying QMatrix acquisition library parameters in AVR Studio IDE projectUsing the example projectsThe sample applications are shipped with the complete set of files required to configure, build,execute and test the application for both IAR-workbench and AVR Studio IDEs.The sample applications are provided for the evaluation kits and a few configurations for selectdevices.The user can use the sample applications as a reference or baseline to configure differentconfigurations. Please ensure to change the configuration settings in the project options to matchthe device selectedTo change the configuration settings of the sample applications,1) Select the configuration from the list of configurations available as shown in section5.6.11.3.12) If the user wishes to have a new name for the configuration to be used, a newconfiguration can be added to the project3) If a different variant of the library needs to be used, remove the existing library in thatparticular configuration and add the library variant that you require. Please refer to libraryselection guide for details on the different library variants. Update the linker options tospecify the library to be linked4) Specify the tunable configuration parameters for the project as illustrated in 5.6.11.3.25) For QMatrix on XMEGA devices, please check if the pre-processor symbol _ATXMEGA_is added in the project space or not.Adjusting the Stack size when using IAR IDEThe example projects for IAR IDE, the CSTACK and RSTACK values are configured to accountfor the requirements of the <strong>QTouch</strong> libraries and the included main.c file which illustrates theusage of the touch API.• Adjust the CSTACK and RSTACK values appropriately based on additional softwareintegrated or added to the examples.768207K-AT42-09/11

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!