EasyManua.ls Logo

ST STM32F31xx

ST STM32F31xx
584 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Digital-to-analog converter (DAC)
UM1581
164/584
DocID023800 Rev 1
7.2.6.2 DAC_Init
Function Name
void DAC_Init ( uint32_t DAC_Channel, DAC_InitTypeDef *
DAC_InitStruct)
Function Description
Initializes the DAC peripheral according to the specified
parameters in the DAC_InitStruct.
Parameters
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.
Return values
None.
Notes
None.
7.2.6.3 DAC_StructInit
Function Name
void DAC_StructInit ( DAC_InitTypeDef * DAC_InitStruct)
Function Description
Fills each DAC_InitStruct member with its default value.
Parameters
DAC_InitStruct : pointer to a DAC_InitTypeDef structure
which will be initialized.
Return values
None.
Notes
None.
7.2.6.4 DAC_Cmd
Function Name
void DAC_Cmd ( uint32_t DAC_Channel, FunctionalState
NewState)
Function Description
Enables or disables the specified DAC channel.
Parameters
DAC_Channel : The selected DAC channel. This parameter
can be:
DAC_Channel_1 : DAC Channel1 selected

Table of Contents

Related product manuals