Edit

Share via


Secure Digital (SD) card

Overview of the Secure Digital (SD) card technology.

To develop Secure Digital (SD) card, you need these headers:

For the programming guide, see Secure Digital (SD) card.

IOCTLs

 
IOCTL_SFFDISK_DEVICE_COMMAND

User-mode applications use this IOCTL to send Secure Digital (SD) card commands to an SD card.
IOCTL_SFFDISK_DEVICE_PASSWORD

User-mode applications use this IOCTL to perform basic operations on a Secure Digital (SD) card, such as setting the password on the card, resetting the card, or locking and unlocking the card.
IOCTL_SFFDISK_QUERY_DEVICE_PROTOCOL

User-mode applications use this IOCTL to retrieve a protocol value that identifies the card as either an SD card or an MMC card.

Enumerations

 
SD_COMMAND_CLASS

The SD_COMMAND_CLASS enumeration lists the classes of Secure Digital (SD) card commands.
SD_REQUEST_FUNCTION

The SD_REQUEST_FUNCTION enumeration indicates the type of request packet that a Secure Digital (SD) card driver sends to the bus driver.
SD_RESPONSE_TYPE

The SD_RESPONSE_TYPE enumeration lists the types of response data that a Secure Digital (SD) card returns in response to a command.
SD_TRANSFER_DIRECTION

Learn more about the SD_TRANSFER_DIRECTION enumerator.
SD_TRANSFER_TYPE

The SD_TRANSFER_TYPE enumeration specifies the type of a Secure Digital (SD) data transfer.
SDBUS_PROPERTY

The SDBUS_PROPERTY enumeration lists the properties of a Secure Digital (SD) card that an SD device driver can set with an SD request.
SDPROP_MEDIA_STATE

The SDPROP_MEDIA_STATE enumeration lists the values associated with the media states property.
SFFDISK_DCMD

The SFFDISK_DCMD enumeration identifies the type of Secure Digital (SD) card operation.
SFFDISK_DPCMD

The SFFDISK_DPCMD enumeration lists the operations performed by an IOCTL_SFFDISK_DEVICE_PASSWORD request.

Functions

 
PSDBUS_ACKNOWLEDGE_INT_ROUTINE

The PSDBUS_ACKNOWLEDGE_INT_ROUTINE prototype declares the routine that a Secure Digital (SD) device driver must call to acknowledge to the bus driver that it has finished processing the interrupt.
PSDBUS_INITIALIZE_INTERFACE_ROUTINE

The PSDBUS_INITIALIZE_INTERFACE_ROUTINE prototype declares the routine that a Secure Digital (SD) device driver uses to initialize an interface instance that it creates with the SdBusOpenInterface routine.
SDBUS_CALLBACK_ROUTINE

The PSDBUS_CALLBACK_ROUTINE prototype declares the Secure Digital (SD) driver callback routine that the SD bus driver uses to report device interrupts to the driver.
SdBusOpenInterface

The SdBusOpenInterface routine obtains an interface from the Secure Digital (SD) bus driver.
SdBusSubmitRequest

The SdBusSubmitRequest routine sends a synchronous Secure Digital (SD) request to the bus driver.
SdBusSubmitRequestAsync

The SdBusSubmitRequestAsync routine sends an asynchronous Secure Digital (SD) request to the bus driver interface.

Structures

 
SD_RW_DIRECT_ARGUMENT

Learn more about the SD_RW_DIRECT_ARGUMENT structure.
SD_RW_EXTENDED_ARGUMENT

Learn more about the SD_RW_EXTENDED_ARGUMENT structure.
SDBUS_INTERFACE_PARAMETERS

Learn more about the SDBUS_INTERFACE_PARAMETERS structure.
SDBUS_INTERFACE_STANDARD

Learn more about the SDBUS_INTERFACE_STANDARD structure.
SDBUS_REQUEST_PACKET

The SDBUS_REQUEST_PACKET structure specifies the parameters for the individual requests and commands that the SdBusSubmitRequest routine sends to the bus driver.
SDCMD_DESCRIPTOR

The SDCMD_DESCRIPTOR structure defines a Secure Digital (SD) card command.
SFFDISK_DEVICE_COMMAND_DATA

Learn more about the SFFDISK_DEVICE_COMMAND_DATA structure.
SFFDISK_DEVICE_PASSWORD_DATA

Learn more about the SFFDISK_DEVICE_PASSWORD_DATA structure.
SFFDISK_QUERY_DEVICE_PROTOCOL_DATA

Learn more about the SFFDISK_QUERY_DEVICE_PROTOCOL_DATA structure.