Home
last modified time | relevance | path

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

/Zephyr-Core-3.6.0/drivers/dac/
Ddac_stm32.c33 #define STM32_FIRST_CHANNEL 1 macro
65 if (channel - STM32_FIRST_CHANNEL >= data->channel_count || in dac_stm32_write_value()
66 channel < STM32_FIRST_CHANNEL) { in dac_stm32_write_value()
73 table_channels[channel - STM32_FIRST_CHANNEL], value); in dac_stm32_write_value()
76 table_channels[channel - STM32_FIRST_CHANNEL], value); in dac_stm32_write_value()
89 if ((channel_cfg->channel_id - STM32_FIRST_CHANNEL >= in dac_stm32_channel_setup()
91 (channel_cfg->channel_id < STM32_FIRST_CHANNEL)) { in dac_stm32_channel_setup()
111 table_channels[channel_cfg->channel_id - STM32_FIRST_CHANNEL], in dac_stm32_channel_setup()
115 table_channels[channel_cfg->channel_id - STM32_FIRST_CHANNEL]); in dac_stm32_channel_setup()