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

HAL_DAC_GetValue() function

Returns the last data output value of the selected DAC channel.

Syntax

uint32_t HAL_DAC_GetValue(const DAC_HandleTypeDef *hdac,     uint32_t Channel);
Implemented in stm32f4xx_hal_dac.c:923

Arguments

hdac

pointer to a DAC_HandleTypeDef structure that contains the configuration information for the specified DAC.

Channel

The selected DAC channel. This parameter can be one of the following values: @arg DAC_CHANNEL_1: DAC Channel1 selected @arg DAC_CHANNEL_2: DAC Channel2 selected

Return value

The selected DAC channel data output value.

References

LocationText
stm32f4xx_hal_dac.c:923
uint32_t HAL_DAC_GetValue(const DAC_HandleTypeDef *hdac, uint32_t Channel)
stm32f4xx_hal_dac.h:433
uint32_t HAL_DAC_GetValue(const DAC_HandleTypeDef *hdac, uint32_t Channel);

Data Use

Data read by HAL_DAC_GetValue()
Data written by HAL_DAC_GetValue()
HAL_DAC_GetValue()
HAL_DAC_GetValue()::result
all items filtered out
Type of HAL_DAC_GetValue()
HAL_DAC_GetValue()
uint32_t
all items filtered out