Fixed incorrect values of USB_CONFIG_ATTR_SELFPOWERED and USB_CONFIG_ATTR_REMOTEWAKEU...
authorDean Camera <dean@fourwalledcubicle.com>
Mon, 1 Feb 2010 12:35:48 +0000 (12:35 +0000)
committerDean Camera <dean@fourwalledcubicle.com>
Mon, 1 Feb 2010 12:35:48 +0000 (12:35 +0000)
Mark the AVRISP-MKII project descriptors as being both Bus Powered and Device Powered.

Copy over file level documentation of the peripheral drivers to the module level documentation.

LUFA/Doxygen.conf
LUFA/Drivers/Peripheral/AVRU4U6U7/ADC.h
LUFA/Drivers/Peripheral/AVRU4U6U7/TWI.h
LUFA/Drivers/USB/HighLevel/StdDescriptors.h
LUFA/ManPages/ChangeLog.txt
Projects/AVRISP-MKII/Descriptors.c

index 3497d34..5a15bd7 100644 (file)
@@ -496,7 +496,7 @@ SHOW_DIRECTORIES       = YES
 # This will remove the Files entry from the Quick Index and from the\r
 # Folder Tree View (if specified). The default is YES.\r
 \r
-SHOW_FILES             = NO\r
+SHOW_FILES             = YES\r
 \r
 # Set the SHOW_NAMESPACES tag to NO to disable the generation of the\r
 # Namespaces page.\r
index 100f2c1..a7414ec 100644 (file)
 /** \ingroup Group_ADC\r
  *  @defgroup Group_ADC_AVRU4U6U7 Series U4, U6 and U7 Model ADC Driver\r
  *\r
+ *  ADC driver for the AT90USB1287, AT90USB1286, AT90USB647, AT90USB646, ATMEGA16U4 and ATMEGA32U4 AVRs.\r
+ *\r
+ *  \note This file should not be included directly. It is automatically included as needed by the ADC driver\r
+ *        dispatch header located in LUFA/Drivers/Peripheral/ADC.h.\r
+ *\r
  *  @{\r
  */\r
  \r
index b4e1133..be905fe 100644 (file)
 /** \ingroup Group_TWI\r
  *  @defgroup Group_TWI_AVRU4U6U7 Series U4, U6 and U7 Model TWI Driver\r
  *\r
+ *  Master mode TWI driver for the AT90USB1287, AT90USB1286, AT90USB647, AT90USB646, ATMEGA16U4 and ATMEGA32U4 AVRs.\r
+ *\r
+ *  \note This file should not be included directly. It is automatically included as needed by the TWI driver\r
+ *        dispatch header located in LUFA/Drivers/Peripheral/TWI.h.\r
+ *\r
  *  @{\r
  */\r
 \r
index 008bbb8..404a44f 100644 (file)
                         *  descriptor's ConfigAttributes value to indicate that the specified configuration can draw its power\r
                         *  from the device's own power source.\r
                         */\r
-                       #define USB_CONFIG_ATTR_SELFPOWERED       0xC0\r
+                       #define USB_CONFIG_ATTR_SELFPOWERED       0x40\r
 \r
                        /** Can be masked with other configuration descriptor attributes for a \ref USB_Descriptor_Configuration_Header_t\r
                         *  descriptor's ConfigAttributes value to indicate that the specified configuration supports the\r
                         *  remote wakeup feature of the USB standard, allowing a suspended USB device to wake up the host upon\r
                         *  request.\r
                         */\r
-                       #define USB_CONFIG_ATTR_REMOTEWAKEUP      0xA0\r
+                       #define USB_CONFIG_ATTR_REMOTEWAKEUP      0x20\r
 \r
                        /** Can be masked with other endpoint descriptor attributes for a \ref USB_Descriptor_Endpoint_t descriptor's\r
                         *  Attributes value to indicate that the specified endpoint is not synchronized.\r
index e5cc7c9..63ffaec 100644 (file)
@@ -50,6 +50,7 @@
   *  - Fixed CDC and RNDIS host demos and class drivers - bidirectional endpoints should use two seperate pipes, not one half-duplex pipe\r
   *  - Fixed Pipe_IsEndpointBound() not taking the endpoint's direction into account\r
   *  - Fixed EEPROM and FLASH ISP programming in the AVRISP project\r
+  *  - Fixed incorrect values of USB_CONFIG_ATTR_SELFPOWERED and USB_CONFIG_ATTR_REMOTEWAKEUP tokens (thanks to Claus Christensen)\r
   *\r
   *  \section Sec_ChangeLog091223 Version 091223\r
   *\r
index 6ab6092..bdc198a 100644 (file)
@@ -81,7 +81,7 @@ USB_Descriptor_Configuration_t PROGMEM ConfigurationDescriptor =
                        .ConfigurationNumber    = 1,\r
                        .ConfigurationStrIndex  = NO_DESCRIPTOR,\r
                                \r
-                       .ConfigAttributes       = USB_CONFIG_ATTR_SELFPOWERED,\r
+                       .ConfigAttributes       = (USB_CONFIG_ATTR_BUSPOWERED | USB_CONFIG_ATTR_SELFPOWERED),\r
                        \r
                        .MaxPowerConsumption    = USB_CONFIG_POWER_MA(100)\r
                },\r