STM32H735xx HAL User Manual
|
Functions | |
__STATIC_INLINE void | LL_BDMA_EnableChannel (BDMA_TypeDef *BDMAx, uint32_t Channel) |
Enable BDMA channel. | |
__STATIC_INLINE void | LL_BDMA_DisableChannel (BDMA_TypeDef *BDMAx, uint32_t Channel) |
Disable BDMA channel. | |
__STATIC_INLINE uint32_t | LL_BDMA_IsEnabledChannel (BDMA_TypeDef *BDMAx, uint32_t Channel) |
Check if BDMA channel is enabled or disabled. | |
__STATIC_INLINE void | LL_BDMA_ConfigTransfer (BDMA_TypeDef *BDMAx, uint32_t Channel, uint32_t Configuration) |
Configure all parameters link to BDMA transfer. | |
__STATIC_INLINE void | LL_BDMA_SetDataTransferDirection (BDMA_TypeDef *BDMAx, uint32_t Channel, uint32_t Direction) |
Set Data transfer direction (read from peripheral or from memory). | |
__STATIC_INLINE uint32_t | LL_BDMA_GetDataTransferDirection (BDMA_TypeDef *BDMAx, uint32_t Channel) |
Get Data transfer direction (read from peripheral or from memory). | |
__STATIC_INLINE void | LL_BDMA_SetMode (BDMA_TypeDef *BDMAx, uint32_t Channel, uint32_t Mode) |
Set BDMA mode circular or normal. | |
__STATIC_INLINE uint32_t | LL_BDMA_GetMode (BDMA_TypeDef *BDMAx, uint32_t Channel) |
Get BDMA mode circular or normal. | |
__STATIC_INLINE void | LL_BDMA_SetPeriphIncMode (BDMA_TypeDef *BDMAx, uint32_t Channel, uint32_t PeriphOrM2MSrcIncMode) |
Set Peripheral increment mode. | |
__STATIC_INLINE uint32_t | LL_BDMA_GetPeriphIncMode (BDMA_TypeDef *BDMAx, uint32_t Channel) |
Get Peripheral increment mode. | |
__STATIC_INLINE void | LL_BDMA_SetMemoryIncMode (BDMA_TypeDef *BDMAx, uint32_t Channel, uint32_t MemoryOrM2MDstIncMode) |
Set Memory increment mode. | |
__STATIC_INLINE uint32_t | LL_BDMA_GetMemoryIncMode (BDMA_TypeDef *BDMAx, uint32_t Channel) |
Get Memory increment mode. | |
__STATIC_INLINE void | LL_BDMA_SetPeriphSize (BDMA_TypeDef *BDMAx, uint32_t Channel, uint32_t PeriphOrM2MSrcDataSize) |
Set Peripheral size. | |
__STATIC_INLINE uint32_t | LL_BDMA_GetPeriphSize (BDMA_TypeDef *BDMAx, uint32_t Channel) |
Get Peripheral size. | |
__STATIC_INLINE void | LL_BDMA_SetMemorySize (BDMA_TypeDef *BDMAx, uint32_t Channel, uint32_t MemoryOrM2MDstDataSize) |
Set Memory size. | |
__STATIC_INLINE uint32_t | LL_BDMA_GetMemorySize (BDMA_TypeDef *BDMAx, uint32_t Channel) |
Get Memory size. | |
__STATIC_INLINE void | LL_BDMA_SetChannelPriorityLevel (BDMA_TypeDef *BDMAx, uint32_t Channel, uint32_t Priority) |
Set Channel priority level. | |
__STATIC_INLINE uint32_t | LL_BDMA_GetChannelPriorityLevel (BDMA_TypeDef *BDMAx, uint32_t Channel) |
Get Channel priority level. | |
__STATIC_INLINE void | LL_BDMA_SetDataLength (BDMA_TypeDef *BDMAx, uint32_t Channel, uint32_t NbData) |
Set Number of data to transfer. | |
__STATIC_INLINE uint32_t | LL_BDMA_GetDataLength (BDMA_TypeDef *BDMAx, uint32_t Channel) |
Get Number of data to transfer. | |
__STATIC_INLINE void | LL_BDMA_SetCurrentTargetMem (BDMA_TypeDef *BDMAx, uint32_t Channel, uint32_t CurrentMemory) |
Set Current target (only in double buffer mode) to Memory 1 or Memory 0. | |
__STATIC_INLINE uint32_t | LL_BDMA_GetCurrentTargetMem (BDMA_TypeDef *BDMAx, uint32_t Channel) |
Set Current target (only in double buffer mode) to Memory 1 or Memory 0. | |
__STATIC_INLINE void | LL_BDMA_EnableDoubleBufferMode (BDMA_TypeDef *BDMAx, uint32_t Channel) |
Enable the double buffer mode. | |
__STATIC_INLINE void | LL_BDMA_DisableDoubleBufferMode (BDMA_TypeDef *BDMAx, uint32_t Channel) |
Disable the double buffer mode. | |
__STATIC_INLINE void | LL_BDMA_ConfigAddresses (BDMA_TypeDef *BDMAx, uint32_t Channel, uint32_t SrcAddress, uint32_t DstAddress, uint32_t Direction) |
Configure the Source and Destination addresses. | |
__STATIC_INLINE void | LL_BDMA_SetMemoryAddress (BDMA_TypeDef *BDMAx, uint32_t Channel, uint32_t MemoryAddress) |
Set the Memory address. | |
__STATIC_INLINE void | LL_BDMA_SetPeriphAddress (BDMA_TypeDef *BDMAx, uint32_t Channel, uint32_t PeriphAddress) |
Set the Peripheral address. | |
__STATIC_INLINE uint32_t | LL_BDMA_GetMemoryAddress (BDMA_TypeDef *BDMAx, uint32_t Channel) |
Get Memory address. | |
__STATIC_INLINE uint32_t | LL_BDMA_GetPeriphAddress (BDMA_TypeDef *BDMAx, uint32_t Channel) |
Get Peripheral address. | |
__STATIC_INLINE void | LL_BDMA_SetM2MSrcAddress (BDMA_TypeDef *BDMAx, uint32_t Channel, uint32_t MemoryAddress) |
Set the Memory to Memory Source address. | |
__STATIC_INLINE void | LL_BDMA_SetM2MDstAddress (BDMA_TypeDef *BDMAx, uint32_t Channel, uint32_t MemoryAddress) |
Set the Memory to Memory Destination address. | |
__STATIC_INLINE uint32_t | LL_BDMA_GetM2MSrcAddress (BDMA_TypeDef *BDMAx, uint32_t Channel) |
Get the Memory to Memory Source address. | |
__STATIC_INLINE uint32_t | LL_BDMA_GetM2MDstAddress (BDMA_TypeDef *BDMAx, uint32_t Channel) |
Get the Memory to Memory Destination address. | |
__STATIC_INLINE void | LL_BDMA_SetMemory1Address (BDMA_TypeDef *BDMAx, uint32_t Channel, uint32_t Address) |
Set Memory 1 address (used in case of Double buffer mode). | |
__STATIC_INLINE uint32_t | LL_BDMA_GetMemory1Address (BDMA_TypeDef *BDMAx, uint32_t Channel) |
Get Memory 1 address (used in case of Double buffer mode). | |
__STATIC_INLINE void | LL_BDMA_SetPeriphRequest (BDMA_TypeDef *BDMAx, uint32_t Channel, uint32_t Request) |
Set BDMA request for BDMA Channels on DMAMUX Channel x. | |
__STATIC_INLINE uint32_t | LL_BDMA_GetPeriphRequest (BDMA_TypeDef *BDMAx, uint32_t Channel) |
Get BDMA request for BDMA Channels on DMAMUX Channel x. |
__STATIC_INLINE void LL_BDMA_ConfigAddresses | ( | BDMA_TypeDef * | BDMAx, |
uint32_t | Channel, | ||
uint32_t | SrcAddress, | ||
uint32_t | DstAddress, | ||
uint32_t | Direction | ||
) |
Configure the Source and Destination addresses.
BDMAx | BDMA 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 1113 of file stm32h7xx_ll_bdma.h.
References LL_BDMA_DIRECTION_MEMORY_TO_PERIPH.
__STATIC_INLINE void LL_BDMA_ConfigTransfer | ( | BDMA_TypeDef * | BDMAx, |
uint32_t | Channel, | ||
uint32_t | Configuration | ||
) |
Configure all parameters link to BDMA transfer.
BDMAx | BDMA 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 565 of file stm32h7xx_ll_bdma.h.
Referenced by LL_BDMA_Init().
__STATIC_INLINE void LL_BDMA_DisableChannel | ( | BDMA_TypeDef * | BDMAx, |
uint32_t | Channel | ||
) |
Disable BDMA channel.
BDMAx | BDMA Instance |
Channel | This parameter can be one of the following values: |
None |
Definition at line 506 of file stm32h7xx_ll_bdma.h.
__STATIC_INLINE void LL_BDMA_DisableDoubleBufferMode | ( | BDMA_TypeDef * | BDMAx, |
uint32_t | Channel | ||
) |
Disable the double buffer mode.
BDMAx | BDMAx Instance |
Channel | This parameter can be one of the following values: |
None |
Definition at line 1082 of file stm32h7xx_ll_bdma.h.
__STATIC_INLINE void LL_BDMA_EnableChannel | ( | BDMA_TypeDef * | BDMAx, |
uint32_t | Channel | ||
) |
Enable BDMA channel.
BDMAx | BDMA Instance |
Channel | This parameter can be one of the following values: |
None |
Definition at line 484 of file stm32h7xx_ll_bdma.h.
__STATIC_INLINE void LL_BDMA_EnableDoubleBufferMode | ( | BDMA_TypeDef * | BDMAx, |
uint32_t | Channel | ||
) |
Enable the double buffer mode.
BDMAx | BDMAx Instance |
Channel | This parameter can be one of the following values: |
None |
Definition at line 1060 of file stm32h7xx_ll_bdma.h.
__STATIC_INLINE uint32_t LL_BDMA_GetChannelPriorityLevel | ( | BDMA_TypeDef * | BDMAx, |
uint32_t | Channel | ||
) |
Get Channel priority level.
BDMAx | BDMA Instance |
Channel | This parameter can be one of the following values: |
Returned | value can be one of the following values: |
Definition at line 937 of file stm32h7xx_ll_bdma.h.
__STATIC_INLINE uint32_t LL_BDMA_GetCurrentTargetMem | ( | BDMA_TypeDef * | BDMAx, |
uint32_t | Channel | ||
) |
Set Current target (only in double buffer mode) to Memory 1 or Memory 0.
BDMAx | BDMAx Instance |
Channel | This parameter can be one of the following values: |
Returned | value can be one of the following values: |
Definition at line 1038 of file stm32h7xx_ll_bdma.h.
__STATIC_INLINE uint32_t LL_BDMA_GetDataLength | ( | BDMA_TypeDef * | BDMAx, |
uint32_t | Channel | ||
) |
Get Number of data to transfer.
BDMAx | BDMA Instance |
Channel | This parameter can be one of the following values: |
Between | Min_Data = 0 and Max_Data = 0xFFFFFFFF |
Definition at line 988 of file stm32h7xx_ll_bdma.h.
__STATIC_INLINE uint32_t LL_BDMA_GetDataTransferDirection | ( | BDMA_TypeDef * | BDMAx, |
uint32_t | Channel | ||
) |
Get Data transfer direction (read from peripheral or from memory).
BDMAx | BDMA Instance |
Channel | This parameter can be one of the following values: |
Returned | value can be one of the following values: |
Definition at line 621 of file stm32h7xx_ll_bdma.h.
__STATIC_INLINE uint32_t LL_BDMA_GetM2MDstAddress | ( | BDMA_TypeDef * | BDMAx, |
uint32_t | Channel | ||
) |
Get the Memory to Memory Destination address.
BDMAx | BDMA Instance |
Channel | This parameter can be one of the following values: |
Between | Min_Data = 0 and Max_Data = 0xFFFFFFFF |
Definition at line 1317 of file stm32h7xx_ll_bdma.h.
__STATIC_INLINE uint32_t LL_BDMA_GetM2MSrcAddress | ( | BDMA_TypeDef * | BDMAx, |
uint32_t | Channel | ||
) |
Get the Memory to Memory Source address.
BDMAx | BDMA Instance |
Channel | This parameter can be one of the following values: |
Between | Min_Data = 0 and Max_Data = 0xFFFFFFFF |
Definition at line 1294 of file stm32h7xx_ll_bdma.h.
__STATIC_INLINE uint32_t LL_BDMA_GetMemory1Address | ( | BDMA_TypeDef * | BDMAx, |
uint32_t | Channel | ||
) |
Get Memory 1 address (used in case of Double buffer mode).
BDMAx | BDMAx Instance |
Channel | This parameter can be one of the following values: |
Between | 0 to 0xFFFFFFFF |
Definition at line 1362 of file stm32h7xx_ll_bdma.h.
__STATIC_INLINE uint32_t LL_BDMA_GetMemoryAddress | ( | BDMA_TypeDef * | BDMAx, |
uint32_t | Channel | ||
) |
Get Memory address.
BDMAx | BDMA Instance |
Channel | This parameter can be one of the following values: |
Between | Min_Data = 0 and Max_Data = 0xFFFFFFFF |
Definition at line 1198 of file stm32h7xx_ll_bdma.h.
__STATIC_INLINE uint32_t LL_BDMA_GetMemoryIncMode | ( | BDMA_TypeDef * | BDMAx, |
uint32_t | Channel | ||
) |
Get Memory increment mode.
BDMAx | BDMA Instance |
Channel | This parameter can be one of the following values: |
Returned | value can be one of the following values: |
Definition at line 776 of file stm32h7xx_ll_bdma.h.
__STATIC_INLINE uint32_t LL_BDMA_GetMemorySize | ( | BDMA_TypeDef * | BDMAx, |
uint32_t | Channel | ||
) |
Get Memory size.
BDMAx | BDMA Instance |
Channel | This parameter can be one of the following values: |
Returned | value can be one of the following values: |
Definition at line 882 of file stm32h7xx_ll_bdma.h.
__STATIC_INLINE uint32_t LL_BDMA_GetMode | ( | BDMA_TypeDef * | BDMAx, |
uint32_t | Channel | ||
) |
Get BDMA mode circular or normal.
BDMAx | BDMA Instance |
Channel | This parameter can be one of the following values: |
Returned | value can be one of the following values: |
Definition at line 674 of file stm32h7xx_ll_bdma.h.
__STATIC_INLINE uint32_t LL_BDMA_GetPeriphAddress | ( | BDMA_TypeDef * | BDMAx, |
uint32_t | Channel | ||
) |
Get Peripheral address.
BDMAx | BDMA 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 stm32h7xx_ll_bdma.h.
__STATIC_INLINE uint32_t LL_BDMA_GetPeriphIncMode | ( | BDMA_TypeDef * | BDMAx, |
uint32_t | Channel | ||
) |
Get Peripheral increment mode.
BDMAx | BDMA Instance |
Channel | This parameter can be one of the following values: |
Returned | value can be one of the following values: |
Definition at line 725 of file stm32h7xx_ll_bdma.h.
__STATIC_INLINE uint32_t LL_BDMA_GetPeriphRequest | ( | BDMA_TypeDef * | BDMAx, |
uint32_t | Channel | ||
) |
Get BDMA request for BDMA Channels on DMAMUX Channel x.
BDMAx | BDMAx Instance |
Channel | This parameter can be one of the following values: |
Returned | value can be one of the following values:
|
Definition at line 1452 of file stm32h7xx_ll_bdma.h.
References DMAMUX_CCR_SIZE.
__STATIC_INLINE uint32_t LL_BDMA_GetPeriphSize | ( | BDMA_TypeDef * | BDMAx, |
uint32_t | Channel | ||
) |
Get Peripheral size.
BDMAx | BDMA Instance |
Channel | This parameter can be one of the following values: |
Returned | value can be one of the following values: |
Definition at line 829 of file stm32h7xx_ll_bdma.h.
__STATIC_INLINE uint32_t LL_BDMA_IsEnabledChannel | ( | BDMA_TypeDef * | BDMAx, |
uint32_t | Channel | ||
) |
Check if BDMA channel is enabled or disabled.
BDMAx | BDMA Instance |
Channel | This parameter can be one of the following values: |
State | of bit (1 or 0). |
Definition at line 528 of file stm32h7xx_ll_bdma.h.
__STATIC_INLINE void LL_BDMA_SetChannelPriorityLevel | ( | BDMA_TypeDef * | BDMAx, |
uint32_t | Channel, | ||
uint32_t | Priority | ||
) |
Set Channel priority level.
BDMAx | BDMA 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 910 of file stm32h7xx_ll_bdma.h.
__STATIC_INLINE void LL_BDMA_SetCurrentTargetMem | ( | BDMA_TypeDef * | BDMAx, |
uint32_t | Channel, | ||
uint32_t | CurrentMemory | ||
) |
Set Current target (only in double buffer mode) to Memory 1 or Memory 0.
BDMAx | BDMAx Instance |
Channel | This parameter can be one of the following values: |
CurrentMemory | This parameter can be one of the following values: |
None |
Definition at line 1014 of file stm32h7xx_ll_bdma.h.
__STATIC_INLINE void LL_BDMA_SetDataLength | ( | BDMA_TypeDef * | BDMAx, |
uint32_t | Channel, | ||
uint32_t | NbData | ||
) |
Set Number of data to transfer.
BDMAx | BDMA Instance |
Channel | This parameter can be one of the following values: |
NbData | Between Min_Data = 0 and Max_Data = 0x0000FFFF |
None |
Definition at line 963 of file stm32h7xx_ll_bdma.h.
Referenced by LL_BDMA_Init().
__STATIC_INLINE void LL_BDMA_SetDataTransferDirection | ( | BDMA_TypeDef * | BDMAx, |
uint32_t | Channel, | ||
uint32_t | Direction | ||
) |
Set Data transfer direction (read from peripheral or from memory).
BDMAx | BDMA 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 594 of file stm32h7xx_ll_bdma.h.
__STATIC_INLINE void LL_BDMA_SetM2MDstAddress | ( | BDMA_TypeDef * | BDMAx, |
uint32_t | Channel, | ||
uint32_t | MemoryAddress | ||
) |
Set the Memory to Memory Destination address.
BDMAx | BDMA Instance |
Channel | This parameter can be one of the following values: |
MemoryAddress | Between Min_Data = 0 and Max_Data = 0xFFFFFFFF |
None |
Definition at line 1271 of file stm32h7xx_ll_bdma.h.
__STATIC_INLINE void LL_BDMA_SetM2MSrcAddress | ( | BDMA_TypeDef * | BDMAx, |
uint32_t | Channel, | ||
uint32_t | MemoryAddress | ||
) |
Set the Memory to Memory Source address.
BDMAx | BDMA Instance |
Channel | This parameter can be one of the following values: |
MemoryAddress | Between Min_Data = 0 and Max_Data = 0xFFFFFFFF |
None |
Definition at line 1246 of file stm32h7xx_ll_bdma.h.
__STATIC_INLINE void LL_BDMA_SetMemory1Address | ( | BDMA_TypeDef * | BDMAx, |
uint32_t | Channel, | ||
uint32_t | Address | ||
) |
Set Memory 1 address (used in case of Double buffer mode).
BDMAx | BDMAx Instance |
Channel | This parameter can be one of the following values: |
Address | Between 0 to 0xFFFFFFFF |
None |
Definition at line 1340 of file stm32h7xx_ll_bdma.h.
__STATIC_INLINE void LL_BDMA_SetMemoryAddress | ( | BDMA_TypeDef * | BDMAx, |
uint32_t | Channel, | ||
uint32_t | MemoryAddress | ||
) |
Set the Memory address.
BDMAx | BDMA Instance |
Channel | This parameter can be one of the following values: |
MemoryAddress | Between Min_Data = 0 and Max_Data = 0xFFFFFFFF |
None |
Definition at line 1150 of file stm32h7xx_ll_bdma.h.
Referenced by LL_BDMA_Init().
__STATIC_INLINE void LL_BDMA_SetMemoryIncMode | ( | BDMA_TypeDef * | BDMAx, |
uint32_t | Channel, | ||
uint32_t | MemoryOrM2MDstIncMode | ||
) |
Set Memory increment mode.
BDMAx | BDMA 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 751 of file stm32h7xx_ll_bdma.h.
__STATIC_INLINE void LL_BDMA_SetMemorySize | ( | BDMA_TypeDef * | BDMAx, |
uint32_t | Channel, | ||
uint32_t | MemoryOrM2MDstDataSize | ||
) |
Set Memory size.
BDMAx | BDMA 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 856 of file stm32h7xx_ll_bdma.h.
__STATIC_INLINE void LL_BDMA_SetMode | ( | BDMA_TypeDef * | BDMAx, |
uint32_t | Channel, | ||
uint32_t | Mode | ||
) |
Set BDMA mode circular or normal.
BDMAx | BDMA 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 649 of file stm32h7xx_ll_bdma.h.
__STATIC_INLINE void LL_BDMA_SetPeriphAddress | ( | BDMA_TypeDef * | BDMAx, |
uint32_t | Channel, | ||
uint32_t | PeriphAddress | ||
) |
Set the Peripheral address.
BDMAx | BDMA Instance |
Channel | This parameter can be one of the following values: |
PeriphAddress | Between Min_Data = 0 and Max_Data = 0xFFFFFFFF |
None |
Definition at line 1175 of file stm32h7xx_ll_bdma.h.
Referenced by LL_BDMA_Init().
__STATIC_INLINE void LL_BDMA_SetPeriphIncMode | ( | BDMA_TypeDef * | BDMAx, |
uint32_t | Channel, | ||
uint32_t | PeriphOrM2MSrcIncMode | ||
) |
Set Peripheral increment mode.
BDMAx | BDMA 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 700 of file stm32h7xx_ll_bdma.h.
__STATIC_INLINE void LL_BDMA_SetPeriphRequest | ( | BDMA_TypeDef * | BDMAx, |
uint32_t | Channel, | ||
uint32_t | Request | ||
) |
Set BDMA request for BDMA Channels on DMAMUX Channel x.
BDMAx | BDMAx Instance |
Channel | This parameter can be one of the following values: |
Request | This parameter can be one of the following values:
|
None |
Definition at line 1408 of file stm32h7xx_ll_bdma.h.
References DMAMUX_CCR_SIZE.
Referenced by LL_BDMA_DeInit(), and LL_BDMA_Init().
__STATIC_INLINE void LL_BDMA_SetPeriphSize | ( | BDMA_TypeDef * | BDMAx, |
uint32_t | Channel, | ||
uint32_t | PeriphOrM2MSrcDataSize | ||
) |
Set Peripheral size.
BDMAx | BDMA 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 803 of file stm32h7xx_ll_bdma.h.