HAL
LL_DAC_IsEnabled() is only used within HAL.
 
Symbols
loading...
Files
loading...

LL_DAC_IsEnabled() function

Get DAC enable state of the selected channel. (0: DAC channel is disabled, 1: DAC channel is enabled) CR EN2 LL_DAC_IsEnabled (1) On this STM32 series, parameter not available on all devices. Refer to device datasheet for channels availability.

Syntax

__STATIC_INLINE uint32_t LL_DAC_IsEnabled(const DAC_TypeDef *DACx,     uint32_t DAC_Channel);

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)

Return value

State of bit (1 or 0).

References

LocationReferrerText
stm32f4xx_ll_dac.h:1008
__STATIC_INLINE uint32_t LL_DAC_IsEnabled(const DAC_TypeDef *DACx, uint32_t DAC_Channel)
stm32f4xx_ll_dac.c:195LL_DAC_Init()
if (LL_DAC_IsEnabled(DACx, DAC_Channel) == 0UL)

Call Tree

Functions calling LL_DAC_IsEnabled()
all items filtered out
LL_DAC_IsEnabled()
Data read by LL_DAC_IsEnabled()
LL_DAC_IsEnabled()
Type of LL_DAC_IsEnabled()
LL_DAC_IsEnabled()
uint32_t
all items filtered out