Zephyr API Documentation 4.4.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
dac_driver_api Struct Reference

Driver Operations DAC driver operations More...

#include <zephyr/drivers/dac.h>

Data Fields

dac_api_channel_setup channel_setup
  REQ Configure a DAC channel.
dac_api_write_value write_value
  REQ Write a single value to a DAC channel.

Detailed Description

Driver Operations DAC driver operations

This is the driver API structure any DAC driver needs to define. It contains function pointers to the operations the driver implements, as well as any other driver-specific constant data.

Members marked with REQ MUST be set by the driver, whereas those marked with OPT are optional.

See also
DEVICE_DT_INST_DEFINE()
DEVICE_DT_DEFINE()
DEVICE_API()

Field Documentation

◆ channel_setup

dac_api_channel_setup dac_driver_api::channel_setup

REQ Configure a DAC channel.

◆ write_value

dac_api_write_value dac_driver_api::write_value

REQ Write a single value to a DAC channel.


The documentation for this struct was generated from the following file: