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

LL_DAC_TrigSWConversion() function

Trig DAC conversion by software 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_TrigSWConversion(DAC_TypeDef *DACx,     uint32_t DAC_Channel);

Arguments

DACx

DAC instance

DAC_Channel

This parameter can a combination of the following values: @arg LL_DAC_CHANNEL_1 @arg LL_DAC_CHANNEL_2 (1)

Return value

None

Notes

Preliminarily, DAC trigger must be set to software trigger using function LL_DAC_Init() LL_DAC_SetTriggerSource() with parameter "LL_DAC_TRIGGER_SOFTWARE". and DAC trigger must be enabled using function LL_DAC_EnableTrigger(). For devices featuring DAC with 2 channels: this function can perform a SW start of both DAC channels simultaneously. Two channels can be selected as parameter. Example: (LL_DAC_CHANNEL_1 | LL_DAC_CHANNEL_2) SWTRIGR SWTRIG2 LL_DAC_TrigSWConversion

Examples

LL_DAC_TrigSWConversion() is referenced by 1 libraries and example projects.

References

LocationText
stm32f4xx_ll_dac.h:1106
__STATIC_INLINE void LL_DAC_TrigSWConversion(DAC_TypeDef *DACx, uint32_t DAC_Channel)

Data Use

Data read by LL_DAC_TrigSWConversion()
LL_DAC_TrigSWConversion()