Initialization and de-initialization functions.
More...
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.
◆ hal_dma_deinit()
De-initialize the DMA peripheral.
- Parameters
-
[in] | p_dma | Pointer to a DMA handle which contains the configuration information for the specified DMA Channel. |
- Return values
-
◆ hal_dma_init()
Initialize the DMA according to the specified parameters in the dma_init_t and initialize the associated handle.
- Parameters
-
[in] | p_dma | Pointer to a DMA handle which contains the configuration information for the specified DMA Channel. |
- Return values
-