STM32F4xx HAL Documentation
Hardware Abstraction Layer for STM32F4 familiy
|
macros to handle interrupts and specific clock configurations More...
Macros | |
#define | __HAL_SD_RESET_HANDLE_STATE(__HANDLE__) |
Reset SD handle state. | |
#define | __HAL_SD_ENABLE(__HANDLE__) |
Enable the SD device. | |
#define | __HAL_SD_DISABLE(__HANDLE__) |
Disable the SD device. | |
#define | __HAL_SD_DMA_ENABLE(__HANDLE__) |
Enable the SDMMC DMA transfer. | |
#define | __HAL_SD_DMA_DISABLE(__HANDLE__) |
Disable the SDMMC DMA transfer. | |
#define | __HAL_SD_ENABLE_IT(__HANDLE__, __INTERRUPT__) |
Enable the SD device interrupt. | |
#define | __HAL_SD_DISABLE_IT(__HANDLE__, __INTERRUPT__) |
Disable the SD device interrupt. | |
#define | __HAL_SD_GET_FLAG(__HANDLE__, __FLAG__) |
Check whether the specified SD flag is set or not. | |
#define | __HAL_SD_CLEAR_FLAG(__HANDLE__, __FLAG__) |
Clear the SD's pending flags. | |
#define | __HAL_SD_GET_IT(__HANDLE__, __INTERRUPT__) |
Check whether the specified SD interrupt has occurred or not. | |
#define | __HAL_SD_CLEAR_IT(__HANDLE__, __INTERRUPT__) |
Clear the SD's interrupt pending bits. | |
macros to handle interrupts and specific clock configurations
#define __HAL_SD_RESET_HANDLE_STATE | ( | __HANDLE__ | ) |
#include <stm32f4xx_hal_sd.h>
Reset SD handle state.
__HANDLE__ | : SD handle. |
None |
Definition at line 393 of file stm32f4xx_hal_sd.h.
#define __HAL_SD_ENABLE | ( | __HANDLE__ | ) |
#include <stm32f4xx_hal_sd.h>
Enable the SD device.
None |
Definition at line 400 of file stm32f4xx_hal_sd.h.
Referenced by HAL_SD_InitCard().
#define __HAL_SD_DISABLE | ( | __HANDLE__ | ) |
#include <stm32f4xx_hal_sd.h>
Disable the SD device.
None |
Definition at line 406 of file stm32f4xx_hal_sd.h.
Referenced by HAL_SD_InitCard().
#define __HAL_SD_DMA_ENABLE | ( | __HANDLE__ | ) |
#include <stm32f4xx_hal_sd.h>
Enable the SDMMC DMA transfer.
None |
Definition at line 412 of file stm32f4xx_hal_sd.h.
Referenced by HAL_SD_ReadBlocks_DMA(), and HAL_SD_WriteBlocks_DMA().
#define __HAL_SD_DMA_DISABLE | ( | __HANDLE__ | ) |
#include <stm32f4xx_hal_sd.h>
Disable the SDMMC DMA transfer.
None |
Definition at line 418 of file stm32f4xx_hal_sd.h.
#define __HAL_SD_ENABLE_IT | ( | __HANDLE__, | |
__INTERRUPT__ ) |
#include <stm32f4xx_hal_sd.h>
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 449 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_DISABLE_IT | ( | __HANDLE__, | |
__INTERRUPT__ ) |
#include <stm32f4xx_hal_sd.h>
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 480 of file stm32f4xx_hal_sd.h.
Referenced by HAL_SD_Abort(), HAL_SD_Abort_IT(), HAL_SD_IRQHandler(), HAL_SD_ReadBlocks_DMA(), HAL_SD_WriteBlocks_DMA(), and SD_DMAError().
#define __HAL_SD_GET_FLAG | ( | __HANDLE__, | |
__FLAG__ ) |
#include <stm32f4xx_hal_sd.h>
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 511 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_CLEAR_FLAG | ( | __HANDLE__, | |
__FLAG__ ) |
#include <stm32f4xx_hal_sd.h>
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 531 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_InitCard(), 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_DMARxAbort(), SD_DMATxAbort(), SD_FindSCR(), and SD_SendSDStatus().
#define __HAL_SD_GET_IT | ( | __HANDLE__, | |
__INTERRUPT__ ) |
#include <stm32f4xx_hal_sd.h>
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 562 of file stm32f4xx_hal_sd.h.
#define __HAL_SD_CLEAR_IT | ( | __HANDLE__, | |
__INTERRUPT__ ) |
#include <stm32f4xx_hal_sd.h>
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 581 of file stm32f4xx_hal_sd.h.