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.

TOUCH_INVALID_QM_NUM_SENSORSTOUCH_INVALID_MAXDEV_VALUETOUCH_INVALID_RECAL_THRESHOLDTOUCH_INVALID_CHANNEL_NUMTOUCH_INVALID_SENSOR_TYPETOUCH_INVALID_SENSOR_IDTOUCH_INVALID_DMA_PARAMTOUCH_FAILURE_ANALOG_COMPTOUCH_INVALID_RS_NUMspecified as QM_NUM_Y_LINES andnumber of Y lines enabled in QMatrix pinconfiguration touch_qm_pin_t y_yk_lines.Number of Sensors specified is greater than(Number of X Lines * Number of Y Lines).Spread spectrum MAXDEV value should notexceed (2*DIV + 1).Invalid Recalibration threshold input value.Channel number parameter exceeded totalnumber of channels configured.Invalid sensor type. Sensor type can NOT beSENSOR_TYPE_UNASSIGNED.Invalid Sensor number parameter.DMA Channel numbers are out of range.Analog comparator configuration error.Number of Rotor/Sliders set as 0, when tryingto configure a rotor/slider.touch_lib_state_tEnumerationUsetouch_lib_state_tIndicates the current state of the library with respect to a specific acquisitionmethodValuesTOUCH_LIB_STATE_NULLTOUCH_LIB_STATE_INITTOUCH_LIB_STATE_READYTOUCH_LIB_STATE_CALIBRATETOUCH_LIB_STATE_BUSYComment<strong>Library</strong> is not yet initialized for the specific acquisitionmethod<strong>Library</strong> is initialized, sensor configuration and calibration isnot yet done.<strong>Library</strong> is ready for a new acquisition in the specific method<strong>Library</strong> requires re-calibration before acquisition can bedone for the specific acquisition method<strong>Library</strong> is busy with acquisition & processing for the specificacquisition methodtouch_acq_mode_tEnumerationUsetouch_acq_mode_tTouch library acquisition mode type.ValuesCommentRAW_ACQ_MODE When Raw acquisition mode is used, the measure_complete_callbackfunction is called immediately once fresh values of Signals areavailable. In this mode, the Touch <strong>Library</strong> does not do any processingon the Signals. So, the references, Sensor states or Rotor/Sliderposition values are not updated in this mode.NORMAL_ACQ_MODE When Nomal acquisition mode is used, themeasure_complete_callback function is called only after the Touch<strong>Library</strong> completes processing of the Signal values obtained. TheReferences, Sensor states and Rotor/Slider position values areupdated in this mode.141

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

Saved successfully!

Ooh no, something went wrong!