Zephyr API Documentation 4.0.0-rc2
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
dac.h File Reference

DAC public API header file. More...

#include <zephyr/device.h>
#include <zephyr/syscalls/dac.h>

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.
 

Detailed Description

DAC public API header file.