SDIO_Flags
[SDIO_Exported_Constants]

Defines

#define IS_SDIO_CLEAR_FLAG(FLAG)   ((((FLAG) & (uint32_t)0xFF3FF800) == 0x00) && ((FLAG) != (uint32_t)0x00))
#define IS_SDIO_CLEAR_IT(IT)   ((((IT) & (uint32_t)0xFF3FF800) == 0x00) && ((IT) != (uint32_t)0x00))
#define IS_SDIO_FLAG(FLAG)
#define IS_SDIO_GET_IT(IT)
#define SDIO_FLAG_CCRCFAIL   ((uint32_t)0x00000001)
#define SDIO_FLAG_CEATAEND   ((uint32_t)0x00800000)
#define SDIO_FLAG_CMDACT   ((uint32_t)0x00000800)
#define SDIO_FLAG_CMDREND   ((uint32_t)0x00000040)
#define SDIO_FLAG_CMDSENT   ((uint32_t)0x00000080)
#define SDIO_FLAG_CTIMEOUT   ((uint32_t)0x00000004)
#define SDIO_FLAG_DATAEND   ((uint32_t)0x00000100)
#define SDIO_FLAG_DBCKEND   ((uint32_t)0x00000400)
#define SDIO_FLAG_DCRCFAIL   ((uint32_t)0x00000002)
#define SDIO_FLAG_DTIMEOUT   ((uint32_t)0x00000008)
#define SDIO_FLAG_RXACT   ((uint32_t)0x00002000)
#define SDIO_FLAG_RXDAVL   ((uint32_t)0x00200000)
#define SDIO_FLAG_RXFIFOE   ((uint32_t)0x00080000)
#define SDIO_FLAG_RXFIFOF   ((uint32_t)0x00020000)
#define SDIO_FLAG_RXFIFOHF   ((uint32_t)0x00008000)
#define SDIO_FLAG_RXOVERR   ((uint32_t)0x00000020)
#define SDIO_FLAG_SDIOIT   ((uint32_t)0x00400000)
#define SDIO_FLAG_STBITERR   ((uint32_t)0x00000200)
#define SDIO_FLAG_TXACT   ((uint32_t)0x00001000)
#define SDIO_FLAG_TXDAVL   ((uint32_t)0x00100000)
#define SDIO_FLAG_TXFIFOE   ((uint32_t)0x00040000)
#define SDIO_FLAG_TXFIFOF   ((uint32_t)0x00010000)
#define SDIO_FLAG_TXFIFOHE   ((uint32_t)0x00004000)
#define SDIO_FLAG_TXUNDERR   ((uint32_t)0x00000010)

Define Documentation

#define IS_SDIO_CLEAR_FLAG ( FLAG   )     ((((FLAG) & (uint32_t)0xFF3FF800) == 0x00) && ((FLAG) != (uint32_t)0x00))

Definition at line 421 of file stm32f10x_sdio.h.

Referenced by SDIO_ClearFlag().

#define IS_SDIO_CLEAR_IT ( IT   )     ((((IT) & (uint32_t)0xFF3FF800) == 0x00) && ((IT) != (uint32_t)0x00))

Definition at line 448 of file stm32f10x_sdio.h.

Referenced by SDIO_ClearITPendingBit().

#define IS_SDIO_FLAG ( FLAG   ) 
Value:
(((FLAG)  == SDIO_FLAG_CCRCFAIL) || \
                            ((FLAG)  == SDIO_FLAG_DCRCFAIL) || \
                            ((FLAG)  == SDIO_FLAG_CTIMEOUT) || \
                            ((FLAG)  == SDIO_FLAG_DTIMEOUT) || \
                            ((FLAG)  == SDIO_FLAG_TXUNDERR) || \
                            ((FLAG)  == SDIO_FLAG_RXOVERR) || \
                            ((FLAG)  == SDIO_FLAG_CMDREND) || \
                            ((FLAG)  == SDIO_FLAG_CMDSENT) || \
                            ((FLAG)  == SDIO_FLAG_DATAEND) || \
                            ((FLAG)  == SDIO_FLAG_STBITERR) || \
                            ((FLAG)  == SDIO_FLAG_DBCKEND) || \
                            ((FLAG)  == SDIO_FLAG_CMDACT) || \
                            ((FLAG)  == SDIO_FLAG_TXACT) || \
                            ((FLAG)  == SDIO_FLAG_RXACT) || \
                            ((FLAG)  == SDIO_FLAG_TXFIFOHE) || \
                            ((FLAG)  == SDIO_FLAG_RXFIFOHF) || \
                            ((FLAG)  == SDIO_FLAG_TXFIFOF) || \
                            ((FLAG)  == SDIO_FLAG_RXFIFOF) || \
                            ((FLAG)  == SDIO_FLAG_TXFIFOE) || \
                            ((FLAG)  == SDIO_FLAG_RXFIFOE) || \
                            ((FLAG)  == SDIO_FLAG_TXDAVL) || \
                            ((FLAG)  == SDIO_FLAG_RXDAVL) || \
                            ((FLAG)  == SDIO_FLAG_SDIOIT) || \
                            ((FLAG)  == SDIO_FLAG_CEATAEND))

Definition at line 396 of file stm32f10x_sdio.h.

Referenced by SDIO_GetFlagStatus().

