HAL
LL_DAC_SetWaveTriangleAmplitude() is only used within HAL.
 
Symbols
loading...
Files
loading...
CodeScopeSTM32 Libraries and SamplesHALLL_DAC_SetWaveTriangleAmplitude()

LL_DAC_SetWaveTriangleAmplitude() function

Set the triangle waveform generation for the selected DAC channel: triangle mode and amplitude. (1) On this STM32 series, parameter not available on all devices. Refer to device datasheet for channels availability.

Syntax

__STATIC_INLINE void LL_DAC_SetWaveTriangleAmplitude(DAC_TypeDef *DACx,     uint32_t DAC_Channel,     uint32_t TriangleAmplitude);

Arguments

Return value

None

Notes

For wave generation to be effective, DAC channel wave generation mode must be enabled using function LL_DAC_SetWaveAutoGeneration(). This setting can be set when the selected DAC channel is disabled (otherwise, the setting operation is ignored). CR MAMP2 LL_DAC_SetWaveTriangleAmplitude

References

LocationText
stm32f4xx_ll_dac.h:746
__STATIC_INLINE void LL_DAC_SetWaveTriangleAmplitude(DAC_TypeDef *DACx, uint32_t DAC_Channel,

Data Use