Reference Manual to
LL API cross
reference:
CR TEN1 LL_DAC_IsTriggerEnabled
CR TEN2 LL_DAC_IsTriggerEnabled
LL_DAC_TrigSWConversion
__STATIC_INLINE void LL_DAC_TrigSWConversion
(DAC_TypeDef * DACx, uint32_t DAC_Channel)
Trig DAC conversion by software for the selected DAC channel.
DACx: DAC instance
DAC_Channel: This parameter can a combination of the
following values:
LL_DAC_CHANNEL_1
LL_DAC_CHANNEL_2
Preliminarily, DAC trigger must be set to software trigger
using function 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)
Reference Manual to
LL API cross
reference:
SWTRIGR SWTRIG1 LL_DAC_TrigSWConversion
SWTRIGR SWTRIG2 LL_DAC_TrigSWConversion
LL_DAC_ConvertData12RightAligned
__STATIC_INLINE void LL_DAC_ConvertData12RightAligned
(DAC_TypeDef * DACx, uint32_t DAC_Channel, uint32_t Data)
Set the data to be loaded in the data holding register in format 12
bits left alignment (LSB aligned on bit 0), for the selected DAC
channel.
DACx: DAC instance
DAC_Channel: This parameter can be one of the following
values:
LL_DAC_CHANNEL_1
LL_DAC_CHANNEL_2
Data: Value between Min_Data=0x000 and
Max_Data=0xFFF
Reference Manual to
LL API cross
reference:
DHR12R1 DACC1DHR LL_DAC_ConvertData12RightAligned
DHR12R2 DACC2DHR
LL_DAC_ConvertData12RightAligned
LL_DAC_ConvertData12LeftAligned
__STATIC_INLINE void LL_DAC_ConvertData12LeftAligned