#define IS_SDIO_GET_IT ( IT   ) 
Value:
(((IT)  == SDIO_IT_CCRCFAIL) || \
                            ((IT)  == SDIO_IT_DCRCFAIL) || \
                            ((IT)  == SDIO_IT_CTIMEOUT) || \
                            ((IT)  == SDIO_IT_DTIMEOUT) || \
                            ((IT)  == SDIO_IT_TXUNDERR) || \
                            ((IT)  == SDIO_IT_RXOVERR) || \
                            ((IT)  == SDIO_IT_CMDREND) || \
                            ((IT)  == SDIO_IT_CMDSENT) || \
                            ((IT)  == SDIO_IT_DATAEND) || \
                            ((IT)  == SDIO_IT_STBITERR) || \
                            ((IT)  == SDIO_IT_DBCKEND) || \
                            ((IT)  == SDIO_IT_CMDACT) || \
                            ((IT)  == SDIO_IT_TXACT) || \
                            ((IT)  == SDIO_IT_RXACT) || \
                            ((IT)  == SDIO_IT_TXFIFOHE) || \
                            ((IT)  == SDIO_IT_RXFIFOHF) || \
                            ((IT)  == SDIO_IT_TXFIFOF) || \
                            ((IT)  == SDIO_IT_RXFIFOF) || \
                            ((IT)  == SDIO_IT_TXFIFOE) || \
                            ((IT)  == SDIO_IT_RXFIFOE) || \
                            ((IT)  == SDIO_IT_TXDAVL) || \
                            ((IT)  == SDIO_IT_RXDAVL) || \
                            ((IT)  == SDIO_IT_SDIOIT) || \
                            ((IT)  == SDIO_IT_CEATAEND))

Definition at line 423 of file stm32f10x_sdio.h.

Referenced by SDIO_GetITStatus().

#define SDIO_FLAG_CCRCFAIL   ((uint32_t)0x00000001)
#define SDIO_FLAG_CEATAEND   ((uint32_t)0x00800000)

Definition at line 395 of file stm32f10x_sdio.h.

#define SDIO_FLAG_CMDACT   ((uint32_t)0x00000800)

Definition at line 383 of file stm32f10x_sdio.h.

#define SDIO_FLAG_CMDREND   ((uint32_t)0x00000040)
#define SDIO_FLAG_CMDSENT   ((uint32_t)0x00000080)

Definition at line 379 of file stm32f10x_sdio.h.

Referenced by CmdError().

#define SDIO_FLAG_CTIMEOUT   ((uint32_t)0x00000004)
#define SDIO_FLAG_DATAEND   ((uint32_t)0x00000100)

Definition at line 380 of file stm32f10x_sdio.h.

Referenced by SD_ReadMultiBlocks(), and SD_WriteMultiBlocks().

#define SDIO_FLAG_DBCKEND   ((uint32_t)0x00000400)

Definition at line 382 of file stm32f10x_sdio.h.

Referenced by FindSCR(), SD_ReadBlock(), SD_SendSDStatus(), and SD_WriteBlock().

#define SDIO_FLAG_DCRCFAIL   ((uint32_t)0x00000002)
#define SDIO_FLAG_DTIMEOUT   ((uint32_t)0x00000008)
#define SDIO_FLAG_RXACT   ((uint32_t)0x00002000)

Definition at line 385 of file stm32f10x_sdio.h.

Referenced by SD_GetTransferState().

#define SDIO_FLAG_RXDAVL   ((uint32_t)0x00200000)
#define SDIO_FLAG_RXFIFOE   ((uint32_t)0x00080000)

Definition at line 391 of file stm32f10x_sdio.h.

#define SDIO_FLAG_RXFIFOF   ((uint32_t)0x00020000)

Definition at line 389 of file stm32f10x_sdio.h.

#define SDIO_FLAG_RXFIFOHF   ((uint32_t)0x00008000)

Definition at line 387 of file stm32f10x_sdio.h.

Referenced by SD_ReadBlock(), SD_ReadMultiBlocks(), and SD_SendSDStatus().

#define SDIO_FLAG_RXOVERR   ((uint32_t)0x00000020)

Definition at line 377 of file stm32f10x_sdio.h.

Referenced by FindSCR(), SD_ReadBlock(), SD_ReadMultiBlocks(), and SD_SendSDStatus().

#define SDIO_FLAG_SDIOIT   ((uint32_t)0x00400000)

Definition at line 394 of file stm32f10x_sdio.h.

#define SDIO_FLAG_STBITERR   ((uint32_t)0x00000200)
#define SDIO_FLAG_TXACT   ((uint32_t)0x00001000)

Definition at line 384 of file stm32f10x_sdio.h.

Referenced by SD_GetTransferState().

#define SDIO_FLAG_TXDAVL   ((uint32_t)0x00100000)

Definition at line 392 of file stm32f10x_sdio.h.

#define SDIO_FLAG_TXFIFOE   ((uint32_t)0x00040000)

Definition at line 390 of file stm32f10x_sdio.h.

#define SDIO_FLAG_TXFIFOF   ((uint32_t)0x00010000)

Definition at line 388 of file stm32f10x_sdio.h.

#define SDIO_FLAG_TXFIFOHE   ((uint32_t)0x00004000)

Definition at line 386 of file stm32f10x_sdio.h.

Referenced by SD_WriteBlock(), and SD_WriteMultiBlocks().

#define SDIO_FLAG_TXUNDERR   ((uint32_t)0x00000010)

Definition at line 376 of file stm32f10x_sdio.h.

Referenced by SD_WriteBlock(), and SD_WriteMultiBlocks().

STM32F10x Standard Peripherals Library: Footer

 

 

 

      For complete documentation on STM32(CORTEX M3) 32-bit Microcontrollers platform visit  www.st.com/STM32