Share via


Secure Digital (SD) Card Driver Structures (Compact 2013)

3/26/2014

The following table shows the secure digital (SD) card driver structures.

Programming element

Description

FUNCTION_POWER_STATE

This structure is used to set the host function power state.

PHYS_BUFF_LIST

This structure is used to define a physical address buffer and is an input structure for SDSynchronousBusRequestEx and SDBusRequestEx. The members of this structure should be set using the members of the SD_HOST_ALLOC_FREE_DMA_BUFFER structure.

SD_BUS_REQUEST

This structure contains information used to identify a bus request. This information is used to cancel or track a bus request.

SD_CARD_INTERFACE

This structure stores information on the physical nature of an SD card and its interface.

SD_CARD_INTERFACE_EX

This structure stores information on the physical nature of an SD card and its interface.

SD_CARD_SWITCH_FUNCTION

This structure is used to switch between card command mode and interface/high speed mode.

SD_COMMAND_RESPONSE

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.

SD_DATA_TRANSFER_CLOCKS

This structure is used to set data transfer clock timeouts of a device for read and write data transfers. This structure applies to the SD_SET_DATA_TRANSFER_CLOCKS card feature of the SDSetCardFeature function.

SD_HOST_ALLOC_FREE_DMA_BUFFER

This structure is used to allocate and de-allocate a direct memory access (DMA) buffer from the SD host. This structure can only be used when the SD host controller driver supports DMA. SD_HOST_ALLOC_FREE_DMA_BUFFER is also used to define the PHYS_BUFF_LIST structure when making an SD bus request with SDBusRequestEx and SDSynchronousBusRequestEx.

SD_HOST_BLOCK_CAPABILITY

This structure compares the block transfer capabilities of the host against a set of desired block transfer capabilities. The client driver should set the fields in this structure with the desired read and write block transfer parameters and check the values when the SDCardInfoQuery function returns. The query will update the block transfer parameters with values that closely match the desired parameters. The actual block transfer capability is host controller dependent.

SD_IO_FUNCTION_ENABLE_INFO

This structure contains information to control the enabling of a secure digital input output (SDIO) device function. This structure is used as a parameter to the SDSetCardFeature function.

SD_INTERFACE_MODE_EX

This structure describes the physical interface to an SD card.

SD_PARSED_REGISTER_CID

This structure contains the information obtained by parsing the CID register of an SD Memory card.

SD_PARSED_REGISTER_CSD

This structure contains all the information obtained by parsing the CSD register of an SD Memory card.

SDCARD_CLIENT_REGISTRATION_INFO

This structure is used to register a client name and a power callback routine during the client driver initialization sequence.

SDIO_CARD_INFO

This structure contains information describing the type and features of an SDIO card.

BUS_DRIVER_SLOT_INFO

This structure contains information about a bus driver slot. There is one BUS_DRIVER_SLOT_INFO structure per slot.

BUS_DRIVER_SLOT_INFO_EX

This structure contains information about a bus driver slot. There is one BUS_DRIVER_SLOT_INFO_EX structure per slot.

SLOT_POWER_DATA

This structure contains slot power control information for a given slot.

SD_FUNCTION_POWER_DRAW

This structure contains current draw information for a given function.

FUNCTION_POWER_DATA

This structure contains function power control information for a given function.

BUS_DRIVER_IN_SLOT_FUNCTION_POWER

This structure contains slot and function index information

See Also

Reference

Secure Digital (SD) Card Driver Reference