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) {
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.
void dacObjectInit(DACDriver *dacp)
Initializes the standard part of a DACDriver structure.
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.
dacstate_t state
Driver state.