Main Page | Data Structures | Directories | File List | Data Fields | Globals

usbmmap.h File Reference

#include "system\typedefs.h"

Go to the source code of this file.

Defines

#define _BSTALL   0x04
#define _DTSEN   0x08
#define _INCDIS   0x10
#define _KEN   0x20
#define _DAT0   0x00
#define _DAT1   0x40
#define _DTSMASK   0x40
#define _USIE   0x80
#define _UCPU   0x00
#define DETACHED_STATE   0
#define ATTACHED_STATE   1
#define POWERED_STATE   2
#define DEFAULT_STATE   3
#define ADR_PENDING_STATE   4
#define ADDRESS_STATE   5
#define CONFIGURED_STATE   6
#define _RAM   0
#define _ROM   1

Typedefs

typedef _USB_DEVICE_STATUS USB_DEVICE_STATUS
typedef _BD_STAT BD_STAT
typedef _BDT BDT

Variables

byte usb_device_state
USB_DEVICE_STATUS usb_stat
byte usb_active_cfg
byte usb_alt_intf [MAX_NUM_INT]
volatile far BDT ep0Bo
volatile far BDT ep0Bi
volatile far BDT ep1Bo
volatile far BDT ep1Bi
volatile far BDT ep2Bo
volatile far BDT ep2Bi
volatile far BDT ep3Bo
volatile far BDT ep3Bi
volatile far BDT ep4Bo
volatile far BDT ep4Bi
volatile far BDT ep5Bo
volatile far BDT ep5Bi
volatile far BDT ep6Bo
volatile far BDT ep6Bi
volatile far BDT ep7Bo
volatile far BDT ep7Bi
volatile far BDT ep8Bo
volatile far BDT ep8Bi
volatile far BDT ep9Bo
volatile far BDT ep9Bi
volatile far BDT ep10Bo
volatile far BDT ep10Bi
volatile far BDT ep11Bo
volatile far BDT ep11Bi
volatile far BDT ep12Bo
volatile far BDT ep12Bi
volatile far BDT ep13Bo
volatile far BDT ep13Bi
volatile far BDT ep14Bo
volatile far BDT ep14Bi
volatile far BDT ep15Bo
volatile far BDT ep15Bi
volatile far CTRL_TRF_SETUP SetupPkt
volatile far CTRL_TRF_DATA CtrlTrfData


Define Documentation

#define _BSTALL   0x04
 

D E F I N I T I O N S

Definition at line 46 of file usbmmap.h.

Referenced by USBCtrlEPServiceComplete(), USBStdFeatureReqHandler(), and USBStdGetStatusHandler().

#define _DAT0   0x00
 

Definition at line 50 of file usbmmap.h.

Referenced by USBCtrlTrfInHandler(), USBCtrlTrfOutHandler(), USBPrepareForNextSetupTrf(), and USBStdFeatureReqHandler().

#define _DAT1   0x40
 

Definition at line 51 of file usbmmap.h.

Referenced by USBCtrlEPServiceComplete(), USBCtrlTrfInHandler(), and USBCtrlTrfOutHandler().

#define _DTSEN   0x08
 

Definition at line 47 of file usbmmap.h.

Referenced by USBCtrlEPServiceComplete(), USBCtrlTrfInHandler(), USBCtrlTrfOutHandler(), USBPrepareForNextSetupTrf(), and USBStdFeatureReqHandler().

#define _DTSMASK   0x40
 

Definition at line 52 of file usbmmap.h.

#define _INCDIS   0x10
 

Definition at line 48 of file usbmmap.h.

#define _KEN   0x20
 

Definition at line 49 of file usbmmap.h.

#define _RAM   0
 

Definition at line 66 of file usbmmap.h.

Referenced by USBCheckStdRequest(), and USBStdGetStatusHandler().

#define _ROM   1
 

Definition at line 67 of file usbmmap.h.

Referenced by USBCtrlTrfTxService(), and USBStdGetDscHandler().

#define _UCPU   0x00
 

Definition at line 54 of file usbmmap.h.

Referenced by USBPrepareForNextSetupTrf(), and USBStdFeatureReqHandler().

#define _USIE   0x80
 

Definition at line 53 of file usbmmap.h.

Referenced by USBCtrlEPServiceComplete(), USBCtrlTrfInHandler(), USBCtrlTrfOutHandler(), USBPrepareForNextSetupTrf(), and USBStdFeatureReqHandler().

#define ADDRESS_STATE   5
 

Definition at line 62 of file usbmmap.h.

Referenced by BlinkUSBStatus(), and USBStdSetCfgHandler().

#define ADR_PENDING_STATE   4
 

Definition at line 61 of file usbmmap.h.

Referenced by USBCheckStdRequest().

#define ATTACHED_STATE   1
 

Definition at line 58 of file usbmmap.h.

