STM32F4xx HAL Documentation
Hardware Abstraction Layer for STM32F4 familiy
|
Functions | |
static void | ADC_Init (ADC_HandleTypeDef *hadc) |
Initializes the ADCx peripheral according to the specified parameters in the ADC_InitStruct without initializing the ADC MSP. | |
static void | ADC_DMAConvCplt (DMA_HandleTypeDef *hdma) |
DMA transfer complete callback. | |
static void | ADC_DMAError (DMA_HandleTypeDef *hdma) |
DMA error callback. | |
static void | ADC_DMAHalfConvCplt (DMA_HandleTypeDef *hdma) |
DMA half transfer complete callback. | |
|
static |
#include <stm32f4xx_hal_adc.c>
Initializes the ADCx peripheral according to the specified parameters in the ADC_InitStruct without initializing the ADC MSP.
hadc | pointer to a ADC_HandleTypeDef structure that contains the configuration information for the specified ADC. |
None |
Definition at line 1906 of file stm32f4xx_hal_adc.c.
References ADC_COMMON_REGISTER, ADC_CR1_DISCONTINUOUS, ADC_CR1_SCANCONV, ADC_CR2_CONTINUOUS, ADC_CR2_DMAContReq, ADC_CR2_EOCSelection, ADC_SOFTWARE_START, ADC_SQR1, assert_param, ADC_InitTypeDef::ClockPrescaler, ADC_InitTypeDef::ContinuousConvMode, ADC_InitTypeDef::DataAlign, ADC_InitTypeDef::DiscontinuousConvMode, ADC_InitTypeDef::DMAContinuousRequests, ADC_InitTypeDef::EOCSelection, ADC_InitTypeDef::ExternalTrigConv, ADC_InitTypeDef::ExternalTrigConvEdge, ADC_HandleTypeDef::Init, ADC_HandleTypeDef::Instance, IS_ADC_REGULAR_DISC_NUMBER, ADC_InitTypeDef::NbrOfConversion, ADC_InitTypeDef::NbrOfDiscConversion, ADC_InitTypeDef::Resolution, and ADC_InitTypeDef::ScanConvMode.
Referenced by HAL_ADC_Init().
|
static |
#include <stm32f4xx_hal_adc.c>
DMA transfer complete callback.
hdma | pointer to a DMA_HandleTypeDef structure that contains the configuration information for the specified DMA module. |
None |
Definition at line 1994 of file stm32f4xx_hal_adc.c.
References __HAL_ADC_DISABLE_IT, ADC_IS_SOFTWARE_START_REGULAR, ADC_IT_EOC, ADC_InitTypeDef::ContinuousConvMode, ADC_HandleTypeDef::DMA_Handle, HAL_ADC_ConvCpltCallback(), HAL_ADC_ErrorCallback(), HAL_ADC_STATE_ERROR_DMA, HAL_ADC_STATE_ERROR_INTERNAL, HAL_ADC_STATE_INJ_BUSY, HAL_ADC_STATE_READY, HAL_ADC_STATE_REG_BUSY, HAL_ADC_STATE_REG_EOC, HAL_IS_BIT_CLR, ADC_HandleTypeDef::Init, ADC_HandleTypeDef::Instance, ADC_HandleTypeDef::State, and __DMA_HandleTypeDef::XferErrorCallback.
Referenced by HAL_ADC_Start_DMA().
|
static |
#include <stm32f4xx_hal_adc.c>
DMA error callback.
hdma | pointer to a DMA_HandleTypeDef structure that contains the configuration information for the specified DMA module. |
None |
Definition at line 2080 of file stm32f4xx_hal_adc.c.
References ADC_HandleTypeDef::ErrorCode, HAL_ADC_ERROR_DMA, HAL_ADC_ErrorCallback(), HAL_ADC_STATE_ERROR_DMA, and ADC_HandleTypeDef::State.
Referenced by HAL_ADC_Start_DMA().
|
static |
#include <stm32f4xx_hal_adc.c>
DMA half transfer complete callback.
hdma | pointer to a DMA_HandleTypeDef structure that contains the configuration information for the specified DMA module. |
None |
Definition at line 2063 of file stm32f4xx_hal_adc.c.
References HAL_ADC_ConvHalfCpltCallback().
Referenced by HAL_ADC_Start_DMA().