3.1.6.4 Scroller Module API
touch_ret_t qtm_init_scroller_module(qtm_scroller_control_t *qtm_scroller_control)
Description: Initialize a Scroller Module
Parameter:
Type | Description |
---|---|
qtm_scroller_control_t * | Pointer to Scroller Module Control Structure. |
Return:
Type | Description |
---|---|
touch_ret_t | Touch Library Return Status |
touch_ret_t qtm_scroller_process(qtm_scroller_control_t *qtm_scroller_control)
Description: Performs Scroller Processing. Calculates position for all the scrollers. Should be called after calling qtm_key_sensors_process().
Parameter:
Type | Description |
---|---|
qtm_scroller_control_t * | Pointer to Scroller Module Control Structure. |
Return:
Type | Description |
---|---|
touch_ret_t | Touch Library Return Status |
uint16_t qtm_get_scroller_module_id(void)
Description: Returns the module ID
Parameter: void
Return:
Type | Description |
---|---|
uint16_t | Module ID |
uint8_t qtm_get_scroller_module_ver(void)
Description: Returns the module Firmware version
Parameter: void
Return:
Type | Description |
---|---|
uint8_t | Module Version |