// sddef.h
typedef enum {
SDRT_UNSPECIFIED,
SDRT_NONE,
SDRT_1,
SDRT_1B,
SDRT_2,
SDRT_3,
SDRT_4,
SDRT_5,
SDRT_5B,
SDRT_6
} SD_RESPONSE_TYPE;
View the official Windows Driver Kit DDI referenceNo description available.
The SD_RESPONSE_TYPE enumeration lists the types of response data that a Secure Digital (SD) card returns in response to a command.
SDRT_UNSPECIFIEDIndicates that the response from the card is unspecified.
SDRT_NONEIndicates that the command does not require a response from the card.
SDRT_1Indicates a response of type R1 that contains 32 bits of card status information. For an explanation of the R1 response, see the SD Card Association specification.
SDRT_1BIndicates a response of type R1b that is identical to R1 with an optional busy signal transmitted on the data line. For an explanation of the R1b response, see the SD Card Association specification.
SDRT_2Indicates a response of type R2 that contains either the contents of the Card Identification Register (CID) or the contents of the Card Specific Data Register (CSD), depending on which command provoked the response. For an explanation of the R2 response, see the SD Card Association specification.
SDRT_3Indicates a response of type R3 that contains the contents of the operating condition register (OCR). For an explanation of the R3 response, see the SD Card Association specification.
SDRT_4Indicates a response of type R4 that contains the contents of the relative card address register. For an explanation of the R4 response, see the SD Card Association specification.
SDRT_5Indicates a response of type R5 that the card uses to notify the host of an interrupt request. If the host itself generates the interrupt request, the RCA field is 0x0. For an explanation of the R5 response, see the SD Card Association specification.
SDRT_5BIndicates a response of type R5b. For an explanation of the R5b response, see the SD Card Association specification.
SDRT_6Indicates a response of type R6. For an explanation of the R6 response, see the SD Card Association specification.