|
STM32F479xx HAL User Manual
|
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 uint32_t DMA_CalcBaseAndBitshift | ( | DMA_HandleTypeDef * | hdma | ) | [static] |
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 1184 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 HAL_StatusTypeDef DMA_CheckFifoParam | ( | DMA_HandleTypeDef * | hdma | ) | [static] |
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 1212 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, __DMA_HandleTypeDef::Init, DMA_InitTypeDef::MemBurst, and DMA_InitTypeDef::MemDataAlignment.
Referenced by HAL_DMA_Init().
| static void DMA_SetConfig | ( | DMA_HandleTypeDef * | hdma, |
| uint32_t | SrcAddress, | ||
| uint32_t | DstAddress, | ||
| uint32_t | DataLength | ||
| ) | [static] |
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 1150 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().
1.7.6.1