Digital-to-analog converter (DAC)
7.2.6.2 DAC_Init
void DAC_Init ( uint32_t DAC_Channel, DAC_InitTypeDef *
DAC_InitStruct)
Initializes the DAC peripheral according to the specified
parameters in the DAC_InitStruct.
ï‚· DAC_Channel : the selected DAC channel. This parameter
can be:
ï€ DAC_Channel_1 : DAC Channel1 selected
ï€ DAC_Channel_2 : DAC Channel2 selected
ï‚· DAC_InitStruct : pointer to a DAC_InitTypeDef structure that
contains the configuration information for the specified DAC
channel.
7.2.6.3 DAC_StructInit
void DAC_StructInit ( DAC_InitTypeDef * DAC_InitStruct)
Fills each DAC_InitStruct member with its default value.
ï‚· DAC_InitStruct : pointer to a DAC_InitTypeDef structure
which will be initialized.
7.2.6.4 DAC_Cmd
void DAC_Cmd ( uint32_t DAC_Channel, FunctionalState
NewState)
Enables or disables the specified DAC channel.
ï‚· DAC_Channel : The selected DAC channel. This parameter
can be:
ï€ DAC_Channel_1 : DAC Channel1 selected