The device driver must allocate and initialize an SDBUS_REQUEST_PACKET structure. The driver must pass this context information in whenever it calls a method in the interface. The device driver retrieves the interface context from the Context member of the SDBUS_INTERFACE_STANDARD structure after opening an SD interface with SdBusOpenInterface. The synchronous request routine takes two parameters: an interface context and a request packet. Both of these routines are exported by the SD bus library ( sdbus.lib). There are two ways to submit requests: synchronously by means of the SdBusSubmitRequest routine, and asynchronously by means of the SdBusSubmitRequestAsync routine. After a Secure Digital (SD) card device driver has opened and initialized an interface to the SD bus driver, it can submit requests.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |