ChibiOS/HAL  7.0.3
hal_dac_driver Struct Reference

Structure representing a DAC driver. More...

#include <hal_dac.h>

Collaboration diagram for hal_dac_driver:
Collaboration graph

Data Fields

dacstate_t state
 Driver state. More...
 
const DACConversionGroupgrpp
 Conversion group. More...
 
dacsample_tsamples
 Samples buffer pointer. More...
 
size_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 145 of file hal_dac.h.

Field Documentation

const DACConversionGroup* hal_dac_driver::grpp

Conversion group.

Definition at line 153 of file hal_dac.h.

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

dacsample_t* hal_dac_driver::samples

Samples buffer pointer.

Definition at line 157 of file hal_dac.h.

Referenced by dacStartConversionI().

size_t hal_dac_driver::depth

Samples buffer size.

Definition at line 161 of file hal_dac.h.

Referenced by dacStartConversionI().

const DACConfig* hal_dac_driver::config

Current configuration data.

Definition at line 165 of file hal_dac.h.

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

thread_reference_t hal_dac_driver::thread

Waiting thread.

Definition at line 170 of file hal_dac.h.

Referenced by dacConvert(), and dacObjectInit().

mutex_t hal_dac_driver::mutex

Mutex protecting the bus.

Definition at line 176 of file hal_dac.h.

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