11.07.2015 Views

Atmel QTouch Library User Guide

Atmel QTouch Library User Guide

Atmel QTouch Library User Guide

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

6.4.6 <strong>QTouch</strong> <strong>Library</strong> ATtiny20 Example projects ......................................................................... 1736.4.7 <strong>QTouch</strong> <strong>Library</strong> ATtiny20 code and data memory requirements .......................................... 173Table 19 <strong>QTouch</strong> <strong>Library</strong> for ATtiny20 Memory requirements ...................................... 1746.5 <strong>QTouch</strong> <strong>Library</strong> for ATtiny40 device.............................................................................. 1746.5.1 Salient Features of <strong>QTouch</strong> <strong>Library</strong> for ATtiny40 ................................................................. 1746.5.1.1 <strong>QTouch</strong> method sensor ...................................................................................... 1746.5.2 Compiler tool chain support for ATtiny40 ............................................................................. 175Table 20 Compiler tool chains support for ATtiny40 <strong>QTouch</strong> <strong>Library</strong> ........................... 1756.5.3 Overview of <strong>QTouch</strong> <strong>Library</strong> for ATtiny40 ............................................................................ 175Figure 51 Schematic overview of <strong>QTouch</strong> on Tiny40 ................................................... 1766.5.4 API Flow diagram for ATtiny40 ............................................................................................. 176Figure 52 <strong>QTouch</strong> method for Tiny40 API Flow diagram ............................................. 1776.5.5 <strong>QTouch</strong> <strong>Library</strong> configuration parameters for ATtiny40 ........................................................ 178Table 21 <strong>QTouch</strong> <strong>Library</strong> for ATtiny40 Configuration parameters ................................ 1786.5.6 <strong>QTouch</strong> <strong>Library</strong> ATtiny40 Example projects ......................................................................... 1786.5.7 <strong>QTouch</strong> <strong>Library</strong> ATtiny40 code and data memory requirements .......................................... 179Table 22 <strong>QTouch</strong> <strong>Library</strong> for ATtiny40 Memory requirements ...................................... 1797 Generic <strong>QTouch</strong> Libraries for 2K Devices .............................................. 1797.1 Introduction .................................................................................................................... 1797.2 Devices supported ........................................................................................................ 1807.3 Salient Features of <strong>QTouch</strong> <strong>Library</strong> for 2K Devices...................................................... 1807.4 <strong>Library</strong> Variants ............................................................................................................. 1807.5 <strong>QTouch</strong> API for 2K Devices and Usage ........................................................................ 1807.5.1 touch_api_2kdevice.h - public header file ............................................................................ 1807.5.2 Sequence of Operations and Using the API ......................................................................... 1817.5.2.1 Channel Numbering ........................................................................................... 1817.5.2.1.1 Channel numbering when routing SNS and SNSK pins to different ports .... 1817.5.2.1.2 Channel numbering when routing SNS and SNSK pins to the same port .... 1817.5.2.2 Rules For Configuring SNS and SNSK masks for 2K Devices .......................... 1827.5.2.2.1 Configuring SNS and SNSK masks in case of Interport: .............................. 1827.5.2.2.2 Configuring SNS and SNSK masks in case of Intraport: .............................. 1827.5.3 Integrating <strong>QTouch</strong> libraries for 2K Devices in your application ........................................... 1837.6 MISRA Compliance Report ........................................................................................... 1847.6.1 What is covered ................................................................................................................... 1847.6.2 Target Environment .............................................................................................................. 1847.6.3 Deviations from MISRA C Standards ................................................................................... 1847.6.3.1 <strong>QTouch</strong> acquisition method libraries for 2K devices .......................................... 1848 Revision History ........................................................................................ 185Disclaimer ........................................................................................................ 18788207K-AT42-09/11

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

Saved successfully!

Ooh no, something went wrong!