Line 36... |
Line 36... |
36 |
*/ |
36 |
*/ |
37 |
#else |
37 |
#else |
38 |
#define USB_CFG_IOPORTNAME B |
38 |
#define USB_CFG_IOPORTNAME B |
39 |
#define USB_CFG_DMINUS_BIT 0 |
39 |
#define USB_CFG_DMINUS_BIT 0 |
40 |
#define USB_CFG_DPLUS_BIT 2 |
40 |
#define USB_CFG_DPLUS_BIT 2 |
- |
|
41 |
|
- |
|
42 |
/*#define USB_CFG_CLOCK_KHZ (F_CPU/1000) |
- |
|
43 |
/* Clock rate of the AVR in kHz. Legal values are 12000, 12800, 15000, 16000, |
- |
|
44 |
* 16500, 18000 and 20000. The 12.8 MHz and 16.5 MHz versions of the code |
- |
|
45 |
* require no crystal, they tolerate +/- 1% deviation from the nominal |
- |
|
46 |
* frequency. All other rates require a precision of 2000 ppm and thus a |
- |
|
47 |
* crystal! |
- |
|
48 |
* Since F_CPU should be defined to your actual clock rate anyway, you should |
- |
|
49 |
* not need to modify this setting. |
- |
|
50 |
*/ |
- |
|
51 |
/*#define USB_CFG_CHECK_CRC 0 |
- |
|
52 |
/* Define this to 1 if you want that the driver checks integrity of incoming |
- |
|
53 |
* data packets (CRC checks). CRC checks cost quite a bit of code size and are |
- |
|
54 |
* currently only available for 18 MHz crystal clock. You must choose |
- |
|
55 |
* USB_CFG_CLOCK_KHZ = 18000 if you enable this option. |
- |
|
56 |
*/ |
- |
|
57 |
|
41 |
#endif |
58 |
#endif |
42 |
|
59 |
|
43 |
/* --------------------------- Functional Range ---------------------------- */ |
60 |
/* --------------------------- Functional Range ---------------------------- */ |
44 |
|
61 |
|
45 |
#define USB_CFG_HAVE_INTRIN_ENDPOINT 0 |
62 |
#define USB_CFG_HAVE_INTRIN_ENDPOINT 0 |