ChibiOS/HAL  6.1.0
hal_dac.c File Reference

DAC Driver code. More...

#include "hal.h"

Go to the source code of this file.

Functions

void dacInit (void)
 DAC Driver initialization. More...
 
void dacObjectInit (DACDriver *dacp)
 Initializes the standard part of a DACDriver structure. More...
 
void dacStart (DACDriver *dacp, const DACConfig *config)
 Configures and activates the DAC peripheral. More...
 
void dacStop (DACDriver *dacp)
 Deactivates the DAC peripheral. More...
 
void dacPutChannelX (DACDriver *dacp, dacchannel_t channel, dacsample_t sample)
 Outputs a value directly on a DAC channel. More...
 
void dacStartConversion (DACDriver *dacp, const DACConversionGroup *grpp, dacsample_t *samples, size_t depth)
 Starts a DAC conversion. More...
 
void dacStartConversionI (DACDriver *dacp, const DACConversionGroup *grpp, dacsample_t *samples, size_t depth)
 Starts a DAC conversion. More...
 
void dacStopConversion (DACDriver *dacp)
 Stops an ongoing conversion. More...
 
void dacStopConversionI (DACDriver *dacp)
 Stops an ongoing conversion. More...
 
msg_t dacConvert (DACDriver *dacp, const DACConversionGroup *grpp, dacsample_t *samples, size_t depth)
 Performs a DAC conversion. More...
 
void dacAcquireBus (DACDriver *dacp)
 Gains exclusive access to the DAC bus. More...
 
void dacReleaseBus (DACDriver *dacp)
 Releases exclusive access to the DAC bus. More...
 

Detailed Description

DAC Driver code.

Definition in file hal_dac.c.