EasyManuals Logo

ST STM32F31xx User Manual

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
Page #164 background imageLoading...
Page #164 background image
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

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the ST STM32F31xx and is the answer not in the manual?

ST STM32F31xx Specifications

General IconGeneral
BrandST
ModelSTM32F31xx
CategoryMicrocontrollers
LanguageEnglish

Related product manuals