Main Page Modules Alphabetical List Data Structures File List Data Fields Globals # usbtypes.h Go to the documentation of this file.
    00001
    00058 #ifndef usbtypes_H
    00059
    00060 #ifndef __doxygen_HIDE
    00061
    00062 #define usbtypes_H
    00063
    00064 #endif /* __doxygen_HIDE */
    00065
    00066 #include "usbbasictypes.h"
    00067
    00069 #define USB_CONTEXT_SIZE 7968
    00070
    00074 typedef struct
    00075 {
    00076     UINT32 baseIOAddress;
    00077     UINT32 interruptLevel;
    00078     UINT32 lastError;
    00079     UINT32 deviceIndex;
    00080     UINT32 flags;
    00081     UINT8  deviceContext[USB_CONTEXT_SIZE];
    00082 } USBDevice;
    00083
    00084 typedef UINT16 USBEventSet;
    00085
    00086 typedef void (*USBEventCallback) (USBDevice *device, USBEventSet events);
    00087
    00088 typedef void (*USBSetupCallback) (USBDevice *device, const char *packet);
    00089
    00090 typedef void (*USBReceiveCallback) (
    00091     USBDevice *device,
    00092     UINT16 sourceEndpoint,
    00093     IX_USB_MBLK *receiveBuffer);
    00094
    00095 #endif /* usbtypes_H */
    00096
Automatically generated from sources. © Intel Corp. 2003