touch_qt_sensors_init

touch_ret_t touch_qt_sensors_init (touch_qt_grp_t touch_qt_grp, touch_config_t *p_touch_config)

Arguments

Type

Comment

touch_qt_grp

touch_qt_grp_t

Specify if the operation is to be performed on Group A Sensors or Group B Sensors.

p_touch_config

touch_config_t*

Pointer to Touch Library input configuration structure.  The p_qta_config/p_qtb_config (based on whether Group A is used or Group B is used) and p_general_config members of the Structure should be non-NULL.

  1. 1.

    This API initializes the Touch library for QTouch Group A or QTouch Group B method acquisition. This API has to be called before calling any other QTouch API.

  2. 2.

    Based on the input parameters, the CAT module is initialized with QTouch method Pin and Register configuration.

  3. 3.

    The p_qta_config/p_qta_config (based on whether Group A is used or Group B is used) and p_general_config members of the input configuration structure must point to valid configuration data.

  4. 4.

    The General configuration data provided by the p_general_config pointer is common to both QMatrix, QTouch Group A, QTouch Group B and Autonomous Touch sensors.