|
Zephyr Project API 4.2.99
A Scalable Open Source RTOS
|
Main header file for DAC (Digital-to-Analog Converter) driver API. More...
Go to the source code of this file.
Data Structures | |
| struct | dac_channel_cfg |
| Structure for specifying the configuration of a DAC channel. More... | |
Macros | |
| #define | DAC_CHANNEL_BROADCAST 0xFF |
| Broadcast channel identifier for DACs that support it. | |
Functions | |
| int | dac_channel_setup (const struct device *dev, const struct dac_channel_cfg *channel_cfg) |
| Configure a DAC channel. | |
| int | dac_write_value (const struct device *dev, uint8_t channel, uint32_t value) |
| Write a single value to a DAC channel. | |
Main header file for DAC (Digital-to-Analog Converter) driver API.