Subversion Repositories group.electronics

Rev

Rev 39 | Rev 96 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 39 Rev 94
Line 4... Line 4...
4
/* ---------------------------- Hardware Config ---------------------------- */
4
/* ---------------------------- Hardware Config ---------------------------- */
5
 
5
 
6
#define USB_CFG_IOPORTNAME      D
6
#define USB_CFG_IOPORTNAME      D
7
#define USB_CFG_DMINUS_BIT      3
7
#define USB_CFG_DMINUS_BIT      3
8
#define USB_CFG_DPLUS_BIT       2
8
#define USB_CFG_DPLUS_BIT       2
9
#define USB_CFG_CLOCK_KHZ       12000
9
#define USB_CFG_CLOCK_KHZ       (F_CPU/1000)
10
#define USB_CFG_CHECK_CRC       0
10
#define USB_CFG_CHECK_CRC       0
11
 
11
 
12
/* ----------------------- Optional Hardware Config ------------------------ */
12
/* ----------------------- Optional Hardware Config ------------------------ */
13
 
13
 
14
/* #define USB_CFG_PULLUP_IOPORTNAME   D */
14
/* #define USB_CFG_PULLUP_IOPORTNAME   D */
Line 53... Line 53...
53
#define USB_CFG_DEVICE_CLASS        0    /* set to 0 if deferred to interface */
53
#define USB_CFG_DEVICE_CLASS        0    /* set to 0 if deferred to interface */
54
#define USB_CFG_DEVICE_SUBCLASS     0
54
#define USB_CFG_DEVICE_SUBCLASS     0
55
#define USB_CFG_INTERFACE_CLASS     3   /* HID */
55
#define USB_CFG_INTERFACE_CLASS     3   /* HID */
56
#define USB_CFG_INTERFACE_SUBCLASS  0	/* no boot interface */
56
#define USB_CFG_INTERFACE_SUBCLASS  0	/* no boot interface */
57
#define USB_CFG_INTERFACE_PROTOCOL  0	/* no protocol */
57
#define USB_CFG_INTERFACE_PROTOCOL  0	/* no protocol */
58
#define USB_CFG_HID_REPORT_DESCRIPTOR_LENGTH    81
58
#define USB_CFG_HID_REPORT_DESCRIPTOR_LENGTH    HID_SIZE
59
/* #define USB_PUBLIC static */
59
/* #define USB_PUBLIC static */
60
 
60
 
61
#define USB_CFG_DESCR_PROPS_DEVICE                  0
61
#define USB_CFG_DESCR_PROPS_DEVICE                  0
62
#define USB_CFG_DESCR_PROPS_CONFIGURATION           0
62
#define USB_CFG_DESCR_PROPS_CONFIGURATION           0
63
#define USB_CFG_DESCR_PROPS_STRINGS                 0
63
#define USB_CFG_DESCR_PROPS_STRINGS                 0