|
Zephyr API Documentation 4.4.0-rc1
A Scalable Open Source RTOS
|
Container for DAC channel information specified in devicetree. More...
#include <zephyr/drivers/dac.h>
Data Fields | |
| const struct device * | dev |
| Pointer to the device structure for the DAC driver instance used by this io-channel. | |
| uint8_t | channel_id |
| DAC channel identifier used by this io-channel. | |
| bool | channel_cfg_dt_node_exists |
| Flag indicating whether configuration of the associated DAC channel is provided as a child node of the corresponding DAC controller in devicetree. | |
| struct dac_channel_cfg | channel_cfg |
| Configuration of the associated DAC channel specified in devicetree. | |
| uint16_t | vref_mv |
| Voltage of the reference selected for the channel or 0 if this value is not provided in devicetree. | |
Container for DAC channel information specified in devicetree.
| struct dac_channel_cfg dac_dt_spec::channel_cfg |
Configuration of the associated DAC channel specified in devicetree.
This field is valid only when channel_cfg_dt_node_exists is set to true.
| bool dac_dt_spec::channel_cfg_dt_node_exists |
Flag indicating whether configuration of the associated DAC channel is provided as a child node of the corresponding DAC controller in devicetree.
| uint8_t dac_dt_spec::channel_id |
DAC channel identifier used by this io-channel.
| const struct device* dac_dt_spec::dev |
Pointer to the device structure for the DAC driver instance used by this io-channel.
| uint16_t dac_dt_spec::vref_mv |
Voltage of the reference selected for the channel or 0 if this value is not provided in devicetree.
This field is valid only when channel_cfg_dt_node_exists is set to true.