aboutsummaryrefslogtreecommitdiffstats
path: root/LUFA/Drivers/USB/Core/ConfigDescriptor.h
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2012-05-20 15:43:51 +0000
committerDean Camera <dean@fourwalledcubicle.com>2012-05-20 15:43:51 +0000
commit063474561de084fbdd8c1ddc02fcce5b8abebe3e (patch)
tree831ba5778a2b6adf6f05be487f91d87ab1c18f2c /LUFA/Drivers/USB/Core/ConfigDescriptor.h
parent666088a38818e371cc8ad89360c960d86b311a49 (diff)
parentb181cf4fb87c289b2aed93e44d03b20b6b9ba623 (diff)
downloadlufa-063474561de084fbdd8c1ddc02fcce5b8abebe3e.tar.gz
lufa-063474561de084fbdd8c1ddc02fcce5b8abebe3e.tar.bz2
lufa-063474561de084fbdd8c1ddc02fcce5b8abebe3e.zip
Merge in latest trunk.
Diffstat (limited to 'LUFA/Drivers/USB/Core/ConfigDescriptor.h')
-rw-r--r--LUFA/Drivers/USB/Core/ConfigDescriptor.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/LUFA/Drivers/USB/Core/ConfigDescriptor.h b/LUFA/Drivers/USB/Core/ConfigDescriptor.h
index 5e97939e7..22e76cba9 100644
--- a/LUFA/Drivers/USB/Core/ConfigDescriptor.h
+++ b/LUFA/Drivers/USB/Core/ConfigDescriptor.h
@@ -76,7 +76,7 @@
* uint8_t* CurrDescriptor = &ConfigDescriptor[0]; // Pointing to the configuration header
* USB_Descriptor_Configuration_Header_t* ConfigHeaderPtr = DESCRIPTOR_PCAST(CurrDescriptor,
* USB_Descriptor_Configuration_Header_t);
- *
+ *
* // Can now access elements of the configuration header struct using the -> indirection operator
* \endcode
*/
@@ -90,7 +90,7 @@
* uint8_t* CurrDescriptor = &ConfigDescriptor[0]; // Pointing to the configuration header
* USB_Descriptor_Configuration_Header_t ConfigHeader = DESCRIPTOR_CAST(CurrDescriptor,
* USB_Descriptor_Configuration_Header_t);
- *
+ *
* // Can now access elements of the configuration header struct using the . operator
* \endcode
*/
@@ -231,7 +231,7 @@
* Usage Example:
* \code
* uint8_t EndpointSearcher(void* CurrentDescriptor); // Comparator Prototype
- *
+ *
* uint8_t EndpointSearcher(void* CurrentDescriptor)
* {
* if (DESCRIPTOR_TYPE(CurrentDescriptor) == DTYPE_Endpoint)
@@ -239,8 +239,9 @@
* else
* return DESCRIPTOR_SEARCH_NotFound;
* }
- *
+ *
* //...
+ *
* // After retrieving configuration descriptor:
* if (USB_Host_GetNextDescriptorComp(&BytesRemaining, &CurrentConfigLoc, EndpointSearcher) ==
* Descriptor_Search_Comp_Found)