diff options
author | Christian Starkjohann <cs+github@obdev.at> | 2009-03-16 19:03:57 +0000 |
---|---|---|
committer | Christian Starkjohann <cs+github@obdev.at> | 2009-03-16 19:03:57 +0000 |
commit | 094af06e3cf8a72037675995ad4357d1d5bd67a2 (patch) | |
tree | 576ef901be18402ac46c2c74f569ec921a09c791 /usbdrv/usbconfig-prototype.h | |
parent | ac40a9b5aa66c3a450579d5d203b3aded297fa20 (diff) | |
download | v-usb-094af06e3cf8a72037675995ad4357d1d5bd67a2.tar.gz v-usb-094af06e3cf8a72037675995ad4357d1d5bd67a2.tar.bz2 v-usb-094af06e3cf8a72037675995ad4357d1d5bd67a2.zip |
- integrated 18 MHz module with CRC check
Diffstat (limited to 'usbdrv/usbconfig-prototype.h')
-rw-r--r-- | usbdrv/usbconfig-prototype.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/usbdrv/usbconfig-prototype.h b/usbdrv/usbconfig-prototype.h index d125739..21b7ada 100644 --- a/usbdrv/usbconfig-prototype.h +++ b/usbdrv/usbconfig-prototype.h @@ -44,12 +44,18 @@ section at the end of this file). * markers every millisecond.] */ #define USB_CFG_CLOCK_KHZ (F_CPU/1000) -/* Clock rate of the AVR in MHz. Legal values are 12000, 12800, 15000, 16000, +/* Clock rate of the AVR in kHz. Legal values are 12000, 12800, 15000, 16000, * 16500 and 20000. The 12.8 MHz and 16.5 MHz versions of the code require no * crystal, they tolerate +/- 1% deviation from the nominal frequency. All * other rates require a precision of 2000 ppm and thus a crystal! * Default if not specified: 12 MHz */ +#define USB_CFG_CHECK_CRC 0 +/* Define this to 1 if you want that the driver checks data integrity of data + * packets (CRC checks). CRC checks cost quite a bit of code size and are + * currently only available for 18 MHz crystal clock. You must choose + * USB_CFG_CLOCK_KHZ = 18000 if you enable this option. + */ /* ----------------------- Optional Hardware Config ------------------------ */ |