PSOC E8XXGP Device Support Library

General Description

The masks below can be used to check the CURRENT_STATE bitfield of the Cy_SD_Host_GetCardStatus function return value.

Macros

#define CY_SD_HOST_CARD_IDLE   (0x0UL)
 The card idle state.
 
#define CY_SD_HOST_CARD_READY   (0x1UL)
 The card ready state.
 
#define CY_SD_HOST_CARD_IDENT   (0x2UL)
 The card identification state.
 
#define CY_SD_HOST_CARD_STBY   (0x3UL)
 The card stand-by state.
 
#define CY_SD_HOST_CARD_TRAN   (0x4UL)
 The card transition state.
 
#define CY_SD_HOST_CARD_DATA   (0x5UL)
 The card sending-data state.
 
#define CY_SD_HOST_CARD_RCV   (0x6UL)
 The card receive-data state.
 
#define CY_SD_HOST_CARD_PRG   (0x7UL)
 The card programming state.
 
#define CY_SD_HOST_CARD_DIS   (0x8UL)
 The card disconnect state.