Lines Matching full:channels
52 * channels in the sequence: this buffer changes by that amount
53 * so all the channels would get repeated.
57 /* Bit mask of the channels to be sampled. */
58 uint32_t channels; member
113 /* Set single ended channels to unsigned and differential channels in adc_sam_channel_setup()
129 data->channel_id = find_lsb_set(data->channels) - 1; in adc_sam_start_conversion()
133 /* Disable all channels. */ in adc_sam_start_conversion()
151 * all channels as a group.
157 data->channels = ctx->sequence.channels; in adc_context_start_sampling()
193 uint32_t channels = sequence->channels; in start_read() local
195 data->channels = 0U; in start_read()
197 /* Signal an error if the channel selection is invalid (no channels or in start_read()
200 if (channels == 0U || in start_read()
201 (channels & (~0UL << NUM_CHANNELS))) { in start_read()
202 LOG_ERR("Invalid selection of channels"); in start_read()
223 while (channels > 0) { in start_read()
224 if (channels & 1) { in start_read()
227 channels >>= 1; in start_read()
285 /* Set all channels CM voltage to Vrefp/2 (512). */ in adc_sam_init()
356 data->channels &= ~BIT(data->channel_id); in adc_sam_isr()
358 if (data->channels) { in adc_sam_isr()