ChibiOS/HAL  6.1.0
DACDriver Struct Reference

Structure representing a DAC driver. More...

#include <hal_dac_lld.h>

Collaboration diagram for DACDriver:
Collaboration graph

Data Fields

dacstate_t state
 Driver state. More...
 
const DACConversionGroupgrpp
 Conversion group. More...
 
dacsample_tsamples
 Samples buffer pointer. More...
 
uint16_t depth
 Samples buffer size. More...
 
const DACConfigconfig
 Current configuration data. More...
 
thread_reference_t thread
 Waiting thread. More...
 
mutex_t mutex
 Mutex protecting the bus. More...
 

Detailed Description

Structure representing a DAC driver.

Definition at line 139 of file hal_dac_lld.h.

Field Documentation

const DACConversionGroup* DACDriver::grpp

Conversion group.

Definition at line 147 of file hal_dac_lld.h.

Referenced by dacStartConversionI(), dacStopConversion(), and dacStopConversionI().

dacsample_t* DACDriver::samples

Samples buffer pointer.

Definition at line 151 of file hal_dac_lld.h.

Referenced by dacStartConversionI().

uint16_t DACDriver::depth

Samples buffer size.

Definition at line 155 of file hal_dac_lld.h.

Referenced by dacStartConversionI().

const DACConfig* DACDriver::config

Current configuration data.

Definition at line 159 of file hal_dac_lld.h.

Referenced by dacObjectInit(), dacStart(), and dacStop().

thread_reference_t DACDriver::thread

Waiting thread.

Definition at line 164 of file hal_dac_lld.h.

Referenced by dacConvert(), and dacObjectInit().

mutex_t DACDriver::mutex

Mutex protecting the bus.

Definition at line 170 of file hal_dac_lld.h.

Referenced by dacAcquireBus(), dacObjectInit(), and dacReleaseBus().