Searched refs:adc_table (Results 1 – 2 of 2) sorted by relevance
47 static struct adc_sequence adc_table = { variable56 return adc_read(cfg->adc, &adc_table); in gls_sample_fetch()106 adc_table.buffer = &drv_data->raw; in gls_init()107 adc_table.buffer_size = sizeof(drv_data->raw); in gls_init()108 adc_table.resolution = GROVE_RESOLUTION; in gls_init()109 adc_table.channels = BIT(cfg->adc_channel); in gls_init()
46 static struct adc_sequence adc_table = { variable55 return adc_read(cfg->adc, &adc_table); in gts_sample_fetch()108 adc_table.buffer = &drv_data->raw; in gts_init()109 adc_table.buffer_size = sizeof(drv_data->raw); in gts_init()110 adc_table.resolution = GROVE_RESOLUTION; in gts_init()111 adc_table.channels = BIT(cfg->adc_channel); in gts_init()