Zephyr API Documentation  3.4.0
A Scalable Open Source RTOS
3.4.0
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
dac_channel_cfg Struct Reference

Structure for specifying the configuration of a DAC channel. More...

#include <dac.h>

Data Fields

uint8_t channel_id
 
uint8_t resolution
 
bool buffered
 

Detailed Description

Structure for specifying the configuration of a DAC channel.

Parameters
channel_idChannel identifier of the DAC that should be configured.
resolutionDesired resolution of the DAC (depends on device capabilities).
bufferedEnable output buffer for this channel. This is relevant for instance if the output is directly connected to the load, without an amplifier in between. The actual details on this are hardware dependent.

Field Documentation

◆ buffered

bool dac_channel_cfg::buffered

◆ channel_id

uint8_t dac_channel_cfg::channel_id

◆ resolution

uint8_t dac_channel_cfg::resolution

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