Home
last modified time | relevance | path

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

/Zephyr-Core-3.6.0/drivers/adc/
Dadc_smartbond_gpadc.c32 uint32_t channel_read_mask; member
118 int current_channel = u32_count_trailing_zeros(data->channel_read_mask); in adc_context_start_sampling()
192 data->channel_read_mask = sequence->channels; in start_read()
205 int current_channel = u32_count_trailing_zeros(data->channel_read_mask); in adc_smartbond_isr()
212 data->channel_read_mask ^= 1 << current_channel; in adc_smartbond_isr()
214 if (data->channel_read_mask == 0) { in adc_smartbond_isr()
Dadc_smartbond_sdadc.c34 uint32_t channel_read_mask; member
121 int current_channel = u32_count_trailing_zeros(data->channel_read_mask); in adc_context_start_sampling()
195 data->channel_read_mask = sequence->channels; in start_read()
208 int current_channel = u32_count_trailing_zeros(data->channel_read_mask); in sdadc_smartbond_isr()
215 data->channel_read_mask ^= 1 << current_channel; in sdadc_smartbond_isr()
217 if (data->channel_read_mask == 0) { in sdadc_smartbond_isr()