Subversion Repositories group.electronics

Rev

Rev 89 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 89 Rev 112
Line 8... Line 8...
8
#define USB_CFG_DPLUS_BIT       2
8
#define USB_CFG_DPLUS_BIT       2
9
#define USB_CFG_CLOCK_KHZ       (F_CPU/1000)
9
#define USB_CFG_CLOCK_KHZ       (F_CPU/1000)
10
 
10
 
11
/* --------------------------- Functional Range ---------------------------- */
11
/* --------------------------- Functional Range ---------------------------- */
12
 
12
 
13
#define USB_CFG_HAVE_INTRIN_ENDPOINT    1
13
#define USB_CFG_HAVE_INTRIN_ENDPOINT    0
14
#define USB_CFG_HAVE_INTRIN_ENDPOINT3   0
14
#define USB_CFG_HAVE_INTRIN_ENDPOINT3   0
15
//#define USB_CFG_EP3_NUMBER              3
15
#define USB_CFG_EP3_NUMBER              3
16
#define USB_CFG_IMPLEMENT_HALT          0
16
#define USB_CFG_IMPLEMENT_HALT          0
17
#define USB_CFG_INTR_POLL_INTERVAL      10
17
#define USB_CFG_INTR_POLL_INTERVAL      10
18
#define USB_CFG_IS_SELF_POWERED         0
18
#define USB_CFG_IS_SELF_POWERED         0
19
#define USB_CFG_MAX_BUS_POWER           100
19
#define USB_CFG_MAX_BUS_POWER           100
20
#define USB_CFG_IMPLEMENT_FN_WRITE      0
20
#define USB_CFG_IMPLEMENT_FN_WRITE      0
Line 35... Line 35...
35
#define USB_CFG_DEVICE_NAME_LEN 13
35
#define USB_CFG_DEVICE_NAME_LEN 13
36
/*#define USB_CFG_SERIAL_NUMBER   'N', 'o', 'n', 'e' */
36
/*#define USB_CFG_SERIAL_NUMBER   'N', 'o', 'n', 'e' */
37
/*#define USB_CFG_SERIAL_NUMBER_LEN   0 */
37
/*#define USB_CFG_SERIAL_NUMBER_LEN   0 */
38
#define USB_CFG_DEVICE_CLASS        0
38
#define USB_CFG_DEVICE_CLASS        0
39
#define USB_CFG_DEVICE_SUBCLASS     0
39
#define USB_CFG_DEVICE_SUBCLASS     0
40
#define USB_CFG_INTERFACE_CLASS     3   /* HID */
40
#define USB_CFG_INTERFACE_CLASS     0xff   /* HID */
41
#define USB_CFG_INTERFACE_SUBCLASS  0   /* no boot interface */
41
#define USB_CFG_INTERFACE_SUBCLASS  0   /* no boot interface */
42
#define USB_CFG_INTERFACE_PROTOCOL  0   /* no protocol */
42
#define USB_CFG_INTERFACE_PROTOCOL  0   /* no protocol */
43
#define USB_CFG_HID_REPORT_DESCRIPTOR_LENGTH    HID_SIZE  /* total length of report descriptor */
43
//#define USB_CFG_HID_REPORT_DESCRIPTOR_LENGTH    HID_SIZE  /* total length of report descriptor */
44
/* #define USB_PUBLIC static */
44
/* #define USB_PUBLIC static */
45
 
45
 
46
/* ------------------- Fine Control over USB Descriptors ------------------- */
46
/* ------------------- Fine Control over USB Descriptors ------------------- */
47
 
47
 
48
#define USB_CFG_DESCR_PROPS_DEVICE                  0
48
#define USB_CFG_DESCR_PROPS_DEVICE                  0