STM32F439xx HAL User Manual
|
macros to handle interrupts and specific clock configurations More...
Defines | |
#define | __HAL_SD_ENABLE(__HANDLE__) __SDIO_ENABLE((__HANDLE__)->Instance) |
Enable the SD device. | |
#define | __HAL_SD_DISABLE(__HANDLE__) __SDIO_DISABLE((__HANDLE__)->Instance) |
Disable the SD device. | |
#define | __HAL_SD_DMA_ENABLE(__HANDLE__) __SDIO_DMA_ENABLE((__HANDLE__)->Instance) |
Enable the SDMMC DMA transfer. | |
#define | __HAL_SD_DMA_DISABLE(__HANDLE__) __SDIO_DMA_DISABLE((__HANDLE__)->Instance) |
Disable the SDMMC DMA transfer. | |
#define | __HAL_SD_ENABLE_IT(__HANDLE__, __INTERRUPT__) __SDIO_ENABLE_IT((__HANDLE__)->Instance, (__INTERRUPT__)) |
Enable the SD device interrupt. | |
#define | __HAL_SD_DISABLE_IT(__HANDLE__, __INTERRUPT__) __SDIO_DISABLE_IT((__HANDLE__)->Instance, (__INTERRUPT__)) |
Disable the SD device interrupt. | |
#define | __HAL_SD_GET_FLAG(__HANDLE__, __FLAG__) __SDIO_GET_FLAG((__HANDLE__)->Instance, (__FLAG__)) |
Check whether the specified SD flag is set or not. | |
#define | __HAL_SD_CLEAR_FLAG(__HANDLE__, __FLAG__) __SDIO_CLEAR_FLAG((__HANDLE__)->Instance, (__FLAG__)) |
Clear the SD's pending flags. | |
#define | __HAL_SD_GET_IT(__HANDLE__, __INTERRUPT__) __SDIO_GET_IT((__HANDLE__)->Instance, (__INTERRUPT__)) |
Check whether the specified SD interrupt has occurred or not. | |
#define | __HAL_SD_CLEAR_IT(__HANDLE__, __INTERRUPT__) __SDIO_CLEAR_IT((__HANDLE__)->Instance, (__INTERRUPT__)) |
Clear the SD's interrupt pending bits. |
macros to handle interrupts and specific clock configurations
#define __HAL_SD_CLEAR_FLAG | ( | __HANDLE__, | |
__FLAG__ | |||
) | __SDIO_CLEAR_FLAG((__HANDLE__)->Instance, (__FLAG__)) |
Clear the SD's pending flags.
__HANDLE__ | SD Handle |
__FLAG__ | specifies the flag to clear. This parameter can be one or a combination of the following values:
|
None |
Definition at line 499 of file stm32f4xx_hal_sd.h.
Referenced by HAL_SD_Abort(), HAL_SD_Abort_IT(), HAL_SD_ConfigWideBusOperation(), HAL_SD_Erase(), HAL_SD_GetCardCSD(), HAL_SD_GetCardStatus(), HAL_SD_IRQHandler(), HAL_SD_ReadBlocks(), HAL_SD_ReadBlocks_DMA(), HAL_SD_ReadBlocks_IT(), HAL_SD_WriteBlocks(), HAL_SD_WriteBlocks_DMA(), HAL_SD_WriteBlocks_IT(), SD_DMAError(), SD_DMAReceiveCplt(), SD_FindSCR(), and SD_SendSDStatus().
#define __HAL_SD_CLEAR_IT | ( | __HANDLE__, | |
__INTERRUPT__ | |||
) | __SDIO_CLEAR_IT((__HANDLE__)->Instance, (__INTERRUPT__)) |
Clear the SD's interrupt pending bits.
__HANDLE__ | SD 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 549 of file stm32f4xx_hal_sd.h.
#define __HAL_SD_DISABLE | ( | __HANDLE__ | ) | __SDIO_DISABLE((__HANDLE__)->Instance) |
Disable the SD device.
None |
Definition at line 374 of file stm32f4xx_hal_sd.h.
Referenced by HAL_SD_InitCard().
#define __HAL_SD_DISABLE_IT | ( | __HANDLE__, | |
__INTERRUPT__ | |||
) | __SDIO_DISABLE_IT((__HANDLE__)->Instance, (__INTERRUPT__)) |
Disable the SD device interrupt.
__HANDLE__ | SD 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 448 of file stm32f4xx_hal_sd.h.
Referenced by HAL_SD_Abort(), HAL_SD_Abort_IT(), HAL_SD_IRQHandler(), and SD_DMAError().
#define __HAL_SD_DMA_DISABLE | ( | __HANDLE__ | ) | __SDIO_DMA_DISABLE((__HANDLE__)->Instance) |
Disable the SDMMC DMA transfer.
None |
Definition at line 386 of file stm32f4xx_hal_sd.h.
#define __HAL_SD_DMA_ENABLE | ( | __HANDLE__ | ) | __SDIO_DMA_ENABLE((__HANDLE__)->Instance) |
Enable the SDMMC DMA transfer.
None |
Definition at line 380 of file stm32f4xx_hal_sd.h.
Referenced by HAL_SD_ReadBlocks_DMA(), and HAL_SD_WriteBlocks_DMA().
#define __HAL_SD_ENABLE | ( | __HANDLE__ | ) | __SDIO_ENABLE((__HANDLE__)->Instance) |
Enable the SD device.
None |
Definition at line 368 of file stm32f4xx_hal_sd.h.
Referenced by HAL_SD_InitCard().
#define __HAL_SD_ENABLE_IT | ( | __HANDLE__, | |
__INTERRUPT__ | |||
) | __SDIO_ENABLE_IT((__HANDLE__)->Instance, (__INTERRUPT__)) |
Enable the SD device interrupt.
__HANDLE__ | SD 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 417 of file stm32f4xx_hal_sd.h.
Referenced by HAL_SD_ReadBlocks_DMA(), HAL_SD_ReadBlocks_IT(), HAL_SD_WriteBlocks_DMA(), HAL_SD_WriteBlocks_IT(), and SD_DMATransmitCplt().
#define __HAL_SD_GET_FLAG | ( | __HANDLE__, | |
__FLAG__ | |||
) | __SDIO_GET_FLAG((__HANDLE__)->Instance, (__FLAG__)) |
Check whether the specified SD flag is set or not.
__HANDLE__ | SD Handle |
__FLAG__ | specifies the flag to check. This parameter can be one of the following values:
|
The | new state of SD FLAG (SET or RESET). |
Definition at line 479 of file stm32f4xx_hal_sd.h.
Referenced by HAL_SD_IRQHandler(), HAL_SD_ReadBlocks(), HAL_SD_WriteBlocks(), SD_FindSCR(), and SD_SendSDStatus().
#define __HAL_SD_GET_IT | ( | __HANDLE__, | |
__INTERRUPT__ | |||
) | __SDIO_GET_IT((__HANDLE__)->Instance, (__INTERRUPT__)) |
Check whether the specified SD interrupt has occurred or not.
__HANDLE__ | SD Handle |
__INTERRUPT__ | specifies the SDMMC interrupt source to check. This parameter can be one of the following values:
|
The | new state of SD IT (SET or RESET). |
Definition at line 530 of file stm32f4xx_hal_sd.h.