1.6.1 Scroller Module Typedef

Table 1-11. 
NameType
scroller_resolution_t

enum {

SCR_RESOL_2_BIT = 2,

SCR_RESOL_3_BIT,

SCR_RESOL_4_BIT,

SCR_RESOL_5_BIT,

SCR_RESOL_6_BIT,

SCR_RESOL_7_BIT,

SCR_RESOL_8_BIT,

SCR_RESOL_9_BIT,

SCR_RESOL_10_BIT,

SCR_RESOL_11_BIT,

SCR_RESOL_12_BIT

}

scroller_deadband_t

enum {

SCR_DB_NONE,

SCR_DB_1_PERCENT,

SCR_DB_2_PERCENT,

SCR_DB_3_PERCENT,

SCR_DB_4_PERCENT,

SCR_DB_5_PERCENT,

SCR_DB_6_PERCENT,

SCR_DB_7_PERCENT,

SCR_DB_8_PERCENT,

SCR_DB_9_PERCENT,

SCR_DB_10_PERCENT,

SCR_DB_11_PERCENT,

SCR_DB_12_PERCENT,

SCR_DB_13_PERCENT,

SCR_DB_14_PERCENT,

SCR_DB_15_PERCENT

}

qtm_scroller_group_config_t

struct {

qtm_touch_key_data_t *qtm_touch_key_data;

uint8_t num_scrollers;

}

qtm_scroller_group_data_t

struct {

uint8_t scroller_group_status;

}

qtm_scroller_config_t

struct {

uint8_t type;

uint16_t start_key;

uint8_t number_of_keys;

uint8_t resol_deadband;

uint8_t position_hysteresis;

uint16_t contact_min_threshold;

}

qtm_scroller_data_t

struct {

uint8_t scroller_status;

uint8_t right_hyst;

uint8_t left_hyst;

uint16_t raw_position;

uint16_t position;

uint16_t contact_size;

}

qtm_scroller_control_t

struct {

qtm_scroller_group_data_t *qtm_scroller_group_data;

qtm_scroller_group_config_t *qtm_scroller_group_config;

qtm_scroller_data_t *qtm_scroller_data;

qtm_scroller_config_t *qtm_scroller_config;

}