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 #833 background imageLoading...
Page #833 background image
UM1940
LL DAC Generic Driver
DocID028236 Rev 2
833/1371
values:
LL_DAC_CHANNEL_1
LL_DAC_CHANNEL_2
TriggerSource: This parameter can be one of the following
values:
LL_DAC_TRIG_SOFTWARE
LL_DAC_TRIG_EXT_TIM8_TRGO
LL_DAC_TRIG_EXT_TIM7_TRGO
LL_DAC_TRIG_EXT_TIM6_TRGO
LL_DAC_TRIG_EXT_TIM5_TRGO
LL_DAC_TRIG_EXT_TIM4_TRGO
LL_DAC_TRIG_EXT_TIM2_TRGO
LL_DAC_TRIG_EXT_EXTI_LINE9
Return values
None:
Notes
For conversion trigger source to be effective, DAC trigger
must be enabled using function LL_DAC_EnableTrigger().
To set conversion trigger source, DAC channel must be
disabled. Otherwise, the setting is discarded.
Availability of parameters of trigger sources from timer
depends on timers availability on the selected device.
Reference Manual to
LL API cross
reference:
CR TSEL1 LL_DAC_SetTriggerSource
CR TSEL2 LL_DAC_SetTriggerSource
LL_DAC_GetTriggerSource
Function name
__STATIC_INLINE uint32_t LL_DAC_GetTriggerSource
(DAC_TypeDef * DACx, uint32_t DAC_Channel)
Function description
Get the conversion trigger source for the selected DAC channel.
Parameters
DACx: DAC instance
DAC_Channel: This parameter can be one of the following
values:
LL_DAC_CHANNEL_1
LL_DAC_CHANNEL_2
Return values
Returned: value can be one of the following values:
LL_DAC_TRIG_SOFTWARE
LL_DAC_TRIG_EXT_TIM8_TRGO
LL_DAC_TRIG_EXT_TIM7_TRGO
LL_DAC_TRIG_EXT_TIM6_TRGO
LL_DAC_TRIG_EXT_TIM5_TRGO
LL_DAC_TRIG_EXT_TIM4_TRGO
LL_DAC_TRIG_EXT_TIM2_TRGO
LL_DAC_TRIG_EXT_EXTI_LINE9
Notes
For conversion trigger source to be effective, DAC trigger
must be enabled using function LL_DAC_EnableTrigger().
Availability of parameters of trigger sources from timer
depends on timers availability on the selected device.
Reference Manual to
LL API cross
CR TSEL1 LL_DAC_GetTriggerSource
CR TSEL2 LL_DAC_GetTriggerSource

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