EasyManuals Logo

ST STM32F2 User Manual

ST STM32F2
1371 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 #848 background imageLoading...
Page #848 background image
LL DAC Generic Driver
UM1940
848/1371
DocID028236 Rev 2
DAC_Channel, LL_DAC_InitTypeDef * DAC_InitStruct)
Function description
Initialize some features of DAC instance.
Parameters
DACx: DAC instance
DAC_Channel: This parameter can be one of the following
values:
LL_DAC_CHANNEL_1
LL_DAC_CHANNEL_2
DAC_InitStruct: Pointer to a LL_DAC_InitTypeDef structure
Return values
An: ErrorStatus enumeration value:
SUCCESS: DAC registers are initialized
ERROR: DAC registers are not initialized
Notes
The setting of these parameters by function LL_DAC_Init() is
conditioned to DAC state: DAC instance must be disabled.
LL_DAC_StructInit
Function name
void LL_DAC_StructInit (LL_DAC_InitTypeDef *
DAC_InitStruct)
Function description
Set each LL_DAC_InitTypeDef field to default value.
Parameters
DAC_InitStruct: pointer to a LL_DAC_InitTypeDef structure
whose fields will be set to default values.
Return values
None:
54.3 DAC Firmware driver defines
54.3.1 DAC
DAC channels
LL_DAC_CHANNEL_1
DAC channel 1
LL_DAC_CHANNEL_2
DAC channel 2
DAC flags
LL_DAC_FLAG_DMAUDR1
DAC channel 1 flag DMA underrun
LL_DAC_FLAG_DMAUDR2
DAC channel 2 flag DMA underrun
Definitions of DAC hardware constraints delays
LL_DAC_DELAY_STARTUP_VOLTAGE_SETTLING_US
Delay for DAC channel voltage
settling time from DAC channel
startup (transition from disable
to enable)
LL_DAC_DELAY_VOLTAGE_SETTLING_US
Delay for DAC channel voltage
settling time
DAC interruptions
LL_DAC_IT_DMAUDRIE1
DAC channel 1 interruption DMA underrun
LL_DAC_IT_DMAUDRIE2
DAC channel 2 interruption DMA underrun
DAC channel output buffer

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

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

ST STM32F2 Specifications

General IconGeneral
BrandST
ModelSTM32F2
CategoryMicrocontrollers
LanguageEnglish

Related product manuals