Share via


SD_INFO_TYPE (Compact 2013)

3/26/2014

This enumeration is used for querying card information using SDCardInfoQuery. Some of this information is cached.

Syntax

typedef enum {
  SD_INFO_REGISTER_OCR = 0,
  SD_INFO_REGISTER_CID,
  SD_INFO_REGISTER_CSD,
  SD_INFO_REGISTER_RCA,
  SD_INFO_REGISTER_IO_OCR,
  SD_INFO_CARD_INTERFACE,
  SD_INFO_CARD_STATUS,
  SD_INFO_SDIO,
  SD_INFO_HOST_IF_CAPABILITIES,
  SD_INFO_HOST_BLOCK_CAPABILITY,
  SD_INFO_HIGH_CAPACITY_SUPPORT,
  SD_INFO_TYPE_COUNT,
  SD_INFO_CARD_INTERFACE_EX,
  SD_INFO_SWITCH_FUNCTION
} SD_INFO_TYPE;

Elements

  • SD_INFO_REGISTER_OCR
    The 32-bit OCR cached value for SD memory cards.
  • SD_INFO_REGISTER_CID
    Returns the parsed contents of the CID register. The raw CID data is made available at the end of the structure, SD_PARSED_REGISTER_CID.
  • SD_INFO_REGISTER_CSD
    Returns the parsed contents of the CSD register. The raw CSD data is made available at the end of the structure, SD_PARSED_REGISTER_CSD.
  • SD_INFO_REGISTER_RCA
    Returns the RCA register of the card.
  • SD_INFO_CARD_INTERFACE
    Returns information about the physical interface of the secure digital (SD) card.
  • SD_INFO_SDIO
    Returns information on a secure digital input output (SDIO) card.
  • SD_INFO_CARD_STATUS
    Retrieves the SD card status by issuing SD command 13 to the card. This will cause the function call to block and must not be used in bus request or interrupt callback routines.
  • SD_INFO_HOST_IF_CAPABILITIES
    Returns the host interface capabilities in a card interface structure. The ClockRate member indicates the maximum clock rate. The InterfaceMode member defines the highest bus width of which the host is capable.
  • SD_INFO_HOST_BLOCK_CAPABILITY
    Checks whether the requested block capabilities are supported by the host controller driver. The structure passed will be updated with block capabilities that closely match those requested.
  • SD_INFO_HIGH_CAPACITY_SUPPORT
    Returns the value 0x00000001 if the SD card is high capacity SD memory, otherwise returns 0x00000000.
  • SD_INFO_TYPE_COUNT
    The number of SD_INFO_TYPEs.
  • SD_INFO_CARD_INTERFACE_EX
    Returns information about the physical interface of the SD card. This structure contains additional information for the SD 2.0 bus, including information on high speed and high capacity support.
  • SD_INFO_SWITCH_FUNCTION
    Returns the SD card switch function.

Requirements

Header

sdcardddk.h

See Also

Reference

Secure Digital (SD) Card Driver Enumerations