projects
/
pub
/
USBasp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixed GenericHIDHost demo report write routine incorrect for control type requests...
[pub/USBasp.git]
/
LUFA
/
Drivers
/
USB
/
Class
/
ConfigDescriptor.h
diff --git
a/LUFA/Drivers/USB/Class/ConfigDescriptor.h
b/LUFA/Drivers/USB/Class/ConfigDescriptor.h
index
bd92b51
..
d5fcbb0
100644
(file)
--- a/
LUFA/Drivers/USB/Class/ConfigDescriptor.h
+++ b/
LUFA/Drivers/USB/Class/ConfigDescriptor.h
@@
-35,6
+35,14
@@
* and other descriptor data can be extracted and used as needed.
\r
*/
\r
\r
* and other descriptor data can be extracted and used as needed.
\r
*/
\r
\r
+/** \ingroup Group_Descriptors
\r
+ * @defgroup Group_ConfigDescriptorParser Configuration Descriptor Parser
\r
+ *
\r
+ * Functions, macros, variables, enums and types related to the parsing of Configuration Descriptors.
\r
+ *
\r
+ * @{
\r
+ */
\r
+
\r
#ifndef __CONFIGDESCRIPTOR_H__
\r
#define __CONFIGDESCRIPTOR_H__
\r
\r
#ifndef __CONFIGDESCRIPTOR_H__
\r
#define __CONFIGDESCRIPTOR_H__
\r
\r
@@
-109,7
+117,7
@@
* for certain descriptors matching unique criteria.
\r
*
\r
* Comparator routines are passed in a single pointer named CurrentDescriptor, and should return a value
\r
* for certain descriptors matching unique criteria.
\r
*
\r
* Comparator routines are passed in a single pointer named CurrentDescriptor, and should return a value
\r
- * of a member of the DS
EARCH
_Return_ErrorCodes_t enum.
\r
+ * of a member of the DS
earch
_Return_ErrorCodes_t enum.
\r
*/
\r
#define DESCRIPTOR_COMPARATOR(name) uint8_t DCOMP_##name (void* const CurrentDescriptor)
\r
\r
*/
\r
#define DESCRIPTOR_COMPARATOR(name) uint8_t DCOMP_##name (void* const CurrentDescriptor)
\r
\r
@@
-124,7
+132,7
@@
* \param DPos Pointer to the current position in the configuration descriptor
\r
* \param DSearch Name of the comparator search function to use on the configuration descriptor
\r
*
\r
* \param DPos Pointer to the current position in the configuration descriptor
\r
* \param DSearch Name of the comparator search function to use on the configuration descriptor
\r
*
\r
- * \return Value of one of the members of the DS
EARCH
_Comp_Return_ErrorCodes_t enum
\r
+ * \return Value of one of the members of the DS
earch
_Comp_Return_ErrorCodes_t enum
\r
*
\r
* Usage Example:
\r
* \code
\r
*
\r
* Usage Example:
\r
* \code
\r
@@
-151,7
+159,7
@@
USB_Host_GetNextDescriptorComp_P(DSize, DPos, DCOMP_##DSearch)
\r
/* Enums: */
\r
/** Enum for return values of a descriptor comparator made with DESCRIPTOR_COMPARATOR. */
\r
USB_Host_GetNextDescriptorComp_P(DSize, DPos, DCOMP_##DSearch)
\r
/* Enums: */
\r
/** Enum for return values of a descriptor comparator made with DESCRIPTOR_COMPARATOR. */
\r
- enum DS
EARCH
_Return_ErrorCodes_t
\r
+ enum DS
earch
_Return_ErrorCodes_t
\r
{
\r
Descriptor_Search_Found = 0, /**< Current descriptor matches comparator criteria. */
\r
Descriptor_Search_Fail = 1, /**< No further descriptor could possibly match criteria, fail the search. */
\r
{
\r
Descriptor_Search_Found = 0, /**< Current descriptor matches comparator criteria. */
\r
Descriptor_Search_Fail = 1, /**< No further descriptor could possibly match criteria, fail the search. */
\r
@@
-159,7
+167,7
@@
};
\r
\r
/** Enum for return values of USB_Host_GetNextDescriptorComp() */
\r
};
\r
\r
/** Enum for return values of USB_Host_GetNextDescriptorComp() */
\r
- enum DS
EARCH
_Comp_Return_ErrorCodes_t
\r
+ enum DS
earch
_Comp_Return_ErrorCodes_t
\r
{
\r
Descriptor_Search_Comp_Found = 0, /**< Configuration descriptor now points to descriptor which matches
\r
* search criteria of the given comparator function. */
\r
{
\r
Descriptor_Search_Comp_Found = 0, /**< Configuration descriptor now points to descriptor which matches
\r
* search criteria of the given comparator function. */
\r
@@
-259,5
+267,7
@@
#if defined(__cplusplus)
\r
}
\r
#endif
\r
#if defined(__cplusplus)
\r
}
\r
#endif
\r
-
\r
+
\r
#endif
\r
#endif
\r
+
\r
+/** @} */
\r