28 #if HAL_USE_DAC || defined(__DOXYGEN__)    37 #define DAC_MAX_CHANNELS                    2    52 #if !defined(PLATFORM_DAC_USE_DAC1) || defined(__DOXYGEN__)    53 #define PLATFORM_DAC_USE_DAC1               FALSE   160 #if DAC_USE_WAIT || defined(__DOXYGEN__)   166 #if DAC_USE_MUTUAL_EXCLUSION || defined(__DOXYGEN__)   172 #if defined(DAC_DRIVER_EXT_FIELDS)   173   DAC_DRIVER_EXT_FIELDS
   186 #if PLATFORM_DAC_USE_DAC1 && !defined(__DOXYGEN__) Driver configuration structure. 
daccallback_t end_cb
Operation complete callback or NULL. 
uint32_t dacchannel_t
Type of a DAC channel index. 
DACDriver DACD1
DAC1 driver identifier. 
dacsample_t * samples
Samples buffer pointer. 
dacstate_t
Driver state machine possible states. 
thread_reference_t thread
Waiting thread. 
void dac_lld_start(DACDriver *dacp)
Configures and activates the DAC peripheral. 
void dac_lld_stop(DACDriver *dacp)
Deactivates the DAC peripheral. 
Structure representing a DAC driver. 
void dac_lld_init(void)
Low level DAC driver initialization. 
dacstate_t state
Driver state. 
dacerrorcallback_t error_cb
Error handling callback or NULL. 
void(* dacerrorcallback_t)(DACDriver *dacp, dacerror_t err)
DAC error callback type. 
mutex_t mutex
Mutex protecting the bus. 
void(* daccallback_t)(DACDriver *dacp, dacsample_t *buffer, size_t n)
DAC notification callback type. 
DAC Conversion group structure. 
void * thread_reference_t
Type of a thread reference. 
void dac_lld_put_channel(DACDriver *dacp, dacchannel_t channel, dacsample_t sample)
Outputs a value directly on a DAC channel. 
uint16_t depth
Samples buffer size. 
void dac_lld_start_conversion(DACDriver *dacp)
Starts a DAC conversion. 
dacerror_t
Possible DAC failure causes. 
uint32_t num_channels
Number of DAC channels. 
uint32_t mutex_t
Type of a mutex. 
uint16_t dacsample_t
Type representing a DAC sample. 
void dac_lld_stop_conversion(DACDriver *dacp)
Stops an ongoing conversion. 
const DACConversionGroup * grpp
Conversion group. 
const DACConfig * config
Current configuration data.