Searched refs:channel_index (Results 1 – 4 of 4) sorted by relevance
/Zephyr-Core-3.7.0/samples/drivers/adc/adc_sequence/src/ |
D | main.c | 73 for (size_t channel_index = 0U; channel_index < CHANNEL_COUNT; channel_index++) { local 77 adc->name, channel_cfgs[channel_index].channel_id, 82 val_mv = channel_reading[sample_index][channel_index]; 85 err = adc_raw_to_millivolts(channel_cfgs[channel_index].reference, 86 channel_cfgs[channel_index].gain, 90 if ((err < 0) || channel_cfgs[channel_index].reference == 0) {
|
/Zephyr-Core-3.7.0/drivers/counter/ |
D | counter_nxp_pit.c | 165 for (int channel_index = 0; in nxp_pit_isr() local 166 channel_index < config->num_channels; in nxp_pit_isr() 167 channel_index++) { in nxp_pit_isr() 168 flags = PIT_GetStatusFlags(config->base, channel_index); in nxp_pit_isr() 171 PIT_CHANNEL_DATA(config->channels[channel_index]); in nxp_pit_isr() 172 PIT_ClearStatusFlags(config->base, channel_index, flags); in nxp_pit_isr() 217 for (int channel_index = 0; in nxp_pit_init() local 218 channel_index < config->num_channels; in nxp_pit_init() 219 channel_index++) { in nxp_pit_init() 220 PIT_SetTimerPeriod(config->base, channel_index, in nxp_pit_init() [all …]
|
/Zephyr-Core-3.7.0/drivers/dma/ |
D | dma_mcux_lpc.c | 61 int8_t *channel_index; member 468 if (dma_data->channel_index[channel] == -1) { in dma_mcux_lpc_configure() 469 dma_data->channel_index[channel] = dma_data->num_channels_used; in dma_mcux_lpc_configure() 472 virtual_channel = dma_data->channel_index[channel]; in dma_mcux_lpc_configure() 481 virtual_channel = dma_data->channel_index[channel]; in dma_mcux_lpc_configure() 733 int8_t virtual_channel = dev_data->channel_index[channel]; in dma_mcux_lpc_start() 746 int8_t virtual_channel = dev_data->channel_index[channel]; in dma_mcux_lpc_stop() 763 int8_t virtual_channel = dev_data->channel_index[channel]; in dma_mcux_lpc_reload() 806 int8_t virtual_channel = dev_data->channel_index[channel]; in dma_mcux_lpc_get_status() 844 data->channel_index[i] = -1; in dma_mcux_lpc_init() [all …]
|
/Zephyr-Core-3.7.0/drivers/adc/ |
D | adc_stm32.c | 908 uint8_t channel_index = 0; local 916 channels &= ~BIT(channel_id), channel_index++) { 932 LL_ADC_REG_SetSequencerRanks(adc, table_rank[channel_index], channel); 933 LL_ADC_REG_SetSequencerLength(adc, table_seq_len[channel_index]);
|