Home
last modified time | relevance | path

Searched refs:current_channel (Results 1 – 5 of 5) sorted by relevance

/Zephyr-latest/drivers/adc/
Dadc_smartbond_gpadc.c149 int current_channel = u32_count_trailing_zeros(data->channel_read_mask); in adc_context_start_sampling() local
155 val |= m_channels[current_channel].gp_adc_ctrl_reg; in adc_context_start_sampling()
159 GPADC->GP_ADC_CTRL2_REG = m_channels[current_channel].gp_adc_ctrl2_reg; in adc_context_start_sampling()
236 int current_channel = u32_count_trailing_zeros(data->channel_read_mask); in adc_smartbond_isr() local
243 data->channel_read_mask ^= 1 << current_channel; in adc_smartbond_isr()
Dadc_smartbond_sdadc.c150 int current_channel = u32_count_trailing_zeros(data->channel_read_mask); in adc_context_start_sampling() local
161 val |= m_sdchannels[current_channel].sd_adc_ctrl_reg; in adc_context_start_sampling()
242 int current_channel = u32_count_trailing_zeros(data->channel_read_mask); in sdadc_smartbond_isr() local
249 data->channel_read_mask ^= 1 << current_channel; in sdadc_smartbond_isr()
Dadc_max1125x.c367 uint8_t current_channel = find_msb_set(data->ctx.sequence.channels) - 1; in max1125x_read_sample() local
387 buffer_tx[0] = MAX1125X_CMD_READ | MAX1125X_REG_DATA(current_channel); in max1125x_read_sample()
/Zephyr-latest/drivers/ieee802154/
Dieee802154_b91.h104 uint16_t current_channel; member
Dieee802154_b91.c390 data.current_channel = 0; in b91_init()
447 if (data.current_channel != channel) { in b91_set_channel()
448 data.current_channel = channel; in b91_set_channel()