L4 HAL Drivers
Initialization and de-initialization functions
[DMA Exported Functions]
Initialization and de-initialization functions. More...
Functions | |
HAL_StatusTypeDef | HAL_DMA_Init (DMA_HandleTypeDef *hdma) |
Initialize the DMA according to the specified parameters in the DMA_InitTypeDef and initialize the associated handle. | |
HAL_StatusTypeDef | HAL_DMA_DeInit (DMA_HandleTypeDef *hdma) |
DeInitialize the DMA peripheral. |
Detailed Description
Initialization and de-initialization functions.
=============================================================================== ##### Initialization and de-initialization functions ##### =============================================================================== [..] This section provides functions allowing to initialize the DMA Channel source and destination addresses, incrementation and data sizes, transfer direction, circular/normal mode selection, memory-to-memory mode selection and Channel priority value. [..] The HAL_DMA_Init() function follows the DMA configuration procedures as described in reference manual.
Function Documentation
HAL_StatusTypeDef HAL_DMA_DeInit | ( | DMA_HandleTypeDef * | hdma ) |
DeInitialize the DMA peripheral.
- Parameters:
-
hdma,: pointer to a DMA_HandleTypeDef structure that contains the configuration information for the specified DMA Channel.
- Return values:
-
HAL status
Definition at line 353 of file stm32l4xx_hal_dma.c.
HAL_StatusTypeDef HAL_DMA_Init | ( | DMA_HandleTypeDef * | hdma ) |
Initialize the DMA according to the specified parameters in the DMA_InitTypeDef and initialize the associated handle.
- Parameters:
-
hdma,: Pointer to a DMA_HandleTypeDef structure that contains the configuration information for the specified DMA Channel.
- Return values:
-
HAL status
Definition at line 170 of file stm32l4xx_hal_dma.c.
Generated on Tue Jul 12 2022 10:58:17 by 1.7.2