Home
last modified time | relevance | path

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

/Zephyr-Core-3.6.0/drivers/adc/
Dadc_nrfx_adc.c43 static nrfx_adc_channel_t m_channels[CONFIG_ADC_NRFX_ADC_CHANNEL_COUNT]; variable
51 nrf_adc_config_t *config = &m_channels[channel_id].config; in adc_nrfx_channel_setup()
203 m_channels[channel_id].config.resolution = in start_read()
205 nrfx_adc_channel_enable(&m_channels[channel_id]); in start_read()
Dadc_smartbond_gpadc.c48 } m_channels[SMARTBOND_ADC_CHANNEL_COUNT]; variable
55 struct adc_smartbond_channel_cfg *config = &m_channels[channel_id]; in adc_smartbond_channel_setup()
124 val |= m_channels[current_channel].gp_adc_ctrl_reg; in adc_context_start_sampling()
128 GPADC->GP_ADC_CTRL2_REG = m_channels[current_channel].gp_adc_ctrl2_reg; in adc_context_start_sampling()