UM1940
HAL_ADC_Start_DMA
Function name
Function description
Parameters
Return values
HAL_ADC_Stop_DMA
Function name
Function description
Parameters
Return values
HAL_ADC_GetValue
Function name
Function description
Parameters
Return values
HAL_ADC_ConvCpltCallback
Function name
Function description
Parameters
Return values
HAL_ADC_ConvHalfCpltCallback
Function name
Function description
HAL_StatusTypeDef HAL_ADC_Start_DMA
(ADC_HandleTypeDef * hadc, uint32_t * pData, uint32_t
Length)
Enables ADC DMA request after last transfer (Single-ADC mode)
and enables ADC peripheral.
hadc: pointer to a ADC_HandleTypeDef structure that
contains the configuration information for the specified ADC.
pData: The destination Buffer address.
Length: The length of data to be transferred from ADC
peripheral to memory.
HAL: status
HAL_StatusTypeDef HAL_ADC_Stop_DMA
(ADC_HandleTypeDef * hadc)
Disables ADC DMA (Single-ADC mode) and disables ADC
peripheral.
hadc: pointer to a ADC_HandleTypeDef structure that
contains the configuration information for the specified ADC.
HAL: status
uint32_t HAL_ADC_GetValue (ADC_HandleTypeDef * hadc)
Gets the converted value from data register of regular channel.
hadc: pointer to a ADC_HandleTypeDef structure that
contains the configuration information for the specified ADC.
Converted: value
void HAL_ADC_ConvCpltCallback (ADC_HandleTypeDef *
hadc)
Regular conversion complete callback in non blocking mode.
hadc: pointer to a ADC_HandleTypeDef structure that
contains the configuration information for the specified ADC.
None:
void HAL_ADC_ConvHalfCpltCallback (ADC_HandleTypeDef *
hadc)
Regular conversion half DMA transfer callback in non blocking
mode.
DocID028236 Rev 2
HAL ADC Generic Driver
87/1371
Need help?
Do you have a question about the STM32F2 and is the answer not in the manual?
Questions and answers