Zephyr API Documentation 4.4.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
DAC Driver Backend API

Data Structures

struct  dac_driver_api
  Driver Operations DAC driver operations More...

Typedefs

typedef int(* dac_api_channel_setup) (const struct device *dev, const struct dac_channel_cfg *channel_cfg)
 Type definition of DAC API function for configuring a channel.
typedef int(* dac_api_write_value) (const struct device *dev, uint8_t channel, uint32_t value)
 Type definition of DAC API function for setting a write request.

Detailed Description

This group contains the API type definitions, callback signatures, and other helpers required to implement a DAC driver.

Typedef Documentation

◆ dac_api_channel_setup

typedef int(* dac_api_channel_setup) (const struct device *dev, const struct dac_channel_cfg *channel_cfg)

#include <zephyr/drivers/dac.h>

Type definition of DAC API function for configuring a channel.

See dac_channel_setup() for argument descriptions.

◆ dac_api_write_value

typedef int(* dac_api_write_value) (const struct device *dev, uint8_t channel, uint32_t value)

#include <zephyr/drivers/dac.h>

Type definition of DAC API function for setting a write request.

See dac_write_value() for argument descriptions.