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 #161 background imageLoading...
Page #161 background image
UM1581
Digital-to-analog converter (DAC)
DocID023800 Rev 1
161/584
ï‚· __IO uint32_t DAC_TypeDef::DOR1
 DAC channel1 data output register, Address offset: 0x2C
ï‚· __IO uint32_t DAC_TypeDef::DOR2
 DAC channel2 data output register, Address offset: 0x30
ï‚· __IO uint32_t DAC_TypeDef::SR
 DAC status register, Address offset: 0x34
7.1.2 DAC_InitTypeDef
DAC_InitTypeDef is defined in the stm32f30x_dac.h
Data Fields
ï‚· uint32_t DAC_Trigger
ï‚· uint32_t DAC_WaveGeneration
ï‚· uint32_t DAC_LFSRUnmask_TriangleAmplitude
ï‚· uint32_t DAC_OutputBuffer
Field Documentation
ï‚· uint32_t DAC_InitTypeDef::DAC_Trigger
 Specifies the external trigger for the selected DAC channel. This parameter can
be a value of DAC_trigger_selection
ï‚· uint32_t DAC_InitTypeDef::DAC_WaveGeneration
 Specifies whether DAC channel noise waves or triangle waves are generated, or
whether no wave is generated. This parameter can be a value of
DAC_wave_generation
ï‚· uint32_t DAC_InitTypeDef::DAC_LFSRUnmask_TriangleAmplitude
 Specifies the LFSR mask for noise wave generation or the maximum amplitude
triangle generation for the DAC channel. This parameter can be a value of
DAC_lfsrunmask_triangleamplitude
ï‚· uint32_t DAC_InitTypeDef::DAC_OutputBuffer
 Specifies whether the DAC channel output buffer is enabled or disabled. This
parameter can be a value of DAC_output_buffer
7.2 DAC Firmware driver API description
The following section lists the various functions of the DAC library.
7.2.1 DAC Peripheral features
The device integrates two 12-bit Digital Analog Converters that can be used independently
or simultaneously (dual mode):
1. DAC channel1 with DAC_OUT1 as output
2. DAC channel2 with DAC_OUT2 as output

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