参数资料
型号: ATAVRQTOUCHX
厂商: Atmel
文件页数: 25/185页
文件大小: 0K
描述: BOARD EVAL CAPACITIVE TOUCH
产品培训模块: Touch Interface Solutions
Qtouch- Create your own Touch Application
megaAVR Introduction
特色产品: ATAVRXPLAIN Evaluation & Demonstration Kit
标准包装: 1
系列: QTouch™
传感器类型: 触摸,电容式
传感范围: 1 个滑块,1 个转轮,2 个按钮
接口: USB
电源电压: 5V,USB
嵌入式: 是,MCU,8 位
已供物品:
已用 IC / 零件: AT90USB1287,ATxmega128A1
第1页第2页第3页第4页第5页第6页第7页第8页第9页第10页第11页第12页第13页第14页第15页第16页第17页第18页第19页第20页第21页第22页第23页第24页当前第25页第26页第27页第28页第29页第30页第31页第32页第33页第34页第35页第36页第37页第38页第39页第40页第41页第42页第43页第44页第45页第46页第47页第48页第49页第50页第51页第52页第53页第54页第55页第56页第57页第58页第59页第60页第61页第62页第63页第64页第65页第66页第67页第68页第69页第70页第71页第72页第73页第74页第75页第76页第77页第78页第79页第80页第81页第82页第83页第84页第85页第86页第87页第88页第89页第90页第91页第92页第93页第94页第95页第96页第97页第98页第99页第100页第101页第102页第103页第104页第105页第106页第107页第108页第109页第110页第111页第112页第113页第114页第115页第116页第117页第118页第119页第120页第121页第122页第123页第124页第125页第126页第127页第128页第129页第130页第131页第132页第133页第134页第135页第136页第137页第138页第139页第140页第141页第142页第143页第144页第145页第146页第147页第148页第149页第150页第151页第152页第153页第154页第155页第156页第157页第158页第159页第160页第161页第162页第163页第164页第165页第166页第167页第168页第169页第170页第171页第172页第173页第174页第175页第176页第177页第178页第179页第180页第181页第182页第183页第184页第185页
RECAL_100
RECAL_50
RECAL_25
RECAL_12_5
RECAL_6_25
100% recalibration threshold
50% recalibration threshold
25% recalibration threshold
12.5% recalibration threshold
6.25% recalibration threshold
5.6.4 Data structures
This section lists the data structures that hold sensor status, settings, and diagnostics information
5.6.4.1
qt_touch_status_t
Structure
Input / Output
Use
Fields
sensor_states[]
qt_touch_status_t
Output from the Library
Holds the status ( On/ Off ) of the sensors and the linear and angular positions
of sliders and rotors respectively
Comment
For Sensor, the sensor_states. Bit “n” = state of nth sensor :
Bit Value 0 - indicates the sensor is not in detect
Bit Value 1 - indicates the sensor is in detect
rotor_slider_values[]
Rotors angles or slider positions if rotors and sliders are used. These
values are valid when sensor states shows that the corresponding rotor or
slider is in detect
The macro that can get the sensor state when the sensor number is provided can be something
as below:
#define
GET_SENSOR_STATE(SENSOR_NUMBER)
qt_measure_data.qt_touch_status.sensor_states[(SENSOR_NUMBER/8)] &
(1 << (SENSOR_NUMBER % 8))
The host application can use this macro to act accordingly, the following example shows how to
toggle a IO pin (PD2) based on the sensor0 state.( Set PD2 if sensor0 is in detect, and clear PD2
if sensor0 is not in detect)
Ex:
/*Set pin PD2 direction as output*/
DDRD |= (1u << PORTD2);
if (GET_SENSOR_STATE(0) !=0)
{
PORTD |= (1u << PORTD2); /* Set PORTD2 */
}
else {
PORTD &= ~(1u << PORTD2); /* Clear PORTD2 */
}
5.6.4.2
qt_touch_lib_config_data_t
Structure
Input / Output
qt_touch_lib_config_data_t
Input to the library
25
相关PDF资料
PDF描述
REC3-0512DRW/H6/C CONV DC/DC 3W 4.5-9VIN +/-12VOUT
IR2135SPBF IC DRIVER BRIDGE 3PHASE 28SOIC
IR2114SSPBF IC DRIVER HALF-BRIDGE 24-SSOP
RBC10DCMN CONN EDGECARD 20POS .100 WW
REC3-0512DRW/H6/A CONV DC/DC 3W 4.5-9VIN +/-12VOUT
相关代理商/技术参数
参数描述
ATAVRRAVEN 功能描述:开发板和工具包 - 无线 2.4 GHZ RAVEN BOARD RoHS:否 制造商:Arduino 产品:Evaluation Boards 工具用于评估:AT32UC3L 核心:AVR32 频率: 接口类型:USB 工作电源电压:5 V
ATAVRRTOS 功能描述:开发软件 AVR RTOS Kit w/book & Source code RoHS:否 制造商:Atollic Inc. 产品:Compilers/Debuggers 用于:ARM7, ARM9, Cortex-A, Cortex-M, Cortex-R Processors
ATAVRRZ200 功能描述:Zigbee/802.15.4开发工具 Demo kit enables dev debug & demo RoHS:否 制造商:Silicon Labs 产品:Development Kits 工具用于评估:EM35x 频率:2.4 GHz 接口类型:USB 工作电源电压:
ATAVRRZ201 功能描述:Zigbee/802.15.4开发工具 AVR Z-LINK 2.4 GHZ RCB KIT RoHS:否 制造商:Silicon Labs 产品:Development Kits 工具用于评估:EM35x 频率:2.4 GHz 接口类型:USB 工作电源电压:
ATAVRRZ502 功能描述:Zigbee/802.15.4开发工具 Access. kit f/pt-pt dev debug & demo RoHS:否 制造商:Silicon Labs 产品:Development Kits 工具用于评估:EM35x 频率:2.4 GHz 接口类型:USB 工作电源电压: