Share via


Secure Digital Card Driver Structures

Other versions of this page are also available for the following:

Windows Mobile Not SupportedWindows Embedded CE Supported

8/28/2008

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

Applies to Windows Embedded CE 6.0 R2

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

Applies to Windows Embedded CE 6.0 R2

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

SD_CARD_SWITCH_FUNCTION

Applies to Windows Embedded CE 6.0 R2

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

Applies to Windows Embedded CE 6.0 R2

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 an SDIO device function. This structure is used as a parameter to the SDSetCardFeature function.

SD_INTERFACE_MODE_EX

Applies to Windows Embedded CE 6.0 R2

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.

See Also

Reference

Secure Digital Card Driver Reference