_AutoRunInfoType Struct Reference

Collaboration diagram for _AutoRunInfoType:

Collaboration graph
[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

AutoRunMediaType media
 

Identifies the type of card in the SD slot.

AutoRunFunctionNumType oemFunctionNum
 

Function number, for multi-function cards. Not used for single-function cards.

AutoRunFunctionStandardType oemFunctionStandard
 

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.

AutoRunOemProductIDType oemID
 

Device manufacturer's product number.

AutoRunOemManufacturerType oemManufacturer
 

Device manufacturer number.

AutoRunSourceType sourceStruct
 

Specifies which member of the source union to use, if any.


Top Developer Home
© 2004, PalmOne, Inc. All rights reserved.
Generated on Sun May 8 23:46:35 2005 for palmOne SDIO API