diff options
author | Christian Starkjohann <cs+github@obdev.at> | 2008-10-18 14:14:44 +0000 |
---|---|---|
committer | Christian Starkjohann <cs+github@obdev.at> | 2008-10-18 14:14:44 +0000 |
commit | 555e1a62542737de249e4b93d6d1addc8bf59c68 (patch) | |
tree | 2bde8bab2860e4598c3ac52dc04f70706abf7fbc /usbdrv | |
parent | 89e5d02eac39326915228b69dac0f4bcc305ff96 (diff) | |
download | v-usb-555e1a62542737de249e4b93d6d1addc8bf59c68.tar.gz v-usb-555e1a62542737de249e4b93d6d1addc8bf59c68.tar.bz2 v-usb-555e1a62542737de249e4b93d6d1addc8bf59c68.zip |
- Added documentation for 12.8 MHz module
Diffstat (limited to 'usbdrv')
-rw-r--r-- | usbdrv/Changelog.txt | 2 | ||||
-rw-r--r-- | usbdrv/usbconfig-prototype.h | 8 | ||||
-rw-r--r-- | usbdrv/usbdrv.h | 4 |
3 files changed, 8 insertions, 6 deletions
diff --git a/usbdrv/Changelog.txt b/usbdrv/Changelog.txt index 7674ebc..31b4d36 100644 --- a/usbdrv/Changelog.txt +++ b/usbdrv/Changelog.txt @@ -246,3 +246,5 @@ Scroll down to the bottom to see the most recent changes. that we need not claim the interface. - in usbPoll() loop 20 times polling for RESET state instead of 10 times. This accounts for the higher clock rates we now support. + - Added a module for 12.8 MHz RC oscillator with PLL in receiver loop. + diff --git a/usbdrv/usbconfig-prototype.h b/usbdrv/usbconfig-prototype.h index 437b3fb..5883461 100644 --- a/usbdrv/usbconfig-prototype.h +++ b/usbdrv/usbconfig-prototype.h @@ -44,10 +44,10 @@ 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, 15000, 16000, 16500 - * and 20000. The 16.5 MHz version of the code requires no crystal, it - * tolerates +/- 1% deviation from the nominal frequency. All other rates - * require a precision of 2000 ppm and thus a crystal! +/* Clock rate of the AVR in MHz. 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 */ diff --git a/usbdrv/usbdrv.h b/usbdrv/usbdrv.h index 6093c8c..bf9418d 100644 --- a/usbdrv/usbdrv.h +++ b/usbdrv/usbdrv.h @@ -34,8 +34,8 @@ usbDeviceConnect() and usbDeviceDisconnect() further down in this file. Please adapt the values in usbconfig.h according to your hardware! -The device MUST be clocked at exactly 12 MHz, 15 MHz or 16 MHz -or at 16.5 MHz +/- 1%. See usbconfig-prototype.h for details. +The device MUST be clocked at exactly 12 MHz, 15 MHz, 16 MHz or 20 MHz +or at 12.8 MHz resp. 16.5 MHz +/- 1%. See usbconfig-prototype.h for details. Limitations: |