Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of TUKS-COURSE-TIMER by
Initialization and de-initialization functions
[DMA Exported Functions]
Functions | |
uint32_t | LL_DMA_DeInit (DMA_TypeDef *DMAx, uint32_t Channel) |
De-initialize the DMA registers to their default reset values. | |
uint32_t | LL_DMA_Init (DMA_TypeDef *DMAx, uint32_t Channel, LL_DMA_InitTypeDef *DMA_InitStruct) |
Initialize the DMA registers according to the specified parameters in DMA_InitStruct. | |
void | LL_DMA_StructInit (LL_DMA_InitTypeDef *DMA_InitStruct) |
Set each LL_DMA_InitTypeDef field to default value. |
Function Documentation
uint32_t LL_DMA_DeInit | ( | DMA_TypeDef * | DMAx, |
uint32_t | Channel | ||
) |
De-initialize the DMA registers to their default reset values.
- Parameters:
-
DMAx DMAx Instance Channel This parameter can be one of the following values: - LL_DMA_CHANNEL_1
- LL_DMA_CHANNEL_2
- LL_DMA_CHANNEL_3
- LL_DMA_CHANNEL_4
- LL_DMA_CHANNEL_5
- LL_DMA_CHANNEL_6
- LL_DMA_CHANNEL_7
- LL_DMA_CHANNEL_ALL
- Return values:
-
An ErrorStatus enumeration value: - SUCCESS: DMA registers are de-initialized
- ERROR: DMA registers are not de-initialized
Definition at line 177 of file stm32l4xx_ll_dma.c.
uint32_t LL_DMA_Init | ( | DMA_TypeDef * | DMAx, |
uint32_t | Channel, | ||
LL_DMA_InitTypeDef * | DMA_InitStruct | ||
) |
Initialize the DMA registers according to the specified parameters in DMA_InitStruct.
- Note:
- To convert DMAx_Channely Instance to DMAx Instance and Channely, use helper macros :
- __LL_DMA_GET_INSTANCE
- __LL_DMA_GET_CHANNEL
- Parameters:
-
DMAx DMAx Instance Channel This parameter can be one of the following values: - LL_DMA_CHANNEL_1
- LL_DMA_CHANNEL_2
- LL_DMA_CHANNEL_3
- LL_DMA_CHANNEL_4
- LL_DMA_CHANNEL_5
- LL_DMA_CHANNEL_6
- LL_DMA_CHANNEL_7
DMA_InitStruct pointer to a LL_DMA_InitTypeDef structure.
- Return values:
-
An ErrorStatus enumeration value: - SUCCESS: DMA registers are initialized
- ERROR: Not applicable
Definition at line 296 of file stm32l4xx_ll_dma.c.
void LL_DMA_StructInit | ( | LL_DMA_InitTypeDef * | DMA_InitStruct ) |
Set each LL_DMA_InitTypeDef field to default value.
- Parameters:
-
DMA_InitStruct Pointer to a LL_DMA_InitTypeDef structure.
- Return values:
-
None
Definition at line 364 of file stm32l4xx_ll_dma.c.
Generated on Tue Jul 12 2022 17:38:56 by
