STM32F413H-Discovery BSP User Manual: STM32F413H DISCOVERY SD Exported Constants

STM32F413H-Discovery BSP Drivers

STM32F413H-Discovery BSP User Manual
STM32F413H DISCOVERY SD Exported Constants

Defines

#define MSD_OK   ((uint8_t)0x00)
 SD status structure definition.
#define MSD_ERROR   ((uint8_t)0x01)
#define MSD_ERROR_SD_NOT_PRESENT   ((uint8_t)0x02)
#define SD_TRANSFER_OK   ((uint8_t)0x00)
 SD transfer state definition.
#define SD_TRANSFER_BUSY   ((uint8_t)0x01)
#define SD_PRESENT   ((uint8_t)0x01)
#define SD_NOT_PRESENT   ((uint8_t)0x00)
#define SD_DATATIMEOUT   ((uint32_t)100000000)
#define __DMAx_TxRx_CLK_ENABLE   __HAL_RCC_DMA2_CLK_ENABLE
#define SD_DMAx_Tx_CHANNEL   DMA_CHANNEL_4
#define SD_DMAx_Rx_CHANNEL   DMA_CHANNEL_4
#define SD_DMAx_Tx_STREAM   DMA2_Stream6
#define SD_DMAx_Rx_STREAM   DMA2_Stream3
#define SD_DMAx_Tx_IRQn   DMA2_Stream6_IRQn
#define SD_DMAx_Rx_IRQn   DMA2_Stream3_IRQn
#define BSP_SD_IRQHandler   SDIO_IRQHandler
#define BSP_SD_DMA_Tx_IRQHandler   DMA2_Stream6_IRQHandler
#define BSP_SD_DMA_Rx_IRQHandler   DMA2_Stream3_IRQHandler
#define SD_DetectIRQHandler()   HAL_GPIO_EXTI_IRQHandler(SD_DETECT_PIN)

Define Documentation

#define __DMAx_TxRx_CLK_ENABLE   __HAL_RCC_DMA2_CLK_ENABLE

Definition at line 96 of file stm32f413h_discovery_sd.h.

Referenced by BSP_SD_MspInit().

#define BSP_SD_DMA_Rx_IRQHandler   DMA2_Stream3_IRQHandler

Definition at line 105 of file stm32f413h_discovery_sd.h.

#define BSP_SD_DMA_Tx_IRQHandler   DMA2_Stream6_IRQHandler

Definition at line 104 of file stm32f413h_discovery_sd.h.

#define BSP_SD_IRQHandler   SDIO_IRQHandler

Definition at line 103 of file stm32f413h_discovery_sd.h.

#define MSD_ERROR_SD_NOT_PRESENT   ((uint8_t)0x02)

Definition at line 83 of file stm32f413h_discovery_sd.h.

Referenced by BSP_SD_Init().

#define MSD_OK   ((uint8_t)0x00)
#define SD_DATATIMEOUT   ((uint32_t)100000000)

Definition at line 93 of file stm32f413h_discovery_sd.h.

#define SD_DetectIRQHandler ( )    HAL_GPIO_EXTI_IRQHandler(SD_DETECT_PIN)

Definition at line 106 of file stm32f413h_discovery_sd.h.

#define SD_DMAx_Rx_CHANNEL   DMA_CHANNEL_4

Definition at line 98 of file stm32f413h_discovery_sd.h.

Referenced by BSP_SD_MspInit().

#define SD_DMAx_Rx_IRQn   DMA2_Stream3_IRQn

Definition at line 102 of file stm32f413h_discovery_sd.h.

Referenced by BSP_SD_MspDeInit(), and BSP_SD_MspInit().

#define SD_DMAx_Rx_STREAM   DMA2_Stream3

Definition at line 100 of file stm32f413h_discovery_sd.h.

Referenced by BSP_SD_MspDeInit(), and BSP_SD_MspInit().

#define SD_DMAx_Tx_CHANNEL   DMA_CHANNEL_4

Definition at line 97 of file stm32f413h_discovery_sd.h.

Referenced by BSP_SD_MspInit().

#define SD_DMAx_Tx_IRQn   DMA2_Stream6_IRQn

Definition at line 101 of file stm32f413h_discovery_sd.h.

Referenced by BSP_SD_MspDeInit(), and BSP_SD_MspInit().

#define SD_DMAx_Tx_STREAM   DMA2_Stream6

Definition at line 99 of file stm32f413h_discovery_sd.h.

Referenced by BSP_SD_MspDeInit(), and BSP_SD_MspInit().

#define SD_NOT_PRESENT   ((uint8_t)0x00)

Definition at line 91 of file stm32f413h_discovery_sd.h.

Referenced by BSP_SD_IsDetected().

#define SD_PRESENT   ((uint8_t)0x01)

Definition at line 90 of file stm32f413h_discovery_sd.h.

Referenced by BSP_SD_Init(), and BSP_SD_IsDetected().

#define SD_TRANSFER_BUSY   ((uint8_t)0x01)

Definition at line 89 of file stm32f413h_discovery_sd.h.

Referenced by BSP_SD_GetCardState().

#define SD_TRANSFER_OK   ((uint8_t)0x00)

SD transfer state definition.

Definition at line 88 of file stm32f413h_discovery_sd.h.

Referenced by BSP_SD_GetCardState().

Generated on Thu Jan 26 2017 16:30:37 for STM32F413H-Discovery BSP User Manual by   doxygen 1.7.6.1