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: Initializes a Surface Module.
Parameter:
| Type | Description |
|---|---|
qtm_surface_cs_control_t * | Pointer to the Surface Module Control Structure |
Return:
| Type | Description |
|---|---|
touch_ret_t | Touch library return status |
touch_ret_t qtm_surface_cs_process(qtm_surface_cs_control_t *qtm_surface_cs_control)
Description: Performs Surface Processing, and calculates X and Y position for the
surface. This routine must be called after calling
qtm_key_sensors_process().
Parameter:
| Type | Description |
|---|---|
qtm_surface_cs_control_t * | Pointer to the Surface Module Control Structure |
Return:
| Type | Description |
|---|---|
touch_ret_t | Touch library return status |
uint16_t qtm_get_surface_cs_module_id(void)
Description: Returns the module ID.
Parameter: None.
Return:
| Type | Description |
|---|---|
uint16_t | Module ID |
uint8_t qtm_get_surface_cs_module_ver(void)
Description: Returns the module firmware version.
Parameter: None.
Return:
| Type | Description |
|---|---|
uint8_t | Module version |
