Zephyr API Documentation  3.6.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
dac_channel_cfg Struct Reference

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

#include <dac.h>

Data Fields

uint8_t channel_id
 Channel identifier of the DAC that should be configured.
 
uint8_t resolution
 Desired resolution of the DAC (depends on device capabilities).
 
bool buffered
 Enable output buffer for this channel.
 

Detailed Description

Structure for specifying the configuration of a DAC channel.

Field Documentation

◆ buffered

bool dac_channel_cfg::buffered

Enable output buffer for this channel.

This is relevant for instance if the output is directly connected to the load, without an amplifierin between. The actual details on this are hardware dependent.

◆ channel_id

uint8_t dac_channel_cfg::channel_id

Channel identifier of the DAC that should be configured.

◆ resolution

uint8_t dac_channel_cfg::resolution

Desired resolution of the DAC (depends on device capabilities).


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