ATAVRTS2080B Atmel, ATAVRTS2080B Datasheet - Page 172

BOARD EVAL FOR ATTINY88 LIBRARY

ATAVRTS2080B

Manufacturer Part Number
ATAVRTS2080B
Description
BOARD EVAL FOR ATTINY88 LIBRARY
Manufacturer
Atmel
Series
QTouch™r
Datasheets

Specifications of ATAVRTS2080B

Sensor Type
Touch, Capacitive
Sensing Range
1 Rotor, 1 Slider, and 2 Buttons/Keys
Interface
Application Programming Interface (API)
Voltage - Supply
1.8 V ~ 5.5 V
Embedded
Yes, MCU, 8-Bit
Utilized Ic / Part
ATtiny88
Tool Type
Development Kit
Cpu Core
AVR 8 / 32
Data Bus Width
8 bit
Core Architecture
AVR
Silicon Manufacturer
Atmel
Silicon Core Number
ATtiny88
Silicon Family Name
AVR
Kit Contents
Board CD Docs
Development Tool Type
Hardware / Software - Eval/Demo Board
Rohs Compliant
Yes
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Sensitivity
-
Lead Free Status / Rohs Status
 Details
Other names
Q4359953
The touch_api_2kdevice.h header file is the public header file which needs to be included in
user’s application. The type definitions and function prototypes of the API’s listed in
, 5.6.4 and 5.6.5
The touch_api_2kdevice.h header file is located in the library distribution in the following
directory.
The constant/symbol definitions can be placed in any of the following.
Global settings common to all sensors and sensor specific settings are listed in sections 5.3 and
5.4 respectively
7.5.2
Figure 5-6 illustrates the sequence of operations required to be performed to add touch to an end
application. By using the simple API’s as illustrated in the sequence flowchart, the user can add
touch sensing in his design.
7.5.2.1
7.5.2.1.1
When SNS and SNSK pins are available on different ports, the channel numbering follows the pin
numbering in the ports selected.
172
..\Atmel_QTouch_Libraries_4.x\Generic_QTouch_Libraries\include
Sequence of Operations and Using the API
1-channel library – supports 1 channel using 1 consecutive pins on different SNS and
SNSK ports (or) supports 1 channel using 2 consecutive pins on the same port used for
both SNS and SNSK lines. This library requires 1 or 2 port.
2-channel library – supports up to 2 channels using 2 consecutive pins on different SNS
and SNSK ports (or) supports up to 2 channels using 4 consecutive pins on the same
port used for both SNS and SNSK lines. This library requires 1 or 2 ports.
4-channel library – supports up to 4 channels using 4 consecutive pins on different SNS
and SNSK ports (or) supports up to 4 channels using 8 consecutive pins on the same
port used for both SNS and SNSK lines. This library requires 1 or 2 ports.
The channel numbers follow the pin numbers starting with the LSB (pin 0 is channel 0
and pin 3 is channel 3).
Since the channel numbers are fixed to the pins of the SNS and SNSK ports, if the
design calls for use of a subset of the pins available in the SNS and SNSK ports, the user
has to skip the channel numbers of the unused SNS and SNSK pins.
Channel Numbering
Channel numbering when routing SNS and SNSK pins to different ports
Defined user’s project options. All the constants/symbols must be defined for both the
compiler and assembler preprocessing definitions.
As an alternative, it is also declared in the touch_qt_config_2kdevice.h file. The user
may modify these defined values based on the requirements.
For example, on a 4 channel configuration using SNS and SNSK ports, if pin 2 is not
used for touch sensing ( on both SNS and SNSK ports), channel number 2 is
unavailable and care should be taken while configuring the channels and sensors to
avoid using this channel. Also, the SNS and SNSK masks are assigned properly as
explained in section 7.5.2.2
8207J-AT42-02/11
sections 5.6.3

Related parts for ATAVRTS2080B