diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2009-06-20 11:43:26 +0000 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2009-06-20 11:43:26 +0000 |
commit | 00d0883507efdc17688abafa75e81bf62f83d777 (patch) | |
tree | efdf229555604f3c092557ac7ce638cf838dbdb2 /LUFA/Drivers/USB/HighLevel/StdDescriptors.h | |
parent | 35bdada24b49c4dd1900a78a1595077b99814cf9 (diff) | |
download | lufa-00d0883507efdc17688abafa75e81bf62f83d777.tar.gz lufa-00d0883507efdc17688abafa75e81bf62f83d777.tar.bz2 lufa-00d0883507efdc17688abafa75e81bf62f83d777.zip |
Added USE_INTERNAL_SERIAL compile time option to automatically read out the internal unique serial number as the device's serial number descriptor on supported AVR models.
Diffstat (limited to 'LUFA/Drivers/USB/HighLevel/StdDescriptors.h')
-rw-r--r-- | LUFA/Drivers/USB/HighLevel/StdDescriptors.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/LUFA/Drivers/USB/HighLevel/StdDescriptors.h b/LUFA/Drivers/USB/HighLevel/StdDescriptors.h index 7a0ca52b3..2ce75b2d9 100644 --- a/LUFA/Drivers/USB/HighLevel/StdDescriptors.h +++ b/LUFA/Drivers/USB/HighLevel/StdDescriptors.h @@ -244,7 +244,13 @@ */
uint8_t SerialNumStrIndex; /**< String index for the product's globally unique hexadecimal
* serial number, in uppercase Unicode ASCII.
- *
+ *
+ * \note On some AVR models, there is an embedded serial number
+ * in the chip which can be used for the device serial number.
+ * To use this serial number, define USE_INTERNAL_SERIAL to a
+ * unique string index number in the project makefile and set
+ * this value to USE_INTERNAL_SERIAL.
+ *
* \see ManufacturerStrIndex structure entry.
*/
|