STM32F4xx HAL Documentation
Hardware Abstraction Layer for STM32F4 familiy
|
DMA private functions. More...
Functions | |
static void | DMA_SetConfig (DMA_HandleTypeDef *hdma, uint32_t SrcAddress, uint32_t DstAddress, uint32_t DataLength) |
Sets the DMA Transfer parameter. | |
static uint32_t | DMA_CalcBaseAndBitshift (DMA_HandleTypeDef *hdma) |
Returns the DMA Stream base address depending on stream number. | |
static HAL_StatusTypeDef | DMA_CheckFifoParam (DMA_HandleTypeDef *hdma) |
Check compatibility between FIFO threshold level and size of the memory burst. | |
DMA private functions.
|
static |
#include <stm32f4xx_hal_dma.c>
Sets the DMA Transfer parameter.
hdma | pointer to a DMA_HandleTypeDef structure that contains the configuration information for the specified DMA Stream. |
SrcAddress | The source memory Buffer address |
DstAddress | The destination memory Buffer address |
DataLength | The length of data to be transferred from source to destination |
HAL | status |
Definition at line 1151 of file stm32f4xx_hal_dma.c.
References DMA_InitTypeDef::Direction, DMA_MEMORY_TO_PERIPH, __DMA_HandleTypeDef::Init, and __DMA_HandleTypeDef::Instance.
Referenced by HAL_DMA_Start(), and HAL_DMA_Start_IT().
|
static |
#include <stm32f4xx_hal_dma.c>
Returns the DMA Stream base address depending on stream number.
hdma | pointer to a DMA_HandleTypeDef structure that contains the configuration information for the specified DMA Stream. |
Stream | base address |
Definition at line 1185 of file stm32f4xx_hal_dma.c.
References __DMA_HandleTypeDef::Instance, __DMA_HandleTypeDef::StreamBaseAddress, and __DMA_HandleTypeDef::StreamIndex.
Referenced by HAL_DMA_DeInit(), and HAL_DMA_Init().
|
static |
#include <stm32f4xx_hal_dma.c>
Check compatibility between FIFO threshold level and size of the memory burst.
hdma | pointer to a DMA_HandleTypeDef structure that contains the configuration information for the specified DMA Stream. |
HAL | status |
Definition at line 1213 of file stm32f4xx_hal_dma.c.
References DMA_FIFO_THRESHOLD_1QUARTERFULL, DMA_FIFO_THRESHOLD_3QUARTERSFULL, DMA_FIFO_THRESHOLD_FULL, DMA_FIFO_THRESHOLD_HALFFULL, DMA_MBURST_INC16, DMA_MDATAALIGN_BYTE, DMA_MDATAALIGN_HALFWORD, DMA_InitTypeDef::FIFOThreshold, HAL_ERROR, HAL_OK, __DMA_HandleTypeDef::Init, DMA_InitTypeDef::MemBurst, and DMA_InitTypeDef::MemDataAlignment.
Referenced by HAL_DMA_Init().