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.

Compiler tool chain support for ATtiny40The <strong>QTouch</strong> libraries for ATtiny40 devices are supported for the following compiler tool chains.ToolIAR Embedded Workbench for <strong>Atmel</strong> AVR.IAR Compiler.Version5.51Table 20 Compiler tool chains support for ATtiny40 <strong>QTouch</strong> <strong>Library</strong>Overview of <strong>QTouch</strong> <strong>Library</strong> for ATtiny40For an overview of <strong>QTouch</strong> method based capacitive touch acquisition, refer Section 5.2.1<strong>QTouch</strong> Acquistion method.The <strong>QTouch</strong> <strong>Library</strong> for ATtiny40 device allows for Sensor configuration and Sensor Acquisitionparameter setting. Based on the input Sensor configuration, the <strong>QTouch</strong> <strong>Library</strong> takes care of thecapacitive touch acquisition data capture operations on the external capacitive touch sensors.The captured Touch Data and Touch Button ON/OFF Status information is then available for userapplication.The diagram below indicates a Typical Sensor arrangement using the Tiny40 device. For onechannel configuration, two ADC pins are used for acquisition. For number of touch buttonsgreater than one, no extra ADC pins are used. Port pins PA0 to PA7 and PB0 to PB3 can beused to support upto 12 Touch Buttons. The Touch Buttons may be connected anywhere on thesaid port pins.The Sensor numbering is always in the increasing order of Port pin.VCCGNDATtiny40PA0PA1PA2PA3PA4PA5PA6PA7PB0PB1PB2PB31Kohm1Kohm1Kohm1Kohm1Kohm1Kohm1Kohm1Kohm1Kohm1Kohm1Kohm1KohmTouch Button 0Touch Button 1Touch Button 2Touch Button 3Touch Button 4Touch Button 5Touch Button 6Touch Button 7Touch Button 8Touch Button 9Touch Button 10Touch Button 11175

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

Saved successfully!

Ooh no, something went wrong!