EasyManua.ls Logo

ST STM32F2

ST STM32F2
1371 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
UM1940
HAL ADC Generic Driver
DocID028236 Rev 2
87/1371
HAL_ADC_Start_DMA
Function name
HAL_StatusTypeDef HAL_ADC_Start_DMA
(ADC_HandleTypeDef * hadc, uint32_t * pData, uint32_t
Length)
Function description
Enables ADC DMA request after last transfer (Single-ADC mode)
and enables ADC peripheral.
Parameters
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.
Return values
HAL: status
HAL_ADC_Stop_DMA
Function name
HAL_StatusTypeDef HAL_ADC_Stop_DMA
(ADC_HandleTypeDef * hadc)
Function description
Disables ADC DMA (Single-ADC mode) and disables ADC
peripheral.
Parameters
hadc: pointer to a ADC_HandleTypeDef structure that
contains the configuration information for the specified ADC.
Return values
HAL: status
HAL_ADC_GetValue
Function name
uint32_t HAL_ADC_GetValue (ADC_HandleTypeDef * hadc)
Function description
Gets the converted value from data register of regular channel.
Parameters
hadc: pointer to a ADC_HandleTypeDef structure that
contains the configuration information for the specified ADC.
Return values
Converted: value
HAL_ADC_ConvCpltCallback
Function name
void HAL_ADC_ConvCpltCallback (ADC_HandleTypeDef *
hadc)
Function description
Regular conversion complete callback in non blocking mode.
Parameters
hadc: pointer to a ADC_HandleTypeDef structure that
contains the configuration information for the specified ADC.
Return values
None:
HAL_ADC_ConvHalfCpltCallback
Function name
void HAL_ADC_ConvHalfCpltCallback (ADC_HandleTypeDef *
hadc)
Function description
Regular conversion half DMA transfer callback in non blocking
mode.

Table of Contents

Related product manuals