touch_ret_t

Enumeration

touch_ret_t

Use

Indicates the Touch Library error code.

Values

Comment

TOUCH_SUCCESS

Successful completion of operation.

TOUCH_ACQ_INCOMPLETE

Touch Library is busy with pending previous Touch measurement.

TOUCH_INVALID_INPUT_PARAM

Invalid input parameter.

TOUCH_INVALID_LIB_STATE

Operation not allowed in the current Touch Library state.

TOUCH_INVALID_QM_CONFIG_PARAM

Invalid QMatrix config input parameter.

TOUCH_INVALID_AT_CONFIG_PARAM

Invalid Autonomous Touch config input parameter.

TOUCH_INVALID_QT_CONFIG_PARAM

Invalid QTouch config input parameter.

TOUCH_INVALID_GENERAL_CONFIG_PARAM

Invalid General config input parameter.

TOUCH_INVALID_QM_NUM_X_LINES

Mismatch between number of X lines specified as QM_NUM_X_LINES and number of X lines enabled in QMatrix pin configuration touch_qm_pin_t x_lines.

TOUCH_INVALID_QM_NUM_Y_LINES

Mismatch between number of Y lines specified as QM_NUM_Y_LINES and number of Y lines enabled in QMatrix pin configuration touch_qm_pin_t y_yk_lines.

TOUCH_INVALID_QM_NUM_SENSORS

Number of Sensors specified is greater than (Number of X Lines * Number of Y Lines).

TOUCH_INVALID_MAXDEV_VALUE

Spread spectrum MAXDEV value should not exceed (2*DIV + 1).

TOUCH_INVALID_RECAL_THRESHOLD

Invalid Recalibration threshold input value.

TOUCH_INVALID_CHANNEL_NUM

Channel number parameter exceeded total number of channels configured.

TOUCH_INVALID_SENSOR_TYPE

Invalid sensor type. Sensor type can NOT be SENSOR_TYPE_UNASSIGNED.

TOUCH_INVALID_SENSOR_ID

Invalid Sensor number parameter.

TOUCH_INVALID_DMA_PARAM

DMA Channel numbers are out of range.

TOUCH_FAILURE_ANALOG_COMP

Analog comparator configuration error.

TOUCH_INVALID_RS_NUM

Number of Rotor/Sliders set as 0, when trying to configure a rotor/slider.