State and Errors functions. STMicroelectronics STM32F4
광고
광고
UM1725
Poll for transfer complete
Handle DMA interrupt request
This section contains the following APIs:
17.3.4 State and Errors functions
This subsection provides functions allowing to
Check the DMA state
Get error code
This section contains the following APIs:
17.3.5 HAL_DMA_Init
Function Name
HAL_StatusTypeDef HAL_DMA_Init (DMA_HandleTypeDef *
hdma)
Function Description Initializes the DMA according to the specified parameters in the
DMA_InitTypeDef and create the associated handle.
Parameters
Return values
hdma: Pointer to a DMA_HandleTypeDef structure that contains the configuration information for the specified DMA
Stream.
HAL status
17.3.6 HAL_DMA_DeInit
Function Name
HAL_StatusTypeDef HAL_DMA_DeInit (DMA_HandleTypeDef *
hdma)
Function Description DeInitializes the DMA peripheral.
Parameters
hdma: pointer to a DMA_HandleTypeDef structure that contains the configuration information for the specified DMA
Stream.
Return values
HAL status
17.3.7 HAL_DMA_Start
Function Name
HAL_StatusTypeDef HAL_DMA_Start (DMA_HandleTypeDef * hdma, uint32_t SrcAddress, uint32_t DstAddress, uint32_t
DataLength)
Function Description Starts the DMA Transfer.
Parameters
hdma: : pointer to a DMA_HandleTypeDef structure that contains the configuration information for the specified DMA
Stream.
DOCID025834 Rev 3 263/963
다운로드
광고