SD driver reference
This section describes the programming reference for writing SD bus drivers.
In this section
| Enumeration | Description |
|---|---|
|
The SD_COMMAND_CLASS enumeration lists the classes of Secure Digital (SD) card commands. | |
|
The SD_COMMAND_CODE data type is used to specify the code of a Secure Digital (SD) card command. typedef UCHAR SD_COMMAND_CODE; | |
|
The SD_REQUEST_FUNCTION enumeration indicates the type of request packet that a Secure Digital (SD) card driver sends to the bus driver. | |
|
The SD_RESPONSE_TYPE enumeration lists the types of response data that a Secure Digital (SD) card returns in response to a command. | |
|
The SD_TRANSFER_TYPE enumeration specifies the type of a Secure Digital (SD) data transfer. | |
|
The SDBUS_PROPERTY enumeration lists the properties of a Secure Digital (SD) card that an SD device driver can set with an SD request. | |
|
The SDPROP_MEDIA_STATE enumeration lists the values associated with the media states property. | |
|
The SFFDISK_DCMD enumeration identifies the type of Secure Digital (SD) card operation. | |
|
The SFFDISK_DPCMD enumeration lists the operations performed by an IOCTL_SFFDISK_DEVICE_PASSWORD request. | |
|
The SdBusOpenInterface routine obtains an interface from the Secure Digital (SD) bus driver. | |
|
The SdBusSubmitRequest routine sends a synchronous Secure Digital (SD) request to the bus driver. | |
|
The SdBusSubmitRequestAsync routine sends an asynchronous Secure Digital (SD) request to the bus driver interface. | |
|
User-mode applications use this IOCTL to retrieve a protocol value that identifies the card as either an SD card or an MMC card. For a description of this command, see the Secure Digital I/O (SDIO) specification. | |
|
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. | |
|
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. | |
|
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. |
In this section
| Structure | Description |
|---|---|
|
The SD_COMMAND_CLASS enumeration lists the classes of Secure Digital (SD) card commands. | |
|
The SD_COMMAND_CODE data type is used to specify the code of a Secure Digital (SD) card command. typedef UCHAR SD_COMMAND_CODE; | |
|
The SD_REQUEST_FUNCTION enumeration indicates the type of request packet that a Secure Digital (SD) card driver sends to the bus driver. | |
|
The SD_RESPONSE_TYPE enumeration lists the types of response data that a Secure Digital (SD) card returns in response to a command. | |
|
The SD_TRANSFER_TYPE enumeration specifies the type of a Secure Digital (SD) data transfer. | |
|
The SDBUS_PROPERTY enumeration lists the properties of a Secure Digital (SD) card that an SD device driver can set with an SD request. | |
|
The SDPROP_MEDIA_STATE enumeration lists the values associated with the media states property. | |
|
The SFFDISK_DCMD enumeration identifies the type of Secure Digital (SD) card operation. | |
|
The SFFDISK_DPCMD enumeration lists the operations performed by an IOCTL_SFFDISK_DEVICE_PASSWORD request. | |
|
The SdBusOpenInterface routine obtains an interface from the Secure Digital (SD) bus driver. | |
|
The SdBusSubmitRequest routine sends a synchronous Secure Digital (SD) request to the bus driver. | |
|
The SdBusSubmitRequestAsync routine sends an asynchronous Secure Digital (SD) request to the bus driver interface. | |
|
User-mode applications use this IOCTL to retrieve a protocol value that identifies the card as either an SD card or an MMC card. For a description of this command, see the Secure Digital I/O (SDIO) specification. | |
|
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. | |
|
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. | |
|
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. |
In this section
| Function | Description |
|---|---|
|
The SD_COMMAND_CLASS enumeration lists the classes of Secure Digital (SD) card commands. | |
|
The SD_COMMAND_CODE data type is used to specify the code of a Secure Digital (SD) card command. typedef UCHAR SD_COMMAND_CODE; | |
|
The SD_REQUEST_FUNCTION enumeration indicates the type of request packet that a Secure Digital (SD) card driver sends to the bus driver. | |
|
The SD_RESPONSE_TYPE enumeration lists the types of response data that a Secure Digital (SD) card returns in response to a command. | |
|
The SD_TRANSFER_TYPE enumeration specifies the type of a Secure Digital (SD) data transfer. | |
|
The SDBUS_PROPERTY enumeration lists the properties of a Secure Digital (SD) card that an SD device driver can set with an SD request. | |
|
The SDPROP_MEDIA_STATE enumeration lists the values associated with the media states property. | |
|
The SFFDISK_DCMD enumeration identifies the type of Secure Digital (SD) card operation. | |
|
The SFFDISK_DPCMD enumeration lists the operations performed by an IOCTL_SFFDISK_DEVICE_PASSWORD request. | |
|
The SdBusOpenInterface routine obtains an interface from the Secure Digital (SD) bus driver. | |
|
The SdBusSubmitRequest routine sends a synchronous Secure Digital (SD) request to the bus driver. | |
|
The SdBusSubmitRequestAsync routine sends an asynchronous Secure Digital (SD) request to the bus driver interface. | |
|
User-mode applications use this IOCTL to retrieve a protocol value that identifies the card as either an SD card or an MMC card. For a description of this command, see the Secure Digital I/O (SDIO) specification. | |
|
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. | |
|
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. | |
|
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. |
In this section
| Function | Description |
|---|---|
|
The SD_COMMAND_CLASS enumeration lists the classes of Secure Digital (SD) card commands. | |
|
The SD_COMMAND_CODE data type is used to specify the code of a Secure Digital (SD) card command. typedef UCHAR SD_COMMAND_CODE; | |
|
The SD_REQUEST_FUNCTION enumeration indicates the type of request packet that a Secure Digital (SD) card driver sends to the bus driver. | |
|
The SD_RESPONSE_TYPE enumeration lists the types of response data that a Secure Digital (SD) card returns in response to a command. | |
|
The SD_TRANSFER_TYPE enumeration specifies the type of a Secure Digital (SD) data transfer. | |
|
The SDBUS_PROPERTY enumeration lists the properties of a Secure Digital (SD) card that an SD device driver can set with an SD request. | |
|
The SDPROP_MEDIA_STATE enumeration lists the values associated with the media states property. | |
|
The SFFDISK_DCMD enumeration identifies the type of Secure Digital (SD) card operation. | |
|
The SFFDISK_DPCMD enumeration lists the operations performed by an IOCTL_SFFDISK_DEVICE_PASSWORD request. | |
|
The SdBusOpenInterface routine obtains an interface from the Secure Digital (SD) bus driver. | |
|
The SdBusSubmitRequest routine sends a synchronous Secure Digital (SD) request to the bus driver. | |
|
The SdBusSubmitRequestAsync routine sends an asynchronous Secure Digital (SD) request to the bus driver interface. | |
|
User-mode applications use this IOCTL to retrieve a protocol value that identifies the card as either an SD card or an MMC card. For a description of this command, see the Secure Digital I/O (SDIO) specification. | |
|
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. | |
|
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. | |
|
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. |
In this section
| Control Code | Description |
|---|---|
|
The SD_COMMAND_CLASS enumeration lists the classes of Secure Digital (SD) card commands. | |
|
The SD_COMMAND_CODE data type is used to specify the code of a Secure Digital (SD) card command. typedef UCHAR SD_COMMAND_CODE; | |
|
The SD_REQUEST_FUNCTION enumeration indicates the type of request packet that a Secure Digital (SD) card driver sends to the bus driver. | |
|
The SD_RESPONSE_TYPE enumeration lists the types of response data that a Secure Digital (SD) card returns in response to a command. | |
|
The SD_TRANSFER_TYPE enumeration specifies the type of a Secure Digital (SD) data transfer. | |
|
The SDBUS_PROPERTY enumeration lists the properties of a Secure Digital (SD) card that an SD device driver can set with an SD request. | |
|
The SDPROP_MEDIA_STATE enumeration lists the values associated with the media states property. | |
|
The SFFDISK_DCMD enumeration identifies the type of Secure Digital (SD) card operation. | |
|
The SFFDISK_DPCMD enumeration lists the operations performed by an IOCTL_SFFDISK_DEVICE_PASSWORD request. | |
|
The SdBusOpenInterface routine obtains an interface from the Secure Digital (SD) bus driver. | |
|
The SdBusSubmitRequest routine sends a synchronous Secure Digital (SD) request to the bus driver. | |
|
The SdBusSubmitRequestAsync routine sends an asynchronous Secure Digital (SD) request to the bus driver interface. | |
|
User-mode applications use this IOCTL to retrieve a protocol value that identifies the card as either an SD card or an MMC card. For a description of this command, see the Secure Digital I/O (SDIO) specification. | |
|
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. | |
|
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. | |
|
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. |