HAL + 0/2 examples
CodeScope will show references to LL_DAC_SetTriggerSource() from the following samples and libraries:
Examples
STM32F429ZI-Nucleo
Examples_LL
DAC
 
Symbols
loading...
Files
loading...

LL_DAC_SetTriggerSource() function

Set the conversion trigger source for the selected DAC channel. (1) On this STM32 series, parameter not available on all devices. Refer to device datasheet for channels availability.

Syntax

__STATIC_INLINE void LL_DAC_SetTriggerSource(DAC_TypeDef *DACx,     uint32_t DAC_Channel,     uint32_t TriggerSource);

Arguments

DACx

DAC instance

DAC_Channel

This parameter can be one of the following values: @arg LL_DAC_CHANNEL_1 @arg LL_DAC_CHANNEL_2 (1)

TriggerSource

Return value

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. CR TSEL2 LL_DAC_SetTriggerSource

Examples

LL_DAC_SetTriggerSource() is referenced by 2 libraries and example projects.

References

LocationText
stm32f4xx_ll_dac.h:554
__STATIC_INLINE void LL_DAC_SetTriggerSource(DAC_TypeDef *DACx, uint32_t DAC_Channel, uint32_t TriggerSource)

Data Use

Data read by LL_DAC_SetTriggerSource()
LL_DAC_SetTriggerSource()