Searched refs:STM32_FIRST_CHANNEL (Results 1 – 1 of 1) sorted by relevance
33 #define STM32_FIRST_CHANNEL 1 macro65 if (channel - STM32_FIRST_CHANNEL >= data->channel_count || in dac_stm32_write_value()66 channel < STM32_FIRST_CHANNEL) { in dac_stm32_write_value()78 table_channels[channel - STM32_FIRST_CHANNEL], value); in dac_stm32_write_value()81 table_channels[channel - STM32_FIRST_CHANNEL], value); in dac_stm32_write_value()94 if ((channel_cfg->channel_id - STM32_FIRST_CHANNEL >= in dac_stm32_channel_setup()96 (channel_cfg->channel_id < STM32_FIRST_CHANNEL)) { in dac_stm32_channel_setup()109 channel = table_channels[channel_cfg->channel_id - STM32_FIRST_CHANNEL]; in dac_stm32_channel_setup()