STM32H735xx HAL User Manual
|
Defines | |
#define | __HAL_MDMA_ENABLE(__HANDLE__) ((__HANDLE__)->Instance->CCR |= MDMA_CCR_EN) |
Enable the specified MDMA Channel. | |
#define | __HAL_MDMA_DISABLE(__HANDLE__) ((__HANDLE__)->Instance->CCR &= ~MDMA_CCR_EN) |
Disable the specified MDMA Channel. | |
#define | __HAL_MDMA_GET_FLAG(__HANDLE__, __FLAG__) ((__HANDLE__)->Instance->CISR & (__FLAG__)) |
Get the MDMA Channel pending flags. | |
#define | __HAL_MDMA_CLEAR_FLAG(__HANDLE__, __FLAG__) ((__HANDLE__)->Instance->CIFCR = (__FLAG__)) |
Clear the MDMA Stream pending flags. | |
#define | __HAL_MDMA_ENABLE_IT(__HANDLE__, __INTERRUPT__) ((__HANDLE__)->Instance->CCR |= (__INTERRUPT__)) |
Enables the specified MDMA Channel interrupts. | |
#define | __HAL_MDMA_DISABLE_IT(__HANDLE__, __INTERRUPT__) ((__HANDLE__)->Instance->CCR &= ~(__INTERRUPT__)) |
Disables the specified MDMA Channel interrupts. | |
#define | __HAL_MDMA_GET_IT_SOURCE(__HANDLE__, __INTERRUPT__) (((__HANDLE__)->Instance->CCR & (__INTERRUPT__))) |
Checks whether the specified MDMA Channel interrupt is enabled or not. | |
#define | __HAL_MDMA_SET_COUNTER(__HANDLE__, __COUNTER__) ((__HANDLE__)->Instance->CBNDTR |= ((__COUNTER__) & MDMA_CBNDTR_BNDT)) |
Writes the number of data in bytes to be transferred on the MDMA Channelx. | |
#define | __HAL_MDMA_GET_COUNTER(__HANDLE__) ((__HANDLE__)->Instance->CBNDTR & MDMA_CBNDTR_BNDT) |
Returns the number of remaining data in bytes in the current MDMA Channelx transfer. |
#define __HAL_MDMA_CLEAR_FLAG | ( | __HANDLE__, | |
__FLAG__ | |||
) | ((__HANDLE__)->Instance->CIFCR = (__FLAG__)) |
Clear the MDMA Stream pending flags.
__HANDLE__,: | MDMA handle |
__FLAG__,: | specifies the flag to clear. This parameter can be any combination of the following values:
|
None |
Definition at line 568 of file stm32h7xx_hal_mdma.h.
Referenced by HAL_MDMA_Abort(), HAL_MDMA_DeInit(), HAL_MDMA_IRQHandler(), HAL_MDMA_PollForTransfer(), and MDMA_SetConfig().
#define __HAL_MDMA_DISABLE | ( | __HANDLE__ | ) | ((__HANDLE__)->Instance->CCR &= ~MDMA_CCR_EN) |
Disable the specified MDMA Channel.
__HANDLE__,: | MDMA handle |
None |
Definition at line 539 of file stm32h7xx_hal_mdma.h.
Referenced by HAL_MDMA_Abort(), HAL_MDMA_Abort_IT(), HAL_MDMA_DeInit(), HAL_MDMA_Init(), HAL_MDMA_IRQHandler(), HAL_MDMA_Start(), HAL_MDMA_Start_IT(), SDRAM_DMACplt(), SDRAM_DMACpltProt(), SDRAM_DMAError(), SRAM_DMACplt(), SRAM_DMACpltProt(), and SRAM_DMAError().
#define __HAL_MDMA_DISABLE_IT | ( | __HANDLE__, | |
__INTERRUPT__ | |||
) | ((__HANDLE__)->Instance->CCR &= ~(__INTERRUPT__)) |
Disables the specified MDMA Channel interrupts.
__HANDLE__,: | MDMA handle |
__INTERRUPT__,: | specifies the MDMA interrupt sources to be enabled or disabled. This parameter can be any combination of the following values:
|
None |
Definition at line 596 of file stm32h7xx_hal_mdma.h.
Referenced by HAL_MDMA_Abort(), and HAL_MDMA_IRQHandler().
#define __HAL_MDMA_ENABLE | ( | __HANDLE__ | ) | ((__HANDLE__)->Instance->CCR |= MDMA_CCR_EN) |
Enable the specified MDMA Channel.
__HANDLE__,: | MDMA handle |
None |
Definition at line 532 of file stm32h7xx_hal_mdma.h.
Referenced by HAL_MDMA_Start(), and HAL_MDMA_Start_IT().
#define __HAL_MDMA_ENABLE_IT | ( | __HANDLE__, | |
__INTERRUPT__ | |||
) | ((__HANDLE__)->Instance->CCR |= (__INTERRUPT__)) |
Enables the specified MDMA Channel interrupts.
__HANDLE__,: | MDMA handle |
__INTERRUPT__,: | specifies the DMA interrupt sources to be enabled or disabled. This parameter can be any combination of the following values:
|
None |
Definition at line 582 of file stm32h7xx_hal_mdma.h.
Referenced by HAL_MDMA_Start_IT().
#define __HAL_MDMA_GET_COUNTER | ( | __HANDLE__ | ) | ((__HANDLE__)->Instance->CBNDTR & MDMA_CBNDTR_BNDT) |
Returns the number of remaining data in bytes in the current MDMA Channelx transfer.
__HANDLE__ | : MDMA handle |
The | number of remaining data in bytes in the current MDMA Channelx transfer. |
Definition at line 624 of file stm32h7xx_hal_mdma.h.
#define __HAL_MDMA_GET_FLAG | ( | __HANDLE__, | |
__FLAG__ | |||
) | ((__HANDLE__)->Instance->CISR & (__FLAG__)) |
Get the MDMA Channel pending flags.
__HANDLE__,: | MDMA handle |
__FLAG__,: | Get the specified flag. This parameter can be any combination of the following values:
|
The | state of FLAG (SET or RESET). |
Definition at line 554 of file stm32h7xx_hal_mdma.h.
Referenced by HAL_MDMA_IRQHandler(), and HAL_MDMA_PollForTransfer().
#define __HAL_MDMA_GET_IT_SOURCE | ( | __HANDLE__, | |
__INTERRUPT__ | |||
) | (((__HANDLE__)->Instance->CCR & (__INTERRUPT__))) |
Checks whether the specified MDMA Channel interrupt is enabled or not.
__HANDLE__,: | MDMA handle |
__INTERRUPT__,: | specifies the MDMA interrupt source to check.
|
The | state of MDMA_IT (SET or RESET). |
Definition at line 609 of file stm32h7xx_hal_mdma.h.
Referenced by HAL_MDMA_IRQHandler().
#define __HAL_MDMA_SET_COUNTER | ( | __HANDLE__, | |
__COUNTER__ | |||
) | ((__HANDLE__)->Instance->CBNDTR |= ((__COUNTER__) & MDMA_CBNDTR_BNDT)) |
Writes the number of data in bytes to be transferred on the MDMA Channelx.
__HANDLE__ | : MDMA handle |
__COUNTER__,: | Number of data in bytes to be transferred. |
None |
Definition at line 617 of file stm32h7xx_hal_mdma.h.