LL_DAC_TRIANGLE_AMPLITUDE_255
Triangle wave generation, amplitude of 255
LSB of DAC output range, for the selected
DAC channel
LL_DAC_TRIANGLE_AMPLITUDE_511
Triangle wave generation, amplitude of 512
LSB of DAC output range, for the selected
DAC channel
LL_DAC_TRIANGLE_AMPLITUDE_1023
Triangle wave generation, amplitude of 1023
LSB of DAC output range, for the selected
DAC channel
LL_DAC_TRIANGLE_AMPLITUDE_2047
Triangle wave generation, amplitude of 2047
LSB of DAC output range, for the selected
DAC channel
LL_DAC_TRIANGLE_AMPLITUDE_4095
Triangle wave generation, amplitude of 4095
LSB of DAC output range, for the selected
DAC channel
DAC helper macro
__LL_DAC_CHANNEL_TO_DECIMAL_
NB
Description:
Helper macro to get DAC channel number
in decimal format from literals
LL_DAC_CHANNEL_x.
Parameters:
__CHANNEL__: This parameter can be
one of the following values:
LL_DAC_CHANNEL_1
LL_DAC_CHANNEL_2
Return value:
1...2
Notes:
The input can be a value from functions
where a channel number is returned.
__LL_DAC_DECIMAL_NB_TO_
CHANNEL
Description:
Helper macro to get DAC channel in literal
format LL_DAC_CHANNEL_x from
number in decimal format.
Parameters:
__DECIMAL_NB__: 1...2
Return value:
Returned: value can be one of the
following values:
LL_DAC_CHANNEL_1
LL_DAC_CHANNEL_2
Notes:
If the input parameter does not
correspond to a DAC channel, this macro