STM32F439xx HAL User Manual
|
macros to handle interrupts and specific clock configurations More...
Defines | |
#define | __HAL_MMC_ENABLE(__HANDLE__) __SDIO_ENABLE((__HANDLE__)->Instance) |
Enable the MMC device. | |
#define | __HAL_MMC_DISABLE(__HANDLE__) __SDIO_DISABLE((__HANDLE__)->Instance) |
Disable the MMC device. | |
#define | __HAL_MMC_DMA_ENABLE(__HANDLE__) __SDIO_DMA_ENABLE((__HANDLE__)->Instance) |
Enable the SDMMC DMA transfer. | |
#define | __HAL_MMC_DMA_DISABLE(__HANDLE__) __SDIO_DMA_DISABLE((__HANDLE__)->Instance) |
Disable the SDMMC DMA transfer. | |
#define | __HAL_MMC_ENABLE_IT(__HANDLE__, __INTERRUPT__) __SDIO_ENABLE_IT((__HANDLE__)->Instance, (__INTERRUPT__)) |
Enable the MMC device interrupt. | |
#define | __HAL_MMC_DISABLE_IT(__HANDLE__, __INTERRUPT__) __SDIO_DISABLE_IT((__HANDLE__)->Instance, (__INTERRUPT__)) |
Disable the MMC device interrupt. | |
#define | __HAL_MMC_GET_FLAG(__HANDLE__, __FLAG__) __SDIO_GET_FLAG((__HANDLE__)->Instance, (__FLAG__)) |
Check whether the specified MMC flag is set or not. | |
#define | __HAL_MMC_CLEAR_FLAG(__HANDLE__, __FLAG__) __SDIO_CLEAR_FLAG((__HANDLE__)->Instance, (__FLAG__)) |
Clear the MMC's pending flags. | |
#define | __HAL_MMC_GET_IT(__HANDLE__, __INTERRUPT__) __SDIO_GET_IT((__HANDLE__)->Instance, (__INTERRUPT__)) |
Check whether the specified MMC interrupt has occurred or not. | |
#define | __HAL_MMC_CLEAR_IT(__HANDLE__, __INTERRUPT__) __SDIO_CLEAR_IT((__HANDLE__)->Instance, (__INTERRUPT__)) |
Clear the MMC's interrupt pending bits. |
macros to handle interrupts and specific clock configurations
#define __HAL_MMC_CLEAR_FLAG | ( | __HANDLE__, | |
__FLAG__ | |||
) | __SDIO_CLEAR_FLAG((__HANDLE__)->Instance, (__FLAG__)) |
Clear the MMC's pending flags.
__HANDLE__ | MMC Handle |
__FLAG__ | specifies the flag to clear. This parameter can be one or a combination of the following values:
|
None |
Definition at line 503 of file stm32f4xx_hal_mmc.h.
Referenced by HAL_MMC_Abort(), HAL_MMC_Abort_IT(), HAL_MMC_ConfigWideBusOperation(), HAL_MMC_Erase(), HAL_MMC_IRQHandler(), HAL_MMC_ReadBlocks(), HAL_MMC_ReadBlocks_DMA(), HAL_MMC_ReadBlocks_IT(), HAL_MMC_WriteBlocks(), HAL_MMC_WriteBlocks_DMA(), HAL_MMC_WriteBlocks_IT(), MMC_DMAError(), and MMC_DMAReceiveCplt().
#define __HAL_MMC_CLEAR_IT | ( | __HANDLE__, | |
__INTERRUPT__ | |||
) | __SDIO_CLEAR_IT((__HANDLE__)->Instance, (__INTERRUPT__)) |
Clear the MMC's interrupt pending bits.
__HANDLE__ | MMC Handle |
__INTERRUPT__ | specifies the interrupt pending bit to clear. This parameter can be one or a combination of the following values:
|
None |
Definition at line 553 of file stm32f4xx_hal_mmc.h.
#define __HAL_MMC_DISABLE | ( | __HANDLE__ | ) | __SDIO_DISABLE((__HANDLE__)->Instance) |
Disable the MMC device.
None |
Definition at line 378 of file stm32f4xx_hal_mmc.h.
Referenced by HAL_MMC_InitCard().
#define __HAL_MMC_DISABLE_IT | ( | __HANDLE__, | |
__INTERRUPT__ | |||
) | __SDIO_DISABLE_IT((__HANDLE__)->Instance, (__INTERRUPT__)) |
Disable the MMC device interrupt.
__HANDLE__ | MMC Handle |
__INTERRUPT__ | specifies the SDMMC interrupt sources to be disabled. This parameter can be one or a combination of the following values:
|
None |
Definition at line 452 of file stm32f4xx_hal_mmc.h.
Referenced by HAL_MMC_Abort(), HAL_MMC_Abort_IT(), HAL_MMC_IRQHandler(), and MMC_DMAError().
#define __HAL_MMC_DMA_DISABLE | ( | __HANDLE__ | ) | __SDIO_DMA_DISABLE((__HANDLE__)->Instance) |
Disable the SDMMC DMA transfer.
None |
Definition at line 390 of file stm32f4xx_hal_mmc.h.
#define __HAL_MMC_DMA_ENABLE | ( | __HANDLE__ | ) | __SDIO_DMA_ENABLE((__HANDLE__)->Instance) |
Enable the SDMMC DMA transfer.
None |
Definition at line 384 of file stm32f4xx_hal_mmc.h.
Referenced by HAL_MMC_ReadBlocks_DMA(), and HAL_MMC_WriteBlocks_DMA().
#define __HAL_MMC_ENABLE | ( | __HANDLE__ | ) | __SDIO_ENABLE((__HANDLE__)->Instance) |
Enable the MMC device.
None |
Definition at line 372 of file stm32f4xx_hal_mmc.h.
Referenced by HAL_MMC_InitCard().
#define __HAL_MMC_ENABLE_IT | ( | __HANDLE__, | |
__INTERRUPT__ | |||
) | __SDIO_ENABLE_IT((__HANDLE__)->Instance, (__INTERRUPT__)) |
Enable the MMC device interrupt.
__HANDLE__ | MMC Handle |
__INTERRUPT__ | specifies the SDMMC interrupt sources to be enabled. This parameter can be one or a combination of the following values:
|
None |
Definition at line 421 of file stm32f4xx_hal_mmc.h.
Referenced by HAL_MMC_ReadBlocks_DMA(), HAL_MMC_ReadBlocks_IT(), HAL_MMC_WriteBlocks_DMA(), HAL_MMC_WriteBlocks_IT(), and MMC_DMATransmitCplt().
#define __HAL_MMC_GET_FLAG | ( | __HANDLE__, | |
__FLAG__ | |||
) | __SDIO_GET_FLAG((__HANDLE__)->Instance, (__FLAG__)) |
Check whether the specified MMC flag is set or not.
__HANDLE__ | MMC Handle |
__FLAG__ | specifies the flag to check. This parameter can be one of the following values:
|
The | new state of MMC FLAG (SET or RESET). |
Definition at line 483 of file stm32f4xx_hal_mmc.h.
Referenced by HAL_MMC_IRQHandler(), HAL_MMC_ReadBlocks(), and HAL_MMC_WriteBlocks().
#define __HAL_MMC_GET_IT | ( | __HANDLE__, | |
__INTERRUPT__ | |||
) | __SDIO_GET_IT((__HANDLE__)->Instance, (__INTERRUPT__)) |
Check whether the specified MMC interrupt has occurred or not.
__HANDLE__ | MMC Handle |
__INTERRUPT__ | specifies the SDMMC interrupt source to check. This parameter can be one of the following values:
|
The | new state of MMC IT (SET or RESET). |
Definition at line 534 of file stm32f4xx_hal_mmc.h.