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.

variable to the Touch library. The user mustprovide thePRIV_QM_BURST_LENGTH_WRITE_COUNT macro for this input field.pin touch_qm_pin_t Holds the QMatrix Pin configurationinformation as filled by the user.reg touch_qm_reg_t Holds the QMatrix register configurationinformation as filled by the user.global_paramtouch_global_param_tHolds the global parameters for QMatrix asfilled by the user.p_data_blk uint8_t* Pointer to the data block allocated by the userbuffer_size uint16_t Size of the data block pointed to byp_data_blk. The user must provide thePRIV_QM_DATA_BLK_SIZE macro for thisinput field.p_burst_length uint8_t* Pointer to an array of 8-bit Burst lengths,where each 8-bit value correspond to the burstlength of each channel starting from channel 0to number of channels.filter_callback Pointer to a function Pointer to callback function that will be calledbefore processing the signalstouch_at_config_tstructureInput / OutputUsetouch_at_config_tInput to the libraryData structure which holds the configuration parameters & register values forautonomous <strong>QTouch</strong> acquisitionFields Type Commentpin touch_at_pin_t Holds the autonomous <strong>QTouch</strong>configuration information as filled by theuser.reg touch_at_reg_t Holds the autonomous <strong>QTouch</strong> registerconfiguration information as filled by theuser.touch_at_status_change_callbacktouch_qt_config_tstructureInput / OutputUsePointer to afunctionPointer to callback function that will becalled by the library whenever there is atouch status change in the autonomous<strong>QTouch</strong> sensortouch_qm_config_tInput to the libraryData structure which holds all configuration information pertaining to QMatrixFields Type Commentnum_channels uint8_t Indicates the number of <strong>QTouch</strong> Group A/Bchannels required by the usernum_sensors uint8_t Indicates the number of <strong>QTouch</strong> Group A/Bsensors required by the user.num_rotors_and_sliders uint8_t Indicates the number of <strong>QTouch</strong> Group A/Brotors / sliders required by the user.1528207K-AT42-09/11

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

Saved successfully!

Ooh no, something went wrong!