Searched refs:m_data (Results 1 – 2 of 2) sorted by relevance
/Zephyr-latest/drivers/adc/ |
D | adc_nrfx_adc.c | 37 static struct driver_data m_data = { variable 38 ADC_CONTEXT_INIT_TIMER(m_data, ctx), 39 ADC_CONTEXT_INIT_LOCK(m_data, ctx), 40 ADC_CONTEXT_INIT_SYNC(m_data, ctx), 119 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() 217 m_data.buffer = sequence->buffer; in start_read() 218 m_data.active_channels = active_channels; in start_read() 220 adc_context_start_read(&m_data.ctx, sequence); in start_read() 222 error = adc_context_wait_for_completion(&m_data.ctx); in start_read() [all …]
|
D | adc_nrfx_saadc.c | 98 static struct driver_data m_data = { variable 99 ADC_CONTEXT_INIT_TIMER(m_data, ctx), 100 ADC_CONTEXT_INIT_LOCK(m_data, ctx), 101 ADC_CONTEXT_INIT_SYNC(m_data, ctx), 274 m_data.single_ended_channels &= ~BIT(channel_cfg->channel_id); in adc_nrfx_channel_setup() 277 m_data.single_ended_channels |= BIT(channel_cfg->channel_id); in adc_nrfx_channel_setup() 301 m_data.positive_inputs[channel_id] = channel_cfg->input_positive; in adc_nrfx_channel_setup() 336 m_data.user_buffer = (uint8_t *)m_data.user_buffer + in adc_context_update_buffer_pointer() 445 return sequence->channels & m_data.single_ended_channels; in has_single_ended() 452 uint8_t single_ended_channels = m_data.single_ended_channels; in correct_single_ended() [all …]
|