Searched refs:active_channels (Results 1 – 15 of 15) sorted by relevance
34 uint8_t active_channels; member119 nrfx_adc_buffer_convert(m_data.buffer, m_data.active_channels); in adc_context_start_sampling()129 m_data.buffer += m_data.active_channels; in adc_context_update_buffer_pointer()134 uint8_t active_channels) in check_buffer_size() argument138 needed_buffer_size = active_channels * sizeof(nrf_adc_value_t); in check_buffer_size()157 uint8_t active_channels; in start_read() local192 active_channels = 0U; in start_read()206 ++active_channels; in start_read()212 error = check_buffer_size(sequence, active_channels); in start_read()218 m_data.active_channels = active_channels; in start_read()
90 uint8_t active_channels; member374 uint8_t active_channels) in set_oversampling() argument378 if ((active_channels > 1) && (sequence->oversampling > 0)) { in set_oversampling()423 uint8_t active_channels) in check_buffer_size() argument427 needed_buffer_size = samples_to_bytes(sequence, active_channels); in check_buffer_size()473 uint8_t active_channels; in start_read() local485 active_channels = 0U; in start_read()534 ++active_channels; in start_read()552 error = set_oversampling(sequence, active_channels); in start_read()557 error = check_buffer_size(sequence, active_channels); in start_read()[all …]
45 size_t active_channels; member104 data->buffer += data->active_channels; in adc_context_update_buffer_pointer()188 data->active_channels = 0; in cc32xx_read()193 data->offset[i] = data->active_channels++; in cc32xx_read()195 exp_size = data->active_channels * sizeof(uint16_t); in cc32xx_read()
158 int active_channels = 0; in validate_buffer_size() local163 active_channels++; in validate_buffer_size()167 total_buffer_size = active_channels * sizeof(uint16_t); in validate_buffer_size()
89 int active_channels = 0; in adc_xmc4xxx_validate_buffer_size() local94 active_channels++; in adc_xmc4xxx_validate_buffer_size()98 total_buffer_size = active_channels * sizeof(uint16_t); in adc_xmc4xxx_validate_buffer_size()
123 uint8_t active_channels = 0; in adc_nxp_s32_validate_buffer_size() local126 active_channels = POPCOUNT(sequence->channels); in adc_nxp_s32_validate_buffer_size()128 needed_size = active_channels * sizeof(uint16_t); in adc_nxp_s32_validate_buffer_size()
73 uint8_t active_channels) in adc_gecko_check_buffer_size() argument77 needed_buffer_size = active_channels * sizeof(uint16_t); in adc_gecko_check_buffer_size()
173 uint8_t active_channels) in check_buffer_size() argument176 needed_buffer_size = active_channels * sizeof(uint16_t); in check_buffer_size()
176 uint8_t active_channels) in check_buffer_size() argument180 needed_buffer_size = active_channels * sizeof(uint16_t); in check_buffer_size()
181 uint8_t active_channels) in check_buffer_size() argument185 needed_buffer_size = active_channels * sizeof(uint16_t); in check_buffer_size()
263 uint8_t active_channels) in check_buffer_size() argument267 needed_buffer_size = active_channels * sizeof(uint16_t); in check_buffer_size()
182 uint8_t active_channels) in check_buffer_size() argument184 size_t needed_buffer_size = active_channels * sizeof(uint16_t); in check_buffer_size()
76 uint8_t active_channels) in adc_gecko_check_buffer_size() argument80 needed_buffer_size = active_channels * sizeof(uint16_t); in adc_gecko_check_buffer_size()
300 uint8_t active_channels) in check_buffer_size() argument304 needed_buffer_size = active_channels * sizeof(uint16_t); in check_buffer_size()
340 uint8_t active_channels) in check_buffer() argument344 needed_buffer_size = active_channels * sizeof(uint16_t); in check_buffer()