3.1.7.3 Surface CS/1T APIs

touch_ret_t qtm_init_surface_cs(qtm_surface_cs_control_t *qtm_surface_cs_control)

Description: Initialize a Surface Module

Parameter:

TypeDescription
qtm_surface_cs_control_t *Pointer to Surface Module Control Structure.

Return:

TypeDescription
touch_ret_tTouch Library Return Status

touch_ret_t qtm_surface_cs_process(qtm_surface_cs_control_t *qtm_surface_cs_control)

Description: Performs Surface Processing. Calculates X and Y position for the surface. Should be called after calling qtm_key_sensors_process().

Parameter:

TypeDescription
qtm_surface_cs_control_t *Pointer to Surface Module Control Structure.

Return:

TypeDescription
touch_ret_tTouch Library Return Status

uint16_t qtm_get_surface_cs_module_id(void)

Description: Returns the module ID

Parameter: void

Return:

TypeDescription
uint16_tModule ID

uint8_t qtm_get_surface_cs_module_ver(void)

Description: Returns the module Firmware version

Parameter: void

Return:

TypeDescription
uint8_tModule Version