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.

div uint16 t ATCFG0 DIVchlen uint8 t ATCFG0 CHLENselen uint8 t ATCFG0 SELENdishift uint8 t ATCFG1 DISHIFTsync uint8 t ATCFG1 SYNCspread uint8 t ATCFG1 SPREADdilen uint8 t ATCFG1 DILENmax uint16 t ATCFG1 MAXat_param touch_at_param_t Autonomous Touch Sensorparameters corresponding toATCFG2 and ATCFG3.FILTER, OUTSENS,SENSE, PTHR,PDRIFT, NDRIFTtouch_qt_reg_tstructureInput / OutputUsetouch_qt_reg_tInput to the libraryData structure which holds the Register configuration information for <strong>QTouch</strong>Group A/B.Fields Type Corresponds to Register Register Fielddiv uint16 t TGxCFG0 DIVchlen uint8 t TGxCFG0 CHLENselen uint8 t TGxCFG0 SELENdishift uint8 t TGxCFG1 DISHIFTsync uint8 t TGxCFG1 SYNCspread uint8 t TGxCFG1 SPREADdilen uint8 t TGxCFG1 DILENmax uint16 t TGxCFG1 MAXtouch_qm_config_tstructureInput / OutputUsetouch_qm_config_tInput to the libraryData structure which holds all configuration information pertaining to QMatrixFields Type Commentnum_channels uint8_t Indicates the number of QMatrix channelsrequired by the usernum_sensors uint8_t Indicates the number of QMatrix sensorsrequired by the user.num_rotors_and_slidersuint8_t Indicates the number of QMatrix rotors /sliders required by the user.num_x_lines uint8_t Number of QMatrix X lines required by theuser.num_y_lines uint8_t Number of QMatrix Y lines required by theuser.num_x_sp uint8_t Number of X sense pairs used. This is aprivate variable to the Touch library. The usermust providePRIV_QM_NUM_X_SENSE_PAIRS for thisinput field.bl_write_count uint8_t Burst length write count. This is a private151

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

Saved successfully!

Ooh no, something went wrong!