_AutoRunInfoType Struct Reference
Collaboration diagram for _AutoRunInfoType:
[legend]List of all members.
Detailed Description
Data Structure to be broadcast to the drivers to identify the card inserted and for each registered driver to examine.
When a card is inserted into the SD slot, after it has been initialized the SDIO slot driver broadcasts a series of sysNotifyDriverSearch notifications (one for each function up to 8, on an SDIO card; only one notification is broadcast for an SD or MMC memory card) in an attempt to locate function- or card-specific drivers. The notifyDetailsP field of the SysNotifyParamType structure that accompanies the notification points to an AutoRunInfoType structure. Each driver that has registered for sysNotifyDriverSearch should examine the contents of the AutoRunInfoType structure to determine if it is the driver that should control the inserted card. If so, the driver should then check the SysNotifyParamType structure's handled field.
If handled is set to true, another driver has received the broadcast and will control the card. If handled is set to false, the driver should set it to true to indicate that it will control the device.
The AutoRunInfoType structure can also be obtained by calling SDIOGetAutoRun.
Public Attributes
Member Data Documentation
|
Identifies the type of card in the SD slot. |
|
Function number, for multi-function cards. Not used for single-function cards. |
|
For multi-function cards, I/O device (i.e. modem, UART,...) interface code for the function indicated by oemFunctionNum. Not used for single-function cards. |
|
Device manufacturer's product number. |
|
Device manufacturer number. |
|
Specifies which member of the source union to use, if any. |