touch_at_sensor_init

touch_ret_t touch_at_sensor_init( touch_config_t *p_touch_config )

Arguments

Type

Comment

p_touch_config

touch_config_t*

Pointer to Touch Library input configuration structure.  The p_at_config and p_general_config members of the input configuration structure must be non-NULL.

  1. 1.

    This API initializes the touch library Autonomous touch sensor. This API has to be called before calling any other Autonomous touch API function.

  2. 2.

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

  3. 3.

    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.