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

usbcfg.h File Reference

Go to the source code of this file.

Defines

#define EP0_BUFF_SIZE   8
#define MAX_NUM_INT   1
#define MODE_PP   _PPBM0
#define UCFG_VAL   _PUEN|_TRINT|_FS|MODE_PP
#define USE_SELF_POWER_SENSE_IO
#define USE_USB_BUS_SENSE_IO
#define USB_USE_CDC
#define MUID_NULL   0
#define MUID_USB9   1
#define MUID_HID   2
#define MUID_CDC   3
#define MUID_MSD   4
#define CDC_COMM_INTF_ID   0x00
#define CDC_COMM_UEP   UEP2
#define CDC_INT_BD_IN   ep2Bi
#define CDC_INT_EP_SIZE   8
#define CDC_DATA_INTF_ID   0x01
#define CDC_DATA_UEP   UEP3
#define CDC_BULK_BD_OUT   ep3Bo
#define CDC_BULK_OUT_EP_SIZE   64
#define CDC_BULK_BD_IN   ep3Bi
#define CDC_BULK_IN_EP_SIZE   64
#define MAX_EP_NUMBER   3


Define Documentation

#define CDC_BULK_BD_IN   ep3Bi
 

Definition at line 77 of file usbcfg.h.

#define CDC_BULK_BD_OUT   ep3Bo
 

Definition at line 75 of file usbcfg.h.

#define CDC_BULK_IN_EP_SIZE   64
 

Definition at line 78 of file usbcfg.h.

#define CDC_BULK_OUT_EP_SIZE   64
 

Definition at line 76 of file usbcfg.h.

#define CDC_COMM_INTF_ID   0x00
 

E N D P O I N T S A L L O C A T I O N

Definition at line 68 of file usbcfg.h.

#define CDC_COMM_UEP   UEP2
 

Definition at line 69 of file usbcfg.h.

#define CDC_DATA_INTF_ID   0x01
 

Definition at line 73 of file usbcfg.h.

#define CDC_DATA_UEP   UEP3
 

Definition at line 74 of file usbcfg.h.

#define CDC_INT_BD_IN   ep2Bi
 

Definition at line 70 of file usbcfg.h.

#define CDC_INT_EP_SIZE   8
 

Definition at line 71 of file usbcfg.h.

#define EP0_BUFF_SIZE   8
 

D E F I N I T I O N S

Definition at line 38 of file usbcfg.h.

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

#define MAX_EP_NUMBER   3
 

Definition at line 80 of file usbcfg.h.

#define MAX_NUM_INT   1
 

Definition at line 39 of file usbcfg.h.

Referenced by USBStdSetCfgHandler().

#define MODE_PP   _PPBM0
 

Definition at line 42 of file usbcfg.h.

#define MUID_CDC   3
 

Definition at line 59 of file usbcfg.h.

#define MUID_HID   2
 

Definition at line 58 of file usbcfg.h.

#define MUID_MSD   4
 

Definition at line 60 of file usbcfg.h.

#define MUID_NULL   0
 

Definition at line 56 of file usbcfg.h.

Referenced by USBCtrlEPServiceComplete(), and USBCtrlTrfSetupHandler().

#define MUID_USB9   1
 

Definition at line 57 of file usbcfg.h.

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

#define UCFG_VAL   _PUEN|_TRINT|_FS|MODE_PP
 

Definition at line 43 of file usbcfg.h.

#define USB_USE_CDC
 

D E V I C E C L A S S U S A G E

Definition at line 49 of file usbcfg.h.

#define USE_SELF_POWER_SENSE_IO
 

Definition at line 45 of file usbcfg.h.

#define USE_USB_BUS_SENSE_IO
 

Definition at line 46 of file usbcfg.h.


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