Home
last modified time | relevance | path

Searched refs:active_channels (Results 1 – 7 of 7) sorted by relevance

/Zephyr-Core-2.7.6/drivers/adc/
Dadc_nrfx_adc.c21 uint8_t active_channels; member
106 nrfx_adc_buffer_convert(m_data.buffer, m_data.active_channels); in adc_context_start_sampling()
116 m_data.buffer += m_data.active_channels; in adc_context_update_buffer_pointer()
121 uint8_t active_channels) in check_buffer_size() argument
125 needed_buffer_size = active_channels * sizeof(nrf_adc_value_t); in check_buffer_size()
144 uint8_t active_channels; in start_read() local
179 active_channels = 0U; in start_read()
193 ++active_channels; in start_read()
199 error = check_buffer_size(sequence, active_channels); in start_read()
205 m_data.active_channels = active_channels; in start_read()
Dadc_nrfx_saadc.c189 uint8_t active_channels) in set_oversampling() argument
193 if ((active_channels > 1) && (sequence->oversampling > 0)) { in set_oversampling()
238 uint8_t active_channels) in check_buffer_size() argument
242 needed_buffer_size = active_channels * sizeof(nrf_saadc_value_t); in check_buffer_size()
261 uint8_t active_channels; in start_read() local
273 active_channels = 0U; in start_read()
306 ++active_channels; in start_read()
320 error = set_oversampling(sequence, active_channels); in start_read()
325 error = check_buffer_size(sequence, active_channels); in start_read()
332 active_channels); in start_read()
Dadc_cc32xx.c44 size_t active_channels; member
103 data->buffer += data->active_channels; in adc_context_update_buffer_pointer()
187 data->active_channels = 0; in cc32xx_read()
192 data->offset[i] = data->active_channels++; in cc32xx_read()
194 exp_size = data->active_channels * sizeof(uint16_t); in cc32xx_read()
Dadc_ite_it8xxx2.c139 uint8_t active_channels) in check_buffer_size() argument
143 needed_buffer_size = active_channels * sizeof(uint16_t); in check_buffer_size()
Dadc_sam_afec.c171 uint8_t active_channels) in check_buffer_size() argument
174 needed_buffer_size = active_channels * sizeof(uint16_t); in check_buffer_size()
Dadc_sam0.c319 uint8_t active_channels) in check_buffer_size() argument
323 needed_buffer_size = active_channels * sizeof(uint16_t); in check_buffer_size()
Dadc_stm32.c249 uint8_t active_channels) in check_buffer_size() argument
253 needed_buffer_size = active_channels * sizeof(uint16_t); in check_buffer_size()