|
STM32L4xx_HAL_Driver
1.14.0
|
Functions | |
| __STATIC_INLINE void | LL_DMA_EnableChannel (DMA_TypeDef *DMAx, uint32_t Channel) |
| Enable DMA channel. CCR EN LL_DMA_EnableChannel. More... | |
| __STATIC_INLINE void | LL_DMA_DisableChannel (DMA_TypeDef *DMAx, uint32_t Channel) |
| Disable DMA channel. CCR EN LL_DMA_DisableChannel. More... | |
| __STATIC_INLINE uint32_t | LL_DMA_IsEnabledChannel (DMA_TypeDef *DMAx, uint32_t Channel) |
| Check if DMA channel is enabled or disabled. CCR EN LL_DMA_IsEnabledChannel. More... | |
| __STATIC_INLINE void | LL_DMA_ConfigTransfer (DMA_TypeDef *DMAx, uint32_t Channel, uint32_t Configuration) |
| Configure all parameters link to DMA transfer. CCR DIR LL_DMA_ConfigTransfer CCR MEM2MEM LL_DMA_ConfigTransfer CCR CIRC LL_DMA_ConfigTransfer CCR PINC LL_DMA_ConfigTransfer CCR MINC LL_DMA_ConfigTransfer CCR PSIZE LL_DMA_ConfigTransfer CCR MSIZE LL_DMA_ConfigTransfer CCR PL LL_DMA_ConfigTransfer. More... | |
| __STATIC_INLINE void | LL_DMA_SetDataTransferDirection (DMA_TypeDef *DMAx, uint32_t Channel, uint32_t Direction) |
| Set Data transfer direction (read from peripheral or from memory). CCR DIR LL_DMA_SetDataTransferDirection CCR MEM2MEM LL_DMA_SetDataTransferDirection. More... | |
| __STATIC_INLINE uint32_t | LL_DMA_GetDataTransferDirection (DMA_TypeDef *DMAx, uint32_t Channel) |
| Get Data transfer direction (read from peripheral or from memory). CCR DIR LL_DMA_GetDataTransferDirection CCR MEM2MEM LL_DMA_GetDataTransferDirection. More... | |
| __STATIC_INLINE void | LL_DMA_SetMode (DMA_TypeDef *DMAx, uint32_t Channel, uint32_t Mode) |
| Set DMA mode circular or normal. More... | |
| __STATIC_INLINE uint32_t | LL_DMA_GetMode (DMA_TypeDef *DMAx, uint32_t Channel) |
| Get DMA mode circular or normal. CCR CIRC LL_DMA_GetMode. More... | |
| __STATIC_INLINE void | LL_DMA_SetPeriphIncMode (DMA_TypeDef *DMAx, uint32_t Channel, uint32_t PeriphOrM2MSrcIncMode) |
| Set Peripheral increment mode. CCR PINC LL_DMA_SetPeriphIncMode. More... | |
| __STATIC_INLINE uint32_t | LL_DMA_GetPeriphIncMode (DMA_TypeDef *DMAx, uint32_t Channel) |
| Get Peripheral increment mode. CCR PINC LL_DMA_GetPeriphIncMode. More... | |
| __STATIC_INLINE void | LL_DMA_SetMemoryIncMode (DMA_TypeDef *DMAx, uint32_t Channel, uint32_t MemoryOrM2MDstIncMode) |
| Set Memory increment mode. CCR MINC LL_DMA_SetMemoryIncMode. More... | |
| __STATIC_INLINE uint32_t | LL_DMA_GetMemoryIncMode (DMA_TypeDef *DMAx, uint32_t Channel) |
| Get Memory increment mode. CCR MINC LL_DMA_GetMemoryIncMode. More... | |
| __STATIC_INLINE void | LL_DMA_SetPeriphSize (DMA_TypeDef *DMAx, uint32_t Channel, uint32_t PeriphOrM2MSrcDataSize) |
| Set Peripheral size. CCR PSIZE LL_DMA_SetPeriphSize. More... | |
| __STATIC_INLINE uint32_t | LL_DMA_GetPeriphSize (DMA_TypeDef *DMAx, uint32_t Channel) |
| Get Peripheral size. CCR PSIZE LL_DMA_GetPeriphSize. More... | |
| __STATIC_INLINE void | LL_DMA_SetMemorySize (DMA_TypeDef *DMAx, uint32_t Channel, uint32_t MemoryOrM2MDstDataSize) |
| Set Memory size. CCR MSIZE LL_DMA_SetMemorySize. More... | |
| __STATIC_INLINE uint32_t | LL_DMA_GetMemorySize (DMA_TypeDef *DMAx, uint32_t Channel) |
| Get Memory size. CCR MSIZE LL_DMA_GetMemorySize. More... | |
| __STATIC_INLINE void | LL_DMA_SetChannelPriorityLevel (DMA_TypeDef *DMAx, uint32_t Channel, uint32_t Priority) |
| Set Channel priority level. CCR PL LL_DMA_SetChannelPriorityLevel. More... | |
| __STATIC_INLINE uint32_t | LL_DMA_GetChannelPriorityLevel (DMA_TypeDef *DMAx, uint32_t Channel) |
| Get Channel priority level. CCR PL LL_DMA_GetChannelPriorityLevel. More... | |
| __STATIC_INLINE void | LL_DMA_SetDataLength (DMA_TypeDef *DMAx, uint32_t Channel, uint32_t NbData) |
| Set Number of data to transfer. More... | |
| __STATIC_INLINE uint32_t | LL_DMA_GetDataLength (DMA_TypeDef *DMAx, uint32_t Channel) |
| Get Number of data to transfer. More... | |
| __STATIC_INLINE void | LL_DMA_ConfigAddresses (DMA_TypeDef *DMAx, uint32_t Channel, uint32_t SrcAddress, uint32_t DstAddress, uint32_t Direction) |
| Configure the Source and Destination addresses. More... | |
| __STATIC_INLINE void | LL_DMA_SetMemoryAddress (DMA_TypeDef *DMAx, uint32_t Channel, uint32_t MemoryAddress) |
| Set the Memory address. More... | |
| __STATIC_INLINE void | LL_DMA_SetPeriphAddress (DMA_TypeDef *DMAx, uint32_t Channel, uint32_t PeriphAddress) |
| Set the Peripheral address. More... | |
| __STATIC_INLINE uint32_t | LL_DMA_GetMemoryAddress (DMA_TypeDef *DMAx, uint32_t Channel) |
| Get Memory address. More... | |
| __STATIC_INLINE uint32_t | LL_DMA_GetPeriphAddress (DMA_TypeDef *DMAx, uint32_t Channel) |
| Get Peripheral address. More... | |
| __STATIC_INLINE void | LL_DMA_SetM2MSrcAddress (DMA_TypeDef *DMAx, uint32_t Channel, uint32_t MemoryAddress) |
| Set the Memory to Memory Source address. More... | |
| __STATIC_INLINE void | LL_DMA_SetM2MDstAddress (DMA_TypeDef *DMAx, uint32_t Channel, uint32_t MemoryAddress) |
| Set the Memory to Memory Destination address. More... | |
| __STATIC_INLINE uint32_t | LL_DMA_GetM2MSrcAddress (DMA_TypeDef *DMAx, uint32_t Channel) |
| Get the Memory to Memory Source address. More... | |
| __STATIC_INLINE uint32_t | LL_DMA_GetM2MDstAddress (DMA_TypeDef *DMAx, uint32_t Channel) |
| Get the Memory to Memory Destination address. More... | |
| __STATIC_INLINE void | LL_DMA_SetPeriphRequest (DMA_TypeDef *DMAx, uint32_t Channel, uint32_t Request) |
| Set DMA request for DMA Channels on DMAMUX Channel x. More... | |
| __STATIC_INLINE uint32_t | LL_DMA_GetPeriphRequest (DMA_TypeDef *DMAx, uint32_t Channel) |
| Get DMA request for DMA Channels on DMAMUX Channel x. More... | |
| __STATIC_INLINE void LL_DMA_ConfigAddresses | ( | DMA_TypeDef * | DMAx, |
| uint32_t | Channel, | ||
| uint32_t | SrcAddress, | ||
| uint32_t | DstAddress, | ||
| uint32_t | Direction | ||
| ) |
Configure the Source and Destination addresses.
| DMAx | DMAx Instance |
| Channel | This parameter can be one of the following values:
|
| SrcAddress | Between Min_Data = 0 and Max_Data = 0xFFFFFFFF |
| DstAddress | Between Min_Data = 0 and Max_Data = 0xFFFFFFFF |
| Direction | This parameter can be one of the following values:
|
| None |
Definition at line 1054 of file stm32l4xx_ll_dma.h.
| __STATIC_INLINE void LL_DMA_ConfigTransfer | ( | DMA_TypeDef * | DMAx, |
| uint32_t | Channel, | ||
| uint32_t | Configuration | ||
| ) |
Configure all parameters link to DMA transfer. CCR DIR LL_DMA_ConfigTransfer
CCR MEM2MEM LL_DMA_ConfigTransfer
CCR CIRC LL_DMA_ConfigTransfer
CCR PINC LL_DMA_ConfigTransfer
CCR MINC LL_DMA_ConfigTransfer
CCR PSIZE LL_DMA_ConfigTransfer
CCR MSIZE LL_DMA_ConfigTransfer
CCR PL LL_DMA_ConfigTransfer.
| DMAx | DMAx Instance |
| Channel | This parameter can be one of the following values:
|
| Configuration | This parameter must be a combination of all the following values:
|
| None |
Definition at line 633 of file stm32l4xx_ll_dma.h.
| __STATIC_INLINE void LL_DMA_DisableChannel | ( | DMA_TypeDef * | DMAx, |
| uint32_t | Channel | ||
| ) |
Disable DMA channel. CCR EN LL_DMA_DisableChannel.
| DMAx | DMAx Instance |
| Channel | This parameter can be one of the following values:
|
| None |
Definition at line 577 of file stm32l4xx_ll_dma.h.
| __STATIC_INLINE void LL_DMA_EnableChannel | ( | DMA_TypeDef * | DMAx, |
| uint32_t | Channel | ||
| ) |
Enable DMA channel. CCR EN LL_DMA_EnableChannel.
| DMAx | DMAx Instance |
| Channel | This parameter can be one of the following values:
|
| None |
Definition at line 557 of file stm32l4xx_ll_dma.h.
| __STATIC_INLINE uint32_t LL_DMA_GetChannelPriorityLevel | ( | DMA_TypeDef * | DMAx, |
| uint32_t | Channel | ||
| ) |
Get Channel priority level. CCR PL LL_DMA_GetChannelPriorityLevel.
| DMAx | DMAx Instance |
| Channel | This parameter can be one of the following values:
|
| Returned | value can be one of the following values:
|
Definition at line 977 of file stm32l4xx_ll_dma.h.
| __STATIC_INLINE uint32_t LL_DMA_GetDataLength | ( | DMA_TypeDef * | DMAx, |
| uint32_t | Channel | ||
| ) |
Get Number of data to transfer.
| DMAx | DMAx Instance |
| Channel | This parameter can be one of the following values:
|
| Between | Min_Data = 0 and Max_Data = 0xFFFFFFFF |
Definition at line 1024 of file stm32l4xx_ll_dma.h.
| __STATIC_INLINE uint32_t LL_DMA_GetDataTransferDirection | ( | DMA_TypeDef * | DMAx, |
| uint32_t | Channel | ||
| ) |
Get Data transfer direction (read from peripheral or from memory). CCR DIR LL_DMA_GetDataTransferDirection
CCR MEM2MEM LL_DMA_GetDataTransferDirection.
| DMAx | DMAx Instance |
| Channel | This parameter can be one of the following values:
|
| Returned | value can be one of the following values:
|
Definition at line 685 of file stm32l4xx_ll_dma.h.
| __STATIC_INLINE uint32_t LL_DMA_GetM2MDstAddress | ( | DMA_TypeDef * | DMAx, |
| uint32_t | Channel | ||
| ) |
Get the Memory to Memory Destination address.
| DMAx | DMAx Instance |
| Channel | This parameter can be one of the following values:
|
| Between | Min_Data = 0 and Max_Data = 0xFFFFFFFF |
Definition at line 1242 of file stm32l4xx_ll_dma.h.
| __STATIC_INLINE uint32_t LL_DMA_GetM2MSrcAddress | ( | DMA_TypeDef * | DMAx, |
| uint32_t | Channel | ||
| ) |
Get the Memory to Memory Source address.
| DMAx | DMAx Instance |
| Channel | This parameter can be one of the following values:
|
| Between | Min_Data = 0 and Max_Data = 0xFFFFFFFF |
Definition at line 1221 of file stm32l4xx_ll_dma.h.
| __STATIC_INLINE uint32_t LL_DMA_GetMemoryAddress | ( | DMA_TypeDef * | DMAx, |
| uint32_t | Channel | ||
| ) |
Get Memory address.
| DMAx | DMAx Instance |
| Channel | This parameter can be one of the following values:
|
| Between | Min_Data = 0 and Max_Data = 0xFFFFFFFF |
Definition at line 1133 of file stm32l4xx_ll_dma.h.
| __STATIC_INLINE uint32_t LL_DMA_GetMemoryIncMode | ( | DMA_TypeDef * | DMAx, |
| uint32_t | Channel | ||
| ) |
Get Memory increment mode. CCR MINC LL_DMA_GetMemoryIncMode.
| DMAx | DMAx Instance |
| Channel | This parameter can be one of the following values:
|
| Returned | value can be one of the following values:
|
Definition at line 828 of file stm32l4xx_ll_dma.h.
| __STATIC_INLINE uint32_t LL_DMA_GetMemorySize | ( | DMA_TypeDef * | DMAx, |
| uint32_t | Channel | ||
| ) |
Get Memory size. CCR MSIZE LL_DMA_GetMemorySize.
| DMAx | DMAx Instance |
| Channel | This parameter can be one of the following values:
|
| Returned | value can be one of the following values:
|
Definition at line 926 of file stm32l4xx_ll_dma.h.
| __STATIC_INLINE uint32_t LL_DMA_GetMode | ( | DMA_TypeDef * | DMAx, |
| uint32_t | Channel | ||
| ) |
Get DMA mode circular or normal. CCR CIRC LL_DMA_GetMode.
| DMAx | DMAx Instance |
| Channel | This parameter can be one of the following values:
|
| Returned | value can be one of the following values:
|
Definition at line 734 of file stm32l4xx_ll_dma.h.
| __STATIC_INLINE uint32_t LL_DMA_GetPeriphAddress | ( | DMA_TypeDef * | DMAx, |
| uint32_t | Channel | ||
| ) |
Get Peripheral address.
| DMAx | DMAx Instance |
| Channel | This parameter can be one of the following values:
|
| Between | Min_Data = 0 and Max_Data = 0xFFFFFFFF |
Definition at line 1154 of file stm32l4xx_ll_dma.h.
| __STATIC_INLINE uint32_t LL_DMA_GetPeriphIncMode | ( | DMA_TypeDef * | DMAx, |
| uint32_t | Channel | ||
| ) |
Get Peripheral increment mode. CCR PINC LL_DMA_GetPeriphIncMode.
| DMAx | DMAx Instance |
| Channel | This parameter can be one of the following values:
|
| Returned | value can be one of the following values:
|
Definition at line 781 of file stm32l4xx_ll_dma.h.
| __STATIC_INLINE uint32_t LL_DMA_GetPeriphRequest | ( | DMA_TypeDef * | DMAx, |
| uint32_t | Channel | ||
| ) |
Get DMA request for DMA Channels on DMAMUX Channel x.
Get DMA request for DMA instance on Channel x. CSELR C1S LL_DMA_GetPeriphRequest
CSELR C2S LL_DMA_GetPeriphRequest
CSELR C3S LL_DMA_GetPeriphRequest
CSELR C4S LL_DMA_GetPeriphRequest
CSELR C5S LL_DMA_GetPeriphRequest
CSELR C6S LL_DMA_GetPeriphRequest
CSELR C7S LL_DMA_GetPeriphRequest.
| DMAx | DMAx Instance |
| Channel | This parameter can be one of the following values:
|
| Returned | value can be one of the following values:
|
| DMAx | DMAx Instance |
| Channel | This parameter can be one of the following values:
|
| Returned | value can be one of the following values:
|
Definition at line 1476 of file stm32l4xx_ll_dma.h.
| __STATIC_INLINE uint32_t LL_DMA_GetPeriphSize | ( | DMA_TypeDef * | DMAx, |
| uint32_t | Channel | ||
| ) |
Get Peripheral size. CCR PSIZE LL_DMA_GetPeriphSize.
| DMAx | DMAx Instance |
| Channel | This parameter can be one of the following values:
|
| Returned | value can be one of the following values:
|
Definition at line 877 of file stm32l4xx_ll_dma.h.
| __STATIC_INLINE uint32_t LL_DMA_IsEnabledChannel | ( | DMA_TypeDef * | DMAx, |
| uint32_t | Channel | ||
| ) |
Check if DMA channel is enabled or disabled. CCR EN LL_DMA_IsEnabledChannel.
| DMAx | DMAx Instance |
| Channel | This parameter can be one of the following values:
|
| State | of bit (1 or 0). |
Definition at line 597 of file stm32l4xx_ll_dma.h.
| __STATIC_INLINE void LL_DMA_SetChannelPriorityLevel | ( | DMA_TypeDef * | DMAx, |
| uint32_t | Channel, | ||
| uint32_t | Priority | ||
| ) |
Set Channel priority level. CCR PL LL_DMA_SetChannelPriorityLevel.
| DMAx | DMAx Instance |
| Channel | This parameter can be one of the following values:
|
| Priority | This parameter can be one of the following values:
|
| None |
Definition at line 952 of file stm32l4xx_ll_dma.h.
| __STATIC_INLINE void LL_DMA_SetDataLength | ( | DMA_TypeDef * | DMAx, |
| uint32_t | Channel, | ||
| uint32_t | NbData | ||
| ) |
Set Number of data to transfer.
| DMAx | DMAx Instance |
| Channel | This parameter can be one of the following values:
|
| NbData | Between Min_Data = 0 and Max_Data = 0x0000FFFF |
| None |
Definition at line 1001 of file stm32l4xx_ll_dma.h.
| __STATIC_INLINE void LL_DMA_SetDataTransferDirection | ( | DMA_TypeDef * | DMAx, |
| uint32_t | Channel, | ||
| uint32_t | Direction | ||
| ) |
Set Data transfer direction (read from peripheral or from memory). CCR DIR LL_DMA_SetDataTransferDirection
CCR MEM2MEM LL_DMA_SetDataTransferDirection.
| DMAx | DMAx Instance |
| Channel | This parameter can be one of the following values:
|
| Direction | This parameter can be one of the following values:
|
| None |
Definition at line 660 of file stm32l4xx_ll_dma.h.
| __STATIC_INLINE void LL_DMA_SetM2MDstAddress | ( | DMA_TypeDef * | DMAx, |
| uint32_t | Channel, | ||
| uint32_t | MemoryAddress | ||
| ) |
Set the Memory to Memory Destination address.
| DMAx | DMAx Instance |
| Channel | This parameter can be one of the following values:
|
| MemoryAddress | Between Min_Data = 0 and Max_Data = 0xFFFFFFFF |
| None |
Definition at line 1200 of file stm32l4xx_ll_dma.h.
| __STATIC_INLINE void LL_DMA_SetM2MSrcAddress | ( | DMA_TypeDef * | DMAx, |
| uint32_t | Channel, | ||
| uint32_t | MemoryAddress | ||
| ) |
Set the Memory to Memory Source address.
| DMAx | DMAx Instance |
| Channel | This parameter can be one of the following values:
|
| MemoryAddress | Between Min_Data = 0 and Max_Data = 0xFFFFFFFF |
| None |
Definition at line 1177 of file stm32l4xx_ll_dma.h.
| __STATIC_INLINE void LL_DMA_SetMemoryAddress | ( | DMA_TypeDef * | DMAx, |
| uint32_t | Channel, | ||
| uint32_t | MemoryAddress | ||
| ) |
Set the Memory address.
| DMAx | DMAx Instance |
| Channel | This parameter can be one of the following values:
|
| MemoryAddress | Between Min_Data = 0 and Max_Data = 0xFFFFFFFF |
| None |
Definition at line 1089 of file stm32l4xx_ll_dma.h.
| __STATIC_INLINE void LL_DMA_SetMemoryIncMode | ( | DMA_TypeDef * | DMAx, |
| uint32_t | Channel, | ||
| uint32_t | MemoryOrM2MDstIncMode | ||
| ) |
Set Memory increment mode. CCR MINC LL_DMA_SetMemoryIncMode.
| DMAx | DMAx Instance |
| Channel | This parameter can be one of the following values:
|
| MemoryOrM2MDstIncMode | This parameter can be one of the following values:
|
| None |
Definition at line 805 of file stm32l4xx_ll_dma.h.
| __STATIC_INLINE void LL_DMA_SetMemorySize | ( | DMA_TypeDef * | DMAx, |
| uint32_t | Channel, | ||
| uint32_t | MemoryOrM2MDstDataSize | ||
| ) |
Set Memory size. CCR MSIZE LL_DMA_SetMemorySize.
| DMAx | DMAx Instance |
| Channel | This parameter can be one of the following values:
|
| MemoryOrM2MDstDataSize | This parameter can be one of the following values:
|
| None |
Definition at line 902 of file stm32l4xx_ll_dma.h.
| __STATIC_INLINE void LL_DMA_SetMode | ( | DMA_TypeDef * | DMAx, |
| uint32_t | Channel, | ||
| uint32_t | Mode | ||
| ) |
Set DMA mode circular or normal.
| DMAx | DMAx Instance |
| Channel | This parameter can be one of the following values:
|
| Mode | This parameter can be one of the following values:
|
| None |
Definition at line 711 of file stm32l4xx_ll_dma.h.
| __STATIC_INLINE void LL_DMA_SetPeriphAddress | ( | DMA_TypeDef * | DMAx, |
| uint32_t | Channel, | ||
| uint32_t | PeriphAddress | ||
| ) |
Set the Peripheral address.
| DMAx | DMAx Instance |
| Channel | This parameter can be one of the following values:
|
| PeriphAddress | Between Min_Data = 0 and Max_Data = 0xFFFFFFFF |
| None |
Definition at line 1112 of file stm32l4xx_ll_dma.h.
| __STATIC_INLINE void LL_DMA_SetPeriphIncMode | ( | DMA_TypeDef * | DMAx, |
| uint32_t | Channel, | ||
| uint32_t | PeriphOrM2MSrcIncMode | ||
| ) |
Set Peripheral increment mode. CCR PINC LL_DMA_SetPeriphIncMode.
| DMAx | DMAx Instance |
| Channel | This parameter can be one of the following values:
|
| PeriphOrM2MSrcIncMode | This parameter can be one of the following values:
|
| None |
Definition at line 758 of file stm32l4xx_ll_dma.h.
| __STATIC_INLINE void LL_DMA_SetPeriphRequest | ( | DMA_TypeDef * | DMAx, |
| uint32_t | Channel, | ||
| uint32_t | PeriphRequest | ||
| ) |
Set DMA request for DMA Channels on DMAMUX Channel x.
Set DMA request for DMA instance on Channel x.
| DMAx | DMAx Instance |
| Channel | This parameter can be one of the following values:
|
| Request | This parameter can be one of the following values:
|
| None |
| DMAx | DMAx Instance |
| Channel | This parameter can be one of the following values:
|
| PeriphRequest | This parameter can be one of the following values:
|
| None |
Definition at line 1360 of file stm32l4xx_ll_dma.h.
| __STATIC_INLINE void LL_DMA_SetPeriphSize | ( | DMA_TypeDef * | DMAx, |
| uint32_t | Channel, | ||
| uint32_t | PeriphOrM2MSrcDataSize | ||
| ) |
Set Peripheral size. CCR PSIZE LL_DMA_SetPeriphSize.
| DMAx | DMAx Instance |
| Channel | This parameter can be one of the following values:
|
| PeriphOrM2MSrcDataSize | This parameter can be one of the following values:
|
| None |
Definition at line 853 of file stm32l4xx_ll_dma.h.