3.1.6.4 Scroller Module API

touch_ret_t qtm_init_scroller_module(qtm_scroller_control_t *qtm_scroller_control)

Description: Initializes a Scroller Module.

Parameter:

TypeDescription
qtm_scroller_control_t *Pointer to the Scroller Module Control Structure

Return:

TypeDescription
touch_ret_tTouch library return status

touch_ret_t qtm_scroller_process(qtm_scroller_control_t *qtm_scroller_control)

Description: Performs Scroller Processing, calculating the position for all scrollers. This routine must be called after calling qtm_key_sensors_process().

Parameter:

TypeDescription
qtm_scroller_control_t *Pointer to the Scroller Module Control Structure

Return:

TypeDescription
touch_ret_tTouch library return status

uint16_t qtm_get_scroller_module_id(void)

Description: Returns the module ID.

Parameter: None.

Return:

TypeDescription
uint16_tModule ID

uint8_t qtm_get_scroller_module_ver(void)

Description: Returns the module firmware version.

Parameter: None.

Return:

TypeDescription
uint8_tModule version