|
ChibiOS 21.11.4
|
DAC Driver code. More...
#include "hal.h"Go to the source code of this file.
Functions | |
| void | dacInit (void) |
| DAC Driver initialization. | |
| void | dacObjectInit (DACDriver *dacp) |
Initializes the standard part of a DACDriver structure. | |
| msg_t | dacStart (DACDriver *dacp, const DACConfig *config) |
| Configures and activates the DAC peripheral. | |
| void | dacStop (DACDriver *dacp) |
| Deactivates the DAC peripheral. | |
| msg_t | dacPutChannelX (DACDriver *dacp, dacchannel_t channel, dacsample_t sample) |
| Outputs a value directly on a DAC channel. | |
| msg_t | dacStartConversion (DACDriver *dacp, const DACConversionGroup *grpp, dacsample_t *samples, size_t depth) |
| Starts a DAC conversion. | |
| msg_t | dacStartConversionI (DACDriver *dacp, const DACConversionGroup *grpp, dacsample_t *samples, size_t depth) |
| Starts a DAC conversion. | |
| void | dacStopConversion (DACDriver *dacp) |
| Stops an ongoing conversion. | |
| void | dacStopConversionI (DACDriver *dacp) |
| Stops an ongoing conversion. | |
| msg_t | dacConvert (DACDriver *dacp, const DACConversionGroup *grpp, dacsample_t *samples, size_t depth) |
| Performs a DAC conversion. | |
| msg_t | dacSynchronizeS (DACDriver *dacp, sysinterval_t timeout) |
| Synchronize to a conversion completion. | |
| msg_t | dacSynchronize (DACDriver *dacp, sysinterval_t timeout) |
| Synchronize to a conversion completion. | |
| void | dacAcquireBus (DACDriver *dacp) |
| Gains exclusive access to the DAC bus. | |
| void | dacReleaseBus (DACDriver *dacp) |
| Releases exclusive access to the DAC bus. | |
DAC Driver code.
Definition in file hal_dac.c.