Go to the documentation of this file.
27 #if (HAL_USE_DAC == TRUE) || defined(__DOXYGEN__)
38 #if (PLATFORM_DAC_USE_DAC1 == TRUE) || defined(__DOXYGEN__)
65 #if PLATFORM_DAC_USE_DAC1 == TRUE
83 #if PLATFORM_DAC_USE_DAC1 == TRUE
103 #if PLATFORM_DAC_USE_DAC1 == TRUE
104 if (&
DACD1 == dacp) {
void dac_lld_put_channel(DACDriver *dacp, dacchannel_t channel, dacsample_t sample)
Outputs a value directly on a DAC channel.
uint32_t dacchannel_t
Type of a DAC channel index.
void dacObjectInit(DACDriver *dacp)
Initializes the standard part of a DACDriver structure.
void dac_lld_start(DACDriver *dacp)
Configures and activates the DAC peripheral.
DACDriver DACD1
DAC1 driver identifier.
void dac_lld_init(void)
Low level DAC driver initialization.
void dac_lld_stop(DACDriver *dacp)
Deactivates the DAC peripheral.
void dac_lld_start_conversion(DACDriver *dacp)
Starts a DAC conversion.
Structure representing a DAC driver.
dacstate_t state
Driver state.
uint16_t dacsample_t
Type representing a DAC sample.
void dac_lld_stop_conversion(DACDriver *dacp)
Stops an ongoing conversion.