Partager via


SD_COMMAND_RESPONSE (Compact 2013)

3/26/2014

This structure stores the response from a card to a bus request. It contains information about the type of the response and the bytes that make up the response data.

Syntax

typedef struct _SD_COMMAND_RESPONSE {
  SD_RESPONSE_TYPE ResponseType;
  UCHAR ResponseBuffer[SDCARD_RESPONSE_BUFFER_BYTES];
} SD_COMMAND_RESPONSE, *PSD_COMMAND_RESPONSE;

Members

  • ResponseType
    Response type.
  • ResponseBuffer
    Byte array containing the card response. This array must be large enough for all response types. Bit zero of the reponse is the least significant bit of array element zero. The full response is available, including space reserved for cyclic redundancy codes (CRC), start and end bits.

Requirements

Header

sdcardddk.h

See Also

Reference

Secure Digital (SD) Card Driver Structures