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

usbdsc.c File Reference

#include "system\typedefs.h"
#include "system\usb\usb.h"

Go to the source code of this file.

Variables

rom USB_DEV_DSC device_dsc
 CFG01
struct {
   byte   bLength
   byte   bDscType
   word   string [1]
sd000
struct {
   byte   bLength
   byte   bDscType
   word   string [25]
sd001
struct {
   byte   bLength
   byte   bDscType
   word   string [25]
sd002
rom const unsigned char *rom USB_CD_Ptr [] = {&cfg01,&cfg01}
rom const unsigned char *rom USB_SD_Ptr [] = {&sd000,&sd001,&sd002}
rom pFunc ClassReqHandler [1]


Variable Documentation

byte bDscType
 

Definition at line 255 of file usbdsc.c.

byte bLength
 

Definition at line 255 of file usbdsc.c.

CFG01
 

Definition at line 199 of file usbdsc.c.

rom pFunc ClassReqHandler[1]
 

Initial value:

Definition at line 263 of file usbdsc.c.

Referenced by USBCtrlTrfSetupHandler().

rom USB_DEV_DSC device_dsc
 

Initial value:

{    
    sizeof(USB_DEV_DSC),    
    DSC_DEV,                
    0x0200,                 
    CDC_DEVICE,             
    0x00,                   
    0x00,                   
    EP0_BUFF_SIZE,          
    0x04D8,                 
    0x000A,                 
    0x0000,                 
    0x01,                   
    0x02,                   
    0x00,                   
    0x01                    
}
C O N S T A N T S

Definition at line 180 of file usbdsc.c.

Referenced by USBStdGetDscHandler().

rom { ... } sd000
 

rom { ... } sd001
 

rom { ... } sd002
 

word string[25]
 

Definition at line 255 of file usbdsc.c.

rom const unsigned char* rom USB_CD_Ptr[] = {&cfg01,&cfg01}
 

Definition at line 260 of file usbdsc.c.

Referenced by USBStdGetDscHandler().

rom const unsigned char* rom USB_SD_Ptr[] = {&sd000,&sd001,&sd002}
 

Definition at line 261 of file usbdsc.c.

Referenced by USBStdGetDscHandler().


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