Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/adc/
Dadc_smartbond_gpadc.c39 uint32_t channel_read_mask; member
149 int current_channel = u32_count_trailing_zeros(data->channel_read_mask); in adc_context_start_sampling()
223 data->channel_read_mask = sequence->channels; in start_read()
236 int current_channel = u32_count_trailing_zeros(data->channel_read_mask); in adc_smartbond_isr()
243 data->channel_read_mask ^= 1 << current_channel; in adc_smartbond_isr()
245 if (data->channel_read_mask == 0) { in adc_smartbond_isr()
Dadc_smartbond_sdadc.c38 uint32_t channel_read_mask; member
150 int current_channel = u32_count_trailing_zeros(data->channel_read_mask); in adc_context_start_sampling()
229 data->channel_read_mask = sequence->channels; in start_read()
242 int current_channel = u32_count_trailing_zeros(data->channel_read_mask); in sdadc_smartbond_isr()
249 data->channel_read_mask ^= 1 << current_channel; in sdadc_smartbond_isr()
251 if (data->channel_read_mask == 0) { in sdadc_smartbond_isr()