Home
last modified time | relevance | path

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

/Zephyr-latest/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()
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()