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 \ 115 #if (PLATFORM_DAC_USE_DAC1 == TRUE) && !defined(__DOXYGEN__)
uint32_t dacchannel_t
Type of a DAC channel index.
DACDriver DACD1
DAC1 driver identifier.
void dac_lld_start(DACDriver *dacp)
Configures and activates the DAC peripheral.
Structure representing a DAC driver.
void dac_lld_stop(DACDriver *dacp)
Deactivates the DAC peripheral.
void dac_lld_init(void)
Low level DAC driver initialization.
void dac_lld_put_channel(DACDriver *dacp, dacchannel_t channel, dacsample_t sample)
Outputs a value directly on a DAC channel.
void dac_lld_start_conversion(DACDriver *dacp)
Starts a DAC conversion.
dacerror_t
Possible DAC failure causes.
uint16_t dacsample_t
Type representing a DAC sample.
void dac_lld_stop_conversion(DACDriver *dacp)
Stops an ongoing conversion.