Home
last modified time | relevance | path

Searched refs:adc_table (Results 1 – 2 of 2) sorted by relevance

/Zephyr-latest/drivers/sensor/seeed/grove/
Dlight_sensor.c47 static struct adc_sequence adc_table = { variable
56 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()
Dtemperature_sensor.c46 static struct adc_sequence adc_table = { variable
55 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()