STM32F4xx_HAL_Driver
1.8.3
|
Functions | |
__STATIC_INLINE void | LL_DMA_EnableStream (DMA_TypeDef *DMAx, uint32_t Stream) |
Enable DMA stream. @rmtoll CR EN LL_DMA_EnableStream. More... | |
__STATIC_INLINE void | LL_DMA_DisableStream (DMA_TypeDef *DMAx, uint32_t Stream) |
Disable DMA stream. @rmtoll CR EN LL_DMA_DisableStream. More... | |
__STATIC_INLINE uint32_t | LL_DMA_IsEnabledStream (DMA_TypeDef *DMAx, uint32_t Stream) |
Check if DMA stream is enabled or disabled. @rmtoll CR EN LL_DMA_IsEnabledStream. More... | |
__STATIC_INLINE void | LL_DMA_ConfigTransfer (DMA_TypeDef *DMAx, uint32_t Stream, uint32_t Configuration) |
Configure all parameters linked to DMA transfer. @rmtoll CR DIR LL_DMA_ConfigTransfer CR CIRC LL_DMA_ConfigTransfer CR PINC LL_DMA_ConfigTransfer CR MINC LL_DMA_ConfigTransfer CR PSIZE LL_DMA_ConfigTransfer CR MSIZE LL_DMA_ConfigTransfer CR PL LL_DMA_ConfigTransfer CR PFCTRL LL_DMA_ConfigTransfer. More... | |
__STATIC_INLINE void | LL_DMA_SetDataTransferDirection (DMA_TypeDef *DMAx, uint32_t Stream, uint32_t Direction) |
Set Data transfer direction (read from peripheral or from memory). @rmtoll CR DIR LL_DMA_SetDataTransferDirection. More... | |
__STATIC_INLINE uint32_t | LL_DMA_GetDataTransferDirection (DMA_TypeDef *DMAx, uint32_t Stream) |
Get Data transfer direction (read from peripheral or from memory). @rmtoll CR DIR LL_DMA_GetDataTransferDirection. More... | |
__STATIC_INLINE void | LL_DMA_SetMode (DMA_TypeDef *DMAx, uint32_t Stream, uint32_t Mode) |
Set DMA mode normal, circular or peripheral flow control. @rmtoll CR CIRC LL_DMA_SetMode CR PFCTRL LL_DMA_SetMode. More... | |
__STATIC_INLINE uint32_t | LL_DMA_GetMode (DMA_TypeDef *DMAx, uint32_t Stream) |
Get DMA mode normal, circular or peripheral flow control. @rmtoll CR CIRC LL_DMA_GetMode CR PFCTRL LL_DMA_GetMode. More... | |
__STATIC_INLINE void | LL_DMA_SetPeriphIncMode (DMA_TypeDef *DMAx, uint32_t Stream, uint32_t IncrementMode) |
Set Peripheral increment mode. @rmtoll CR PINC LL_DMA_SetPeriphIncMode. More... | |
__STATIC_INLINE uint32_t | LL_DMA_GetPeriphIncMode (DMA_TypeDef *DMAx, uint32_t Stream) |
Get Peripheral increment mode. @rmtoll CR PINC LL_DMA_GetPeriphIncMode. More... | |
__STATIC_INLINE void | LL_DMA_SetMemoryIncMode (DMA_TypeDef *DMAx, uint32_t Stream, uint32_t IncrementMode) |
Set Memory increment mode. @rmtoll CR MINC LL_DMA_SetMemoryIncMode. More... | |
__STATIC_INLINE uint32_t | LL_DMA_GetMemoryIncMode (DMA_TypeDef *DMAx, uint32_t Stream) |
Get Memory increment mode. @rmtoll CR MINC LL_DMA_GetMemoryIncMode. More... | |
__STATIC_INLINE void | LL_DMA_SetPeriphSize (DMA_TypeDef *DMAx, uint32_t Stream, uint32_t Size) |
Set Peripheral size. @rmtoll CR PSIZE LL_DMA_SetPeriphSize. More... | |
__STATIC_INLINE uint32_t | LL_DMA_GetPeriphSize (DMA_TypeDef *DMAx, uint32_t Stream) |
Get Peripheral size. @rmtoll CR PSIZE LL_DMA_GetPeriphSize. More... | |
__STATIC_INLINE void | LL_DMA_SetMemorySize (DMA_TypeDef *DMAx, uint32_t Stream, uint32_t Size) |
Set Memory size. @rmtoll CR MSIZE LL_DMA_SetMemorySize. More... | |
__STATIC_INLINE uint32_t | LL_DMA_GetMemorySize (DMA_TypeDef *DMAx, uint32_t Stream) |
Get Memory size. @rmtoll CR MSIZE LL_DMA_GetMemorySize. More... | |
__STATIC_INLINE void | LL_DMA_SetIncOffsetSize (DMA_TypeDef *DMAx, uint32_t Stream, uint32_t OffsetSize) |
Set Peripheral increment offset size. @rmtoll CR PINCOS LL_DMA_SetIncOffsetSize. More... | |
__STATIC_INLINE uint32_t | LL_DMA_GetIncOffsetSize (DMA_TypeDef *DMAx, uint32_t Stream) |
Get Peripheral increment offset size. @rmtoll CR PINCOS LL_DMA_GetIncOffsetSize. More... | |
__STATIC_INLINE void | LL_DMA_SetStreamPriorityLevel (DMA_TypeDef *DMAx, uint32_t Stream, uint32_t Priority) |
Set Stream priority level. @rmtoll CR PL LL_DMA_SetStreamPriorityLevel. More... | |
__STATIC_INLINE uint32_t | LL_DMA_GetStreamPriorityLevel (DMA_TypeDef *DMAx, uint32_t Stream) |
Get Stream priority level. @rmtoll CR PL LL_DMA_GetStreamPriorityLevel. More... | |
__STATIC_INLINE void | LL_DMA_SetDataLength (DMA_TypeDef *DMAx, uint32_t Stream, uint32_t NbData) |
Set Number of data to transfer. @rmtoll NDTR NDT LL_DMA_SetDataLength. More... | |
__STATIC_INLINE uint32_t | LL_DMA_GetDataLength (DMA_TypeDef *DMAx, uint32_t Stream) |
Get Number of data to transfer. @rmtoll NDTR NDT LL_DMA_GetDataLength. More... | |
__STATIC_INLINE void | LL_DMA_SetChannelSelection (DMA_TypeDef *DMAx, uint32_t Stream, uint32_t Channel) |
Select Channel number associated to the Stream. @rmtoll CR CHSEL LL_DMA_SetChannelSelection. More... | |
__STATIC_INLINE uint32_t | LL_DMA_GetChannelSelection (DMA_TypeDef *DMAx, uint32_t Stream) |
Get the Channel number associated to the Stream. @rmtoll CR CHSEL LL_DMA_GetChannelSelection. More... | |
__STATIC_INLINE void | LL_DMA_SetMemoryBurstxfer (DMA_TypeDef *DMAx, uint32_t Stream, uint32_t Mburst) |
Set Memory burst transfer configuration. @rmtoll CR MBURST LL_DMA_SetMemoryBurstxfer. More... | |
__STATIC_INLINE uint32_t | LL_DMA_GetMemoryBurstxfer (DMA_TypeDef *DMAx, uint32_t Stream) |
Get Memory burst transfer configuration. @rmtoll CR MBURST LL_DMA_GetMemoryBurstxfer. More... | |
__STATIC_INLINE void | LL_DMA_SetPeriphBurstxfer (DMA_TypeDef *DMAx, uint32_t Stream, uint32_t Pburst) |
Set Peripheral burst transfer configuration. @rmtoll CR PBURST LL_DMA_SetPeriphBurstxfer. More... | |
__STATIC_INLINE uint32_t | LL_DMA_GetPeriphBurstxfer (DMA_TypeDef *DMAx, uint32_t Stream) |
Get Peripheral burst transfer configuration. @rmtoll CR PBURST LL_DMA_GetPeriphBurstxfer. More... | |
__STATIC_INLINE void | LL_DMA_SetCurrentTargetMem (DMA_TypeDef *DMAx, uint32_t Stream, uint32_t CurrentMemory) |
Set Current target (only in double buffer mode) to Memory 1 or Memory 0. @rmtoll CR CT LL_DMA_SetCurrentTargetMem. More... | |
__STATIC_INLINE uint32_t | LL_DMA_GetCurrentTargetMem (DMA_TypeDef *DMAx, uint32_t Stream) |
Get Current target (only in double buffer mode). @rmtoll CR CT LL_DMA_GetCurrentTargetMem. More... | |
__STATIC_INLINE void | LL_DMA_EnableDoubleBufferMode (DMA_TypeDef *DMAx, uint32_t Stream) |
Enable the double buffer mode. @rmtoll CR DBM LL_DMA_EnableDoubleBufferMode. More... | |
__STATIC_INLINE void | LL_DMA_DisableDoubleBufferMode (DMA_TypeDef *DMAx, uint32_t Stream) |
Disable the double buffer mode. @rmtoll CR DBM LL_DMA_DisableDoubleBufferMode. More... | |
__STATIC_INLINE uint32_t | LL_DMA_GetFIFOStatus (DMA_TypeDef *DMAx, uint32_t Stream) |
Get FIFO status. @rmtoll FCR FS LL_DMA_GetFIFOStatus. More... | |
__STATIC_INLINE void | LL_DMA_DisableFifoMode (DMA_TypeDef *DMAx, uint32_t Stream) |
Disable Fifo mode. @rmtoll FCR DMDIS LL_DMA_DisableFifoMode. More... | |
__STATIC_INLINE void | LL_DMA_EnableFifoMode (DMA_TypeDef *DMAx, uint32_t Stream) |
Enable Fifo mode. @rmtoll FCR DMDIS LL_DMA_EnableFifoMode. More... | |
__STATIC_INLINE void | LL_DMA_SetFIFOThreshold (DMA_TypeDef *DMAx, uint32_t Stream, uint32_t Threshold) |
Select FIFO threshold. @rmtoll FCR FTH LL_DMA_SetFIFOThreshold. More... | |
__STATIC_INLINE uint32_t | LL_DMA_GetFIFOThreshold (DMA_TypeDef *DMAx, uint32_t Stream) |
Get FIFO threshold. @rmtoll FCR FTH LL_DMA_GetFIFOThreshold. More... | |
__STATIC_INLINE void | LL_DMA_ConfigFifo (DMA_TypeDef *DMAx, uint32_t Stream, uint32_t FifoMode, uint32_t FifoThreshold) |
Configure the FIFO . @rmtoll FCR FTH LL_DMA_ConfigFifo FCR DMDIS LL_DMA_ConfigFifo. More... | |
__STATIC_INLINE void | LL_DMA_ConfigAddresses (DMA_TypeDef *DMAx, uint32_t Stream, 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 Stream, uint32_t MemoryAddress) |
Set the Memory address. @rmtoll M0AR M0A LL_DMA_SetMemoryAddress. More... | |
__STATIC_INLINE void | LL_DMA_SetPeriphAddress (DMA_TypeDef *DMAx, uint32_t Stream, uint32_t PeriphAddress) |
Set the Peripheral address. @rmtoll PAR PA LL_DMA_SetPeriphAddress. More... | |
__STATIC_INLINE uint32_t | LL_DMA_GetMemoryAddress (DMA_TypeDef *DMAx, uint32_t Stream) |
Get the Memory address. @rmtoll M0AR M0A LL_DMA_GetMemoryAddress. More... | |
__STATIC_INLINE uint32_t | LL_DMA_GetPeriphAddress (DMA_TypeDef *DMAx, uint32_t Stream) |
Get the Peripheral address. @rmtoll PAR PA LL_DMA_GetPeriphAddress. More... | |
__STATIC_INLINE void | LL_DMA_SetM2MSrcAddress (DMA_TypeDef *DMAx, uint32_t Stream, uint32_t MemoryAddress) |
Set the Memory to Memory Source address. @rmtoll PAR PA LL_DMA_SetM2MSrcAddress. More... | |
__STATIC_INLINE void | LL_DMA_SetM2MDstAddress (DMA_TypeDef *DMAx, uint32_t Stream, uint32_t MemoryAddress) |
Set the Memory to Memory Destination address. @rmtoll M0AR M0A LL_DMA_SetM2MDstAddress. More... | |
__STATIC_INLINE uint32_t | LL_DMA_GetM2MSrcAddress (DMA_TypeDef *DMAx, uint32_t Stream) |
Get the Memory to Memory Source address. @rmtoll PAR PA LL_DMA_GetM2MSrcAddress. More... | |
__STATIC_INLINE uint32_t | LL_DMA_GetM2MDstAddress (DMA_TypeDef *DMAx, uint32_t Stream) |
Get the Memory to Memory Destination address. @rmtoll M0AR M0A LL_DMA_GetM2MDstAddress. More... | |
__STATIC_INLINE void | LL_DMA_SetMemory1Address (DMA_TypeDef *DMAx, uint32_t Stream, uint32_t Address) |
Set Memory 1 address (used in case of Double buffer mode). @rmtoll M1AR M1A LL_DMA_SetMemory1Address. More... | |
__STATIC_INLINE uint32_t | LL_DMA_GetMemory1Address (DMA_TypeDef *DMAx, uint32_t Stream) |
Get Memory 1 address (used in case of Double buffer mode). @rmtoll M1AR M1A LL_DMA_GetMemory1Address. More... | |
__STATIC_INLINE void LL_DMA_ConfigAddresses | ( | DMA_TypeDef * | DMAx, |
uint32_t | Stream, | ||
uint32_t | SrcAddress, | ||
uint32_t | DstAddress, | ||
uint32_t | Direction | ||
) |
Configure the Source and Destination addresses.
DMAx | DMAx Instance |
Stream | This parameter can be one of the following values:
|
SrcAddress | Between 0 to 0xFFFFFFFF |
DstAddress | Between 0 to 0xFFFFFFFF |
Direction | This parameter can be one of the following values:
|
None |
Definition at line 1402 of file stm32f4xx_ll_dma.h.
__STATIC_INLINE void LL_DMA_ConfigFifo | ( | DMA_TypeDef * | DMAx, |
uint32_t | Stream, | ||
uint32_t | FifoMode, | ||
uint32_t | FifoThreshold | ||
) |
Configure the FIFO . @rmtoll FCR FTH LL_DMA_ConfigFifo
FCR DMDIS LL_DMA_ConfigFifo.
DMAx | DMAx Instance |
Stream | This parameter can be one of the following values:
|
FifoMode | This parameter can be one of the following values:
|
FifoThreshold | This parameter can be one of the following values:
|
None |
Definition at line 1374 of file stm32f4xx_ll_dma.h.
__STATIC_INLINE void LL_DMA_ConfigTransfer | ( | DMA_TypeDef * | DMAx, |
uint32_t | Stream, | ||
uint32_t | Configuration | ||
) |
Configure all parameters linked to DMA transfer. @rmtoll CR DIR LL_DMA_ConfigTransfer
CR CIRC LL_DMA_ConfigTransfer
CR PINC LL_DMA_ConfigTransfer
CR MINC LL_DMA_ConfigTransfer
CR PSIZE LL_DMA_ConfigTransfer
CR MSIZE LL_DMA_ConfigTransfer
CR PL LL_DMA_ConfigTransfer
CR PFCTRL LL_DMA_ConfigTransfer.
DMAx | DMAx Instance |
Stream | 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 569 of file stm32f4xx_ll_dma.h.
__STATIC_INLINE void LL_DMA_DisableDoubleBufferMode | ( | DMA_TypeDef * | DMAx, |
uint32_t | Stream | ||
) |
Disable the double buffer mode. @rmtoll CR DBM LL_DMA_DisableDoubleBufferMode.
DMAx | DMAx Instance |
Stream | This parameter can be one of the following values:
|
None |
Definition at line 1230 of file stm32f4xx_ll_dma.h.
__STATIC_INLINE void LL_DMA_DisableFifoMode | ( | DMA_TypeDef * | DMAx, |
uint32_t | Stream | ||
) |
Disable Fifo mode. @rmtoll FCR DMDIS LL_DMA_DisableFifoMode.
DMAx | DMAx Instance |
Stream | This parameter can be one of the following values:
|
None |
Definition at line 1276 of file stm32f4xx_ll_dma.h.
__STATIC_INLINE void LL_DMA_DisableStream | ( | DMA_TypeDef * | DMAx, |
uint32_t | Stream | ||
) |
Disable DMA stream. @rmtoll CR EN LL_DMA_DisableStream.
DMAx | DMAx Instance |
Stream | This parameter can be one of the following values:
|
None |
Definition at line 514 of file stm32f4xx_ll_dma.h.
__STATIC_INLINE void LL_DMA_EnableDoubleBufferMode | ( | DMA_TypeDef * | DMAx, |
uint32_t | Stream | ||
) |
Enable the double buffer mode. @rmtoll CR DBM LL_DMA_EnableDoubleBufferMode.
DMAx | DMAx Instance |
Stream | This parameter can be one of the following values:
|
None |
Definition at line 1210 of file stm32f4xx_ll_dma.h.
__STATIC_INLINE void LL_DMA_EnableFifoMode | ( | DMA_TypeDef * | DMAx, |
uint32_t | Stream | ||
) |
Enable Fifo mode. @rmtoll FCR DMDIS LL_DMA_EnableFifoMode.
DMAx | DMAx Instance |
Stream | This parameter can be one of the following values:
|
None |
Definition at line 1296 of file stm32f4xx_ll_dma.h.
__STATIC_INLINE void LL_DMA_EnableStream | ( | DMA_TypeDef * | DMAx, |
uint32_t | Stream | ||
) |
Enable DMA stream. @rmtoll CR EN LL_DMA_EnableStream.
DMAx | DMAx Instance |
Stream | This parameter can be one of the following values:
|
None |
Definition at line 494 of file stm32f4xx_ll_dma.h.
__STATIC_INLINE uint32_t LL_DMA_GetChannelSelection | ( | DMA_TypeDef * | DMAx, |
uint32_t | Stream | ||
) |
Get the Channel number associated to the Stream. @rmtoll CR CHSEL LL_DMA_GetChannelSelection.
DMAx | DMAx Instance |
Stream | This parameter can be one of the following values:
|
Returned | value can be one of the following values:
|
Definition at line 1047 of file stm32f4xx_ll_dma.h.
__STATIC_INLINE uint32_t LL_DMA_GetCurrentTargetMem | ( | DMA_TypeDef * | DMAx, |
uint32_t | Stream | ||
) |
Get Current target (only in double buffer mode). @rmtoll CR CT LL_DMA_GetCurrentTargetMem.
DMAx | DMAx Instance |
Stream | This parameter can be one of the following values:
|
Returned | value can be one of the following values:
|
Definition at line 1190 of file stm32f4xx_ll_dma.h.
__STATIC_INLINE uint32_t LL_DMA_GetDataLength | ( | DMA_TypeDef * | DMAx, |
uint32_t | Stream | ||
) |
Get Number of data to transfer. @rmtoll NDTR NDT LL_DMA_GetDataLength.
DMAx | DMAx Instance |
Stream | This parameter can be one of the following values:
|
Between | 0 to 0xFFFFFFFF |
Definition at line 990 of file stm32f4xx_ll_dma.h.
__STATIC_INLINE uint32_t LL_DMA_GetDataTransferDirection | ( | DMA_TypeDef * | DMAx, |
uint32_t | Stream | ||
) |
Get Data transfer direction (read from peripheral or from memory). @rmtoll CR DIR LL_DMA_GetDataTransferDirection.
DMAx | DMAx Instance |
Stream | This parameter can be one of the following values:
|
Returned | value can be one of the following values:
|
Definition at line 618 of file stm32f4xx_ll_dma.h.
__STATIC_INLINE uint32_t LL_DMA_GetFIFOStatus | ( | DMA_TypeDef * | DMAx, |
uint32_t | Stream | ||
) |
Get FIFO status. @rmtoll FCR FS LL_DMA_GetFIFOStatus.
DMAx | DMAx Instance |
Stream | This parameter can be one of the following values:
|
Returned | value can be one of the following values:
|
Definition at line 1256 of file stm32f4xx_ll_dma.h.
__STATIC_INLINE uint32_t LL_DMA_GetFIFOThreshold | ( | DMA_TypeDef * | DMAx, |
uint32_t | Stream | ||
) |
Get FIFO threshold. @rmtoll FCR FTH LL_DMA_GetFIFOThreshold.
DMAx | DMAx Instance |
Stream | This parameter can be one of the following values:
|
Returned | value can be one of the following values:
|
Definition at line 1345 of file stm32f4xx_ll_dma.h.
__STATIC_INLINE uint32_t LL_DMA_GetIncOffsetSize | ( | DMA_TypeDef * | DMAx, |
uint32_t | Stream | ||
) |
Get Peripheral increment offset size. @rmtoll CR PINCOS LL_DMA_GetIncOffsetSize.
DMAx | DMAx Instance |
Stream | This parameter can be one of the following values:
|
Returned | value can be one of the following values:
|
Definition at line 896 of file stm32f4xx_ll_dma.h.
__STATIC_INLINE uint32_t LL_DMA_GetM2MDstAddress | ( | DMA_TypeDef * | DMAx, |
uint32_t | Stream | ||
) |
Get the Memory to Memory Destination address. @rmtoll M0AR M0A LL_DMA_GetM2MDstAddress.
DMAx | DMAx Instance |
Stream | This parameter can be one of the following values:
|
Between | 0 to 0xFFFFFFFF |
Definition at line 1589 of file stm32f4xx_ll_dma.h.
__STATIC_INLINE uint32_t LL_DMA_GetM2MSrcAddress | ( | DMA_TypeDef * | DMAx, |
uint32_t | Stream | ||
) |
Get the Memory to Memory Source address. @rmtoll PAR PA LL_DMA_GetM2MSrcAddress.
DMAx | DMAx Instance |
Stream | This parameter can be one of the following values:
|
Between | 0 to 0xFFFFFFFF |
Definition at line 1568 of file stm32f4xx_ll_dma.h.
__STATIC_INLINE uint32_t LL_DMA_GetMemory1Address | ( | DMA_TypeDef * | DMAx, |
uint32_t | Stream | ||
) |
Get Memory 1 address (used in case of Double buffer mode). @rmtoll M1AR M1A LL_DMA_GetMemory1Address.
DMAx | DMAx Instance |
Stream | This parameter can be one of the following values:
|
Between | 0 to 0xFFFFFFFF |
Definition at line 1630 of file stm32f4xx_ll_dma.h.
__STATIC_INLINE uint32_t LL_DMA_GetMemoryAddress | ( | DMA_TypeDef * | DMAx, |
uint32_t | Stream | ||
) |
Get the Memory address. @rmtoll M0AR M0A LL_DMA_GetMemoryAddress.
DMAx | DMAx Instance |
Stream | This parameter can be one of the following values:
|
Between | 0 to 0xFFFFFFFF |
Definition at line 1480 of file stm32f4xx_ll_dma.h.
__STATIC_INLINE uint32_t LL_DMA_GetMemoryBurstxfer | ( | DMA_TypeDef * | DMAx, |
uint32_t | Stream | ||
) |
Get Memory burst transfer configuration. @rmtoll CR MBURST LL_DMA_GetMemoryBurstxfer.
DMAx | DMAx Instance |
Stream | This parameter can be one of the following values:
|
Returned | value can be one of the following values:
|
Definition at line 1096 of file stm32f4xx_ll_dma.h.
__STATIC_INLINE uint32_t LL_DMA_GetMemoryIncMode | ( | DMA_TypeDef * | DMAx, |
uint32_t | Stream | ||
) |
Get Memory increment mode. @rmtoll CR MINC LL_DMA_GetMemoryIncMode.
DMAx | DMAx Instance |
Stream | This parameter can be one of the following values:
|
Returned | value can be one of the following values:
|
Definition at line 757 of file stm32f4xx_ll_dma.h.
__STATIC_INLINE uint32_t LL_DMA_GetMemorySize | ( | DMA_TypeDef * | DMAx, |
uint32_t | Stream | ||
) |
Get Memory size. @rmtoll CR MSIZE LL_DMA_GetMemorySize.
DMAx | DMAx Instance |
Stream | This parameter can be one of the following values:
|
Returned | value can be one of the following values:
|
Definition at line 851 of file stm32f4xx_ll_dma.h.
__STATIC_INLINE uint32_t LL_DMA_GetMode | ( | DMA_TypeDef * | DMAx, |
uint32_t | Stream | ||
) |
Get DMA mode normal, circular or peripheral flow control. @rmtoll CR CIRC LL_DMA_GetMode
CR PFCTRL LL_DMA_GetMode.
DMAx | DMAx Instance |
Stream | This parameter can be one of the following values:
|
Returned | value can be one of the following values:
|
Definition at line 667 of file stm32f4xx_ll_dma.h.
__STATIC_INLINE uint32_t LL_DMA_GetPeriphAddress | ( | DMA_TypeDef * | DMAx, |
uint32_t | Stream | ||
) |
Get the Peripheral address. @rmtoll PAR PA LL_DMA_GetPeriphAddress.
DMAx | DMAx Instance |
Stream | This parameter can be one of the following values:
|
Between | 0 to 0xFFFFFFFF |
Definition at line 1501 of file stm32f4xx_ll_dma.h.
__STATIC_INLINE uint32_t LL_DMA_GetPeriphBurstxfer | ( | DMA_TypeDef * | DMAx, |
uint32_t | Stream | ||
) |
Get Peripheral burst transfer configuration. @rmtoll CR PBURST LL_DMA_GetPeriphBurstxfer.
DMAx | DMAx Instance |
Stream | This parameter can be one of the following values:
|
Returned | value can be one of the following values:
|
Definition at line 1145 of file stm32f4xx_ll_dma.h.
__STATIC_INLINE uint32_t LL_DMA_GetPeriphIncMode | ( | DMA_TypeDef * | DMAx, |
uint32_t | Stream | ||
) |
Get Peripheral increment mode. @rmtoll CR PINC LL_DMA_GetPeriphIncMode.
DMAx | DMAx Instance |
Stream | This parameter can be one of the following values:
|
Returned | value can be one of the following values:
|
Definition at line 712 of file stm32f4xx_ll_dma.h.
__STATIC_INLINE uint32_t LL_DMA_GetPeriphSize | ( | DMA_TypeDef * | DMAx, |
uint32_t | Stream | ||
) |
Get Peripheral size. @rmtoll CR PSIZE LL_DMA_GetPeriphSize.
DMAx | DMAx Instance |
Stream | This parameter can be one of the following values:
|
Returned | value can be one of the following values:
|
Definition at line 804 of file stm32f4xx_ll_dma.h.
__STATIC_INLINE uint32_t LL_DMA_GetStreamPriorityLevel | ( | DMA_TypeDef * | DMAx, |
uint32_t | Stream | ||
) |
Get Stream priority level. @rmtoll CR PL LL_DMA_GetStreamPriorityLevel.
DMAx | DMAx Instance |
Stream | This parameter can be one of the following values:
|
Returned | value can be one of the following values:
|
Definition at line 945 of file stm32f4xx_ll_dma.h.
__STATIC_INLINE uint32_t LL_DMA_IsEnabledStream | ( | DMA_TypeDef * | DMAx, |
uint32_t | Stream | ||
) |
Check if DMA stream is enabled or disabled. @rmtoll CR EN LL_DMA_IsEnabledStream.
DMAx | DMAx Instance |
Stream | This parameter can be one of the following values:
|
State | of bit (1 or 0). |
Definition at line 534 of file stm32f4xx_ll_dma.h.
__STATIC_INLINE void LL_DMA_SetChannelSelection | ( | DMA_TypeDef * | DMAx, |
uint32_t | Stream, | ||
uint32_t | Channel | ||
) |
Select Channel number associated to the Stream. @rmtoll CR CHSEL LL_DMA_SetChannelSelection.
DMAx | DMAx Instance |
Stream | This parameter can be one of the following values:
|
Channel | This parameter can be one of the following values:
|
None |
Definition at line 1019 of file stm32f4xx_ll_dma.h.
__STATIC_INLINE void LL_DMA_SetCurrentTargetMem | ( | DMA_TypeDef * | DMAx, |
uint32_t | Stream, | ||
uint32_t | CurrentMemory | ||
) |
Set Current target (only in double buffer mode) to Memory 1 or Memory 0. @rmtoll CR CT LL_DMA_SetCurrentTargetMem.
DMAx | DMAx Instance |
Stream | This parameter can be one of the following values:
|
CurrentMemory | This parameter can be one of the following values:
|
None |
Definition at line 1168 of file stm32f4xx_ll_dma.h.
__STATIC_INLINE void LL_DMA_SetDataLength | ( | DMA_TypeDef * | DMAx, |
uint32_t | Stream, | ||
uint32_t | NbData | ||
) |
Set Number of data to transfer. @rmtoll NDTR NDT LL_DMA_SetDataLength.
DMAx | DMAx Instance |
Stream | This parameter can be one of the following values:
|
NbData | Between 0 to 0xFFFFFFFF |
None |
Definition at line 968 of file stm32f4xx_ll_dma.h.
__STATIC_INLINE void LL_DMA_SetDataTransferDirection | ( | DMA_TypeDef * | DMAx, |
uint32_t | Stream, | ||
uint32_t | Direction | ||
) |
Set Data transfer direction (read from peripheral or from memory). @rmtoll CR DIR LL_DMA_SetDataTransferDirection.
DMAx | DMAx Instance |
Stream | This parameter can be one of the following values:
|
Direction | This parameter can be one of the following values:
|
None |
Definition at line 595 of file stm32f4xx_ll_dma.h.
__STATIC_INLINE void LL_DMA_SetFIFOThreshold | ( | DMA_TypeDef * | DMAx, |
uint32_t | Stream, | ||
uint32_t | Threshold | ||
) |
Select FIFO threshold. @rmtoll FCR FTH LL_DMA_SetFIFOThreshold.
DMAx | DMAx Instance |
Stream | This parameter can be one of the following values:
|
Threshold | This parameter can be one of the following values:
|
None |
Definition at line 1321 of file stm32f4xx_ll_dma.h.
__STATIC_INLINE void LL_DMA_SetIncOffsetSize | ( | DMA_TypeDef * | DMAx, |
uint32_t | Stream, | ||
uint32_t | OffsetSize | ||
) |
Set Peripheral increment offset size. @rmtoll CR PINCOS LL_DMA_SetIncOffsetSize.
DMAx | DMAx Instance |
Stream | This parameter can be one of the following values:
|
OffsetSize | This parameter can be one of the following values:
|
None |
Definition at line 874 of file stm32f4xx_ll_dma.h.
__STATIC_INLINE void LL_DMA_SetM2MDstAddress | ( | DMA_TypeDef * | DMAx, |
uint32_t | Stream, | ||
uint32_t | MemoryAddress | ||
) |
Set the Memory to Memory Destination address. @rmtoll M0AR M0A LL_DMA_SetM2MDstAddress.
DMAx | DMAx Instance |
Stream | This parameter can be one of the following values:
|
MemoryAddress | Between 0 to 0xFFFFFFFF |
None |
Definition at line 1547 of file stm32f4xx_ll_dma.h.
__STATIC_INLINE void LL_DMA_SetM2MSrcAddress | ( | DMA_TypeDef * | DMAx, |
uint32_t | Stream, | ||
uint32_t | MemoryAddress | ||
) |
Set the Memory to Memory Source address. @rmtoll PAR PA LL_DMA_SetM2MSrcAddress.
DMAx | DMAx Instance |
Stream | This parameter can be one of the following values:
|
MemoryAddress | Between 0 to 0xFFFFFFFF |
None |
Definition at line 1524 of file stm32f4xx_ll_dma.h.
__STATIC_INLINE void LL_DMA_SetMemory1Address | ( | DMA_TypeDef * | DMAx, |
uint32_t | Stream, | ||
uint32_t | Address | ||
) |
Set Memory 1 address (used in case of Double buffer mode). @rmtoll M1AR M1A LL_DMA_SetMemory1Address.
DMAx | DMAx Instance |
Stream | This parameter can be one of the following values:
|
Address | Between 0 to 0xFFFFFFFF |
None |
Definition at line 1610 of file stm32f4xx_ll_dma.h.
__STATIC_INLINE void LL_DMA_SetMemoryAddress | ( | DMA_TypeDef * | DMAx, |
uint32_t | Stream, | ||
uint32_t | MemoryAddress | ||
) |
Set the Memory address. @rmtoll M0AR M0A LL_DMA_SetMemoryAddress.
DMAx | DMAx Instance |
Stream | This parameter can be one of the following values:
|
MemoryAddress | Between 0 to 0xFFFFFFFF |
None |
Definition at line 1436 of file stm32f4xx_ll_dma.h.
__STATIC_INLINE void LL_DMA_SetMemoryBurstxfer | ( | DMA_TypeDef * | DMAx, |
uint32_t | Stream, | ||
uint32_t | Mburst | ||
) |
Set Memory burst transfer configuration. @rmtoll CR MBURST LL_DMA_SetMemoryBurstxfer.
DMAx | DMAx Instance |
Stream | This parameter can be one of the following values:
|
Mburst | This parameter can be one of the following values:
|
None |
Definition at line 1072 of file stm32f4xx_ll_dma.h.
__STATIC_INLINE void LL_DMA_SetMemoryIncMode | ( | DMA_TypeDef * | DMAx, |
uint32_t | Stream, | ||
uint32_t | IncrementMode | ||
) |
Set Memory increment mode. @rmtoll CR MINC LL_DMA_SetMemoryIncMode.
DMAx | DMAx Instance |
Stream | This parameter can be one of the following values:
|
IncrementMode | This parameter can be one of the following values:
|
None |
Definition at line 735 of file stm32f4xx_ll_dma.h.
__STATIC_INLINE void LL_DMA_SetMemorySize | ( | DMA_TypeDef * | DMAx, |
uint32_t | Stream, | ||
uint32_t | Size | ||
) |
Set Memory size. @rmtoll CR MSIZE LL_DMA_SetMemorySize.
DMAx | DMAx Instance |
Stream | This parameter can be one of the following values:
|
Size | This parameter can be one of the following values:
|
None |
Definition at line 828 of file stm32f4xx_ll_dma.h.
__STATIC_INLINE void LL_DMA_SetMode | ( | DMA_TypeDef * | DMAx, |
uint32_t | Stream, | ||
uint32_t | Mode | ||
) |
Set DMA mode normal, circular or peripheral flow control. @rmtoll CR CIRC LL_DMA_SetMode
CR PFCTRL LL_DMA_SetMode.
DMAx | DMAx Instance |
Stream | This parameter can be one of the following values:
|
Mode | This parameter can be one of the following values:
|
None |
Definition at line 643 of file stm32f4xx_ll_dma.h.
__STATIC_INLINE void LL_DMA_SetPeriphAddress | ( | DMA_TypeDef * | DMAx, |
uint32_t | Stream, | ||
uint32_t | PeriphAddress | ||
) |
Set the Peripheral address. @rmtoll PAR PA LL_DMA_SetPeriphAddress.
DMAx | DMAx Instance |
Stream | This parameter can be one of the following values:
|
PeriphAddress | Between 0 to 0xFFFFFFFF |
None |
Definition at line 1459 of file stm32f4xx_ll_dma.h.
__STATIC_INLINE void LL_DMA_SetPeriphBurstxfer | ( | DMA_TypeDef * | DMAx, |
uint32_t | Stream, | ||
uint32_t | Pburst | ||
) |
Set Peripheral burst transfer configuration. @rmtoll CR PBURST LL_DMA_SetPeriphBurstxfer.
DMAx | DMAx Instance |
Stream | This parameter can be one of the following values:
|
Pburst | This parameter can be one of the following values:
|
None |
Definition at line 1121 of file stm32f4xx_ll_dma.h.
__STATIC_INLINE void LL_DMA_SetPeriphIncMode | ( | DMA_TypeDef * | DMAx, |
uint32_t | Stream, | ||
uint32_t | IncrementMode | ||
) |
Set Peripheral increment mode. @rmtoll CR PINC LL_DMA_SetPeriphIncMode.
DMAx | DMAx Instance |
Stream | This parameter can be one of the following values:
|
IncrementMode | This parameter can be one of the following values:
|
None |
Definition at line 690 of file stm32f4xx_ll_dma.h.
__STATIC_INLINE void LL_DMA_SetPeriphSize | ( | DMA_TypeDef * | DMAx, |
uint32_t | Stream, | ||
uint32_t | Size | ||
) |
Set Peripheral size. @rmtoll CR PSIZE LL_DMA_SetPeriphSize.
DMAx | DMAx Instance |
Stream | This parameter can be one of the following values:
|
Size | This parameter can be one of the following values:
|
None |
Definition at line 781 of file stm32f4xx_ll_dma.h.
__STATIC_INLINE void LL_DMA_SetStreamPriorityLevel | ( | DMA_TypeDef * | DMAx, |
uint32_t | Stream, | ||
uint32_t | Priority | ||
) |
Set Stream priority level. @rmtoll CR PL LL_DMA_SetStreamPriorityLevel.
DMAx | DMAx Instance |
Stream | This parameter can be one of the following values:
|
Priority | This parameter can be one of the following values:
|
None |
Definition at line 921 of file stm32f4xx_ll_dma.h.