28#if (HAL_USE_DAC == TRUE) || defined(__DOXYGEN__)
37#define DAC_MAX_CHANNELS 2
52#if !defined(PLATFORM_DAC_USE_DAC1) || defined(__DOXYGEN__)
53#define PLATFORM_DAC_USE_DAC1 FALSE
92#define dac_lld_driver_fields \
99#define dac_lld_config_fields \
106#define dac_lld_conversion_group_fields \
114#if (PLATFORM_DAC_USE_DAC1 == TRUE) && !defined(__DOXYGEN__)
DACDriver DACD1
DAC1 driver identifier.
void dac_lld_put_channel(DACDriver *dacp, dacchannel_t channel, dacsample_t sample)
Outputs a value directly on a DAC channel.
void dac_lld_init(void)
Low level DAC driver initialization.
uint16_t dacsample_t
Type representing a DAC sample.
struct hal_dac_driver DACDriver
Type of a structure representing an DAC driver.
uint32_t dacchannel_t
Type of a DAC channel index.
void dac_lld_start_conversion(DACDriver *dacp)
Starts a DAC conversion.
dacerror_t
Possible DAC failure causes.
void dac_lld_start(DACDriver *dacp)
Configures and activates the DAC peripheral.
void dac_lld_stop_conversion(DACDriver *dacp)
Stops an ongoing conversion.
void dac_lld_stop(DACDriver *dacp)
Deactivates the DAC peripheral.