AutoRun.h File Reference


Detailed Description

The AutoRun data structures and constants.

Version:
palmOne SDIO SDK 2.0
Date:
04/29/2005

Include dependency graph for AutoRun.h:

Include dependency graph

Classes

Notification event

AutoRun Source

Media types and expected associated info

I/O Device Interface Code

Typedefs


Define Documentation

#define autoRunFunctionStandardSDIOBlueToothFat   ((AutoRunFunctionStandardType)2)
 

I/O device interface code for SDIO Bluetooth Fat

#define autoRunFunctionStandardSDIOBlueToothThin   ((AutoRunFunctionStandardType)3)
 

I/O device interface code for SDIO BlueTooth Thin

#define autoRunFunctionStandardSDIOCustom   ((AutoRunFunctionStandardType)0)
 

I/O device interface code for Custom function

#define autoRunFunctionStandardSDIOUart   ((AutoRunFunctionStandardType)1)
 

I/O device interface code for SDIO UART

#define autoRunMediaMMCmem   ((AutoRunMediaType)'mcmm')
 

MMC memory cards

#define autoRunMediaMMCrom   ((AutoRunMediaType)'mcrm')
 

MMC ROM cards

#define autoRunMediaPnps   ((AutoRunMediaType)'pnps')
 

Plug and Play for a Serial Perpherial

#define autoRunMediaSDIO   ((AutoRunMediaType)'sdio')
 

SD I/O cards

#define autoRunMediaSDmem   ((AutoRunMediaType)'sdmm')
 

SD memory cards

#define autoRunMediaSDrom   ((AutoRunMediaType)'sdrm')
 

SD ROM cards

#define autoRunSourceNone   ((AutoRunSourceType)0)
 

Driver source is: not used

#define autoRunSourceSlotDriverType   ((AutoRunSourceType)1)
 

Driver source is: AutoRunSlotDriverType

#define sysNotifyDriverSearch   'arun'
 

It allows SDIO drivers already on the handheld to launch themselves. The parameter pointer that accompanies the notification points to an AutoRunInfoType structure.


Typedef Documentation

typedef UInt16 AutoRunFunctionNumType
 

Function number from a multi-function card (ranges in value from 1-7). Not used for single-function cards

typedef UInt16 AutoRunFunctionStandardType
 

I/O device (i.e. modem, UART,...) interface code.

typedef struct _AutoRunInfoType AutoRunInfoType
 

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.

typedef UInt32 AutoRunMediaType
 

This is the SD card type that is requesting to run a program

typedef UInt32 AutoRunOemManufacturerType
 

Device manufacturer number.

typedef UInt32 AutoRunOemProductIDType
 

Device manufacturer's product number.

typedef struct AutoRunSlotDriverType AutoRunSlotDriverType
 

Data Structures that identify the broadcaster (the slot driver for the "source" union) that issued the sysNotifyDriverSearch notification.

This structure is a member of the AutoRunInfoType structure's source union.

typedef UInt16 AutoRunSourceType
 

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:34 2005 for palmOne SDIO API