Referenced by BlinkUSBStatus(), USBCheckBusStatus(), and USBModuleEnable().

#define CONFIGURED_STATE   6
 

Definition at line 63 of file usbmmap.h.

Referenced by BlinkUSBStatus(), ProcessIO(), and USBStdSetCfgHandler().

#define DEFAULT_STATE   3
 

Definition at line 60 of file usbmmap.h.

Referenced by BlinkUSBStatus(), USBDriverService(), and USBProtocolResetHandler().

#define DETACHED_STATE   0
 

Definition at line 57 of file usbmmap.h.

Referenced by BlinkUSBStatus(), USBDriverService(), and USBModuleDisable().

#define POWERED_STATE   2
 

Definition at line 59 of file usbmmap.h.

Referenced by BlinkUSBStatus(), and USBCheckBusStatus().


Typedef Documentation

typedef union _BD_STAT BD_STAT
 

typedef union _BDT BDT
 

typedef union _USB_DEVICE_STATUS USB_DEVICE_STATUS
 

T Y P E S


Variable Documentation

volatile far CTRL_TRF_DATA CtrlTrfData
 

Definition at line 269 of file usbmmap.c.

Referenced by USBCtrlEPServiceComplete(), USBCtrlTrfRxService(), USBCtrlTrfTxService(), and USBStdGetStatusHandler().

volatile far BDT ep0Bi
 

Definition at line 175 of file usbmmap.c.

Referenced by USBCtrlEPServiceComplete(), USBCtrlTrfInHandler(), USBCtrlTrfTxService(), and USBPrepareForNextSetupTrf().

volatile far BDT ep0Bo
 

U S B F I X E D L O C A T I O N V A R I A B L E S

Definition at line 174 of file usbmmap.c.

Referenced by USBCtrlEPService(), USBCtrlEPServiceComplete(), USBCtrlTrfOutHandler(), USBCtrlTrfRxService(), USBPrepareForNextSetupTrf(), USBStdFeatureReqHandler(), and USBStdGetStatusHandler().

volatile far BDT ep10Bi
 

volatile far BDT ep10Bo
 

volatile far BDT ep11Bi
 

volatile far BDT ep11Bo
 

volatile far BDT ep12Bi
 

volatile far BDT ep12Bo
 

volatile far BDT ep13Bi
 

volatile far BDT ep13Bo
 

volatile far BDT ep14Bi
 

volatile far BDT ep14Bo
 

volatile far BDT ep15Bi
 

volatile far BDT ep15Bo
 

volatile far BDT ep1Bi
 

volatile far BDT ep1Bo
 

volatile far BDT ep2Bi
 

volatile far BDT ep2Bo
 

volatile far BDT ep3Bi
 

volatile far BDT ep3Bo
 

volatile far BDT ep4Bi
 

volatile far BDT ep4Bo
 

volatile far BDT ep5Bi
 

volatile far BDT ep5Bo
 

volatile far BDT ep6Bi
 

volatile far BDT ep6Bo
 

volatile far BDT ep7Bi
 

volatile far BDT ep7Bo
 

volatile far BDT ep8Bi
 

volatile far BDT ep8Bo
 

volatile far BDT ep9Bi
 

volatile far BDT ep9Bo
 

volatile far CTRL_TRF_SETUP SetupPkt
 

Definition at line 268 of file usbmmap.c.

Referenced by USBCheckStdRequest(), USBCtrlEPServiceComplete(), USBPrepareForNextSetupTrf(), USBStdFeatureReqHandler(), USBStdGetDscHandler(), USBStdGetStatusHandler(), and USBStdSetCfgHandler().

byte usb_active_cfg
 

Definition at line 159 of file usbmmap.c.

Referenced by USBCheckStdRequest(), USBProtocolResetHandler(), and USBStdSetCfgHandler().

byte usb_alt_intf[MAX_NUM_INT]
 

Definition at line 160 of file usbmmap.c.

Referenced by USBCheckStdRequest(), and USBStdSetCfgHandler().

byte usb_device_state
 

U S B G L O B A L V A R I A B L E S

Definition at line 157 of file usbmmap.c.

Referenced by BlinkUSBStatus(), ProcessIO(), USBCheckBusStatus(), USBCheckStdRequest(), USBDriverService(), USBModuleDisable(), USBModuleEnable(), USBProtocolResetHandler(), and USBStdSetCfgHandler().

USB_DEVICE_STATUS usb_stat
 

Definition at line 158 of file usbmmap.c.

Referenced by USBCheckStdRequest(), USBCtrlTrfTxService(), USBProtocolResetHandler(), USBRemoteWakeup(), USBStdFeatureReqHandler(), USBStdGetDscHandler(), and USBStdGetStatusHandler().


Generated on Wed Jun 8 03:49:41 2005 for cdc by  doxygen 1.4.2