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 #163 background imageLoading...
Page #163 background image
UM1581
Digital-to-analog converter (DAC)
DocID023800 Rev 1
163/584
ï‚· 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
Function Name
void DAC_DeInit ( void )
Function Description
Deinitializes the DAC peripheral registers to their default reset
values.
Parameters
ï‚· None.
Return values
ï‚· None.
Notes
ï‚· None.

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