Digital-to-analog converter (DAC)
ï‚· DAC APB clock must be enabled to get write access to DAC registers using
RCC_APB1PeriphClockCmd(RCC_APB1Periph_DAC, ENABLE);
ï‚· Configure DAC_OUTx (DAC_OUT1: PA4, DAC_OUT2: PA5) in analog mode.
ï‚· Configure the DAC channel using DAC_Init();
ï‚· Enable the DAC channel using DAC_Cmd();
7.2.3 DAC channels configuration: trigger, output buffer, data format
ï‚· DAC_DeInit()
ï‚· DAC_Init()
ï‚· DAC_StructInit()
ï‚· DAC_Cmd()
ï‚· DAC_SoftwareTriggerCmd()
ï‚· DAC_DualSoftwareTriggerCmd()
ï‚· DAC_WaveGenerationCmd()
ï‚· DAC_SetChannel1Data()
ï‚· DAC_SetChannel2Data()
ï‚· DAC_SetDualChannelData()
ï‚· DAC_GetDataOutputValue()
7.2.4 DMA management functions
ï‚· DAC_DMACmd()
7.2.5 Interrupts and flags management functions
ï‚· DAC_ITConfig()
ï‚· DAC_GetFlagStatus()
ï‚· DAC_ClearFlag()
ï‚· DAC_GetITStatus()
ï‚· DAC_ClearITPendingBit()
7.2.6 DAC channels configuration
7.2.6.1 DAC_DeInit
Deinitializes the DAC peripheral registers to their default reset
values.