projects
/
pub
/
USBasp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
New HID report item macros (with HID_RI_ prefix) to allow for easy creation and editi...
[pub/USBasp.git]
/
LUFA
/
Drivers
/
USB
/
HighLevel
/
ConfigDescriptor.h
diff --git
a/LUFA/Drivers/USB/HighLevel/ConfigDescriptor.h
b/LUFA/Drivers/USB/HighLevel/ConfigDescriptor.h
index
7c7540d
..
3ef95a4
100644
(file)
--- a/
LUFA/Drivers/USB/HighLevel/ConfigDescriptor.h
+++ b/
LUFA/Drivers/USB/HighLevel/ConfigDescriptor.h
@@
-1,13
+1,13
@@
/*
LUFA Library
/*
LUFA Library
- Copyright (C) Dean Camera, 201
0
.
+ Copyright (C) Dean Camera, 201
1
.
dean [at] fourwalledcubicle [dot] com
dean [at] fourwalledcubicle [dot] com
- www.fourwalledcubicle.com
+ www.lufa-lib.org
*/
/*
*/
/*
- Copyright 201
0
Dean Camera (dean [at] fourwalledcubicle [dot] com)
+ Copyright 201
1
Dean Camera (dean [at] fourwalledcubicle [dot] com)
Permission to use, copy, modify, distribute, and sell this
software and its documentation for any purpose is hereby granted
Permission to use, copy, modify, distribute, and sell this
software and its documentation for any purpose is hereby granted
@@
-71,7
+71,7
@@
/* Public Interface - May be used in end-application: */
/* Macros: */
/** Mask for determining the type of an endpoint from an endpoint descriptor. This should then be compared
/* Public Interface - May be used in end-application: */
/* Macros: */
/** Mask for determining the type of an endpoint from an endpoint descriptor. This should then be compared
- * with the EP_TYPE_* masks to determine the exact type of the endpoint.
+ * with the
\c
EP_TYPE_* masks to determine the exact type of the endpoint.
*/
#define EP_TYPE_MASK 0x03
*/
#define EP_TYPE_MASK 0x03
@@
-107,10
+107,10
@@
* This value's meaning depends on the descriptor's placement in the descriptor, but standard type
* values can be accessed in the \ref USB_DescriptorTypes_t enum.
*/
* This value's meaning depends on the descriptor's placement in the descriptor, but standard type
* values can be accessed in the \ref USB_DescriptorTypes_t enum.
*/
- #define DESCRIPTOR_TYPE(DescriptorPtr) DESCRIPTOR_
CAST(DescriptorPtr, USB_Descriptor_Header_t).
Type
+ #define DESCRIPTOR_TYPE(DescriptorPtr) DESCRIPTOR_
PCAST(DescriptorPtr, USB_Descriptor_Header_t)->
Type
/** Returns the descriptor's size, expressed as the 8-bit value indicating the number of bytes. */
/** Returns the descriptor's size, expressed as the 8-bit value indicating the number of bytes. */
- #define DESCRIPTOR_SIZE(DescriptorPtr) DESCRIPTOR_
CAST(DescriptorPtr, USB_Descriptor_Header_t).
Size
+ #define DESCRIPTOR_SIZE(DescriptorPtr) DESCRIPTOR_
PCAST(DescriptorPtr, USB_Descriptor_Header_t)->
Size
/* Type Defines: */
/** Type define for a Configuration Descriptor comparator function (function taking a pointer to an array
/* Type Defines: */
/** Type define for a Configuration Descriptor comparator function (function taking a pointer to an array
@@
-152,7
+152,7
@@
{
DESCRIPTOR_SEARCH_COMP_Found = 0, /**< Configuration descriptor now points to descriptor which matches
* search criteria of the given comparator function. */
{
DESCRIPTOR_SEARCH_COMP_Found = 0, /**< Configuration descriptor now points to descriptor which matches
* search criteria of the given comparator function. */
- DESCRIPTOR_SEARCH_COMP_Fail = 1, /**< Comparator function returned
Descriptor_Search
_Fail. */
+ DESCRIPTOR_SEARCH_COMP_Fail = 1, /**< Comparator function returned
\ref DESCRIPTOR_SEARCH
_Fail. */
DESCRIPTOR_SEARCH_COMP_EndOfDescriptor = 2, /**< End of configuration descriptor reached before match found. */
};
DESCRIPTOR_SEARCH_COMP_EndOfDescriptor = 2, /**< End of configuration descriptor reached before match found. */
};
@@
-162,7
+162,7
@@
*
* \param[in] ConfigNumber Device configuration descriptor number to fetch from the device (usually set to 1 for
* single configuration devices).
*
* \param[in] ConfigNumber Device configuration descriptor number to fetch from the device (usually set to 1 for
* single configuration devices).
- * \param[in,out] ConfigSizePtr Pointer to a
uint16_t
for storing the retrieved configuration descriptor size.
+ * \param[in,out] ConfigSizePtr Pointer to a
location
for storing the retrieved configuration descriptor size.
* \param[out] BufferPtr Pointer to the buffer for storing the configuration descriptor data.
* \param[out] BufferSize Size of the allocated buffer where the configuration descriptor is to be stored.
*
* \param[out] BufferPtr Pointer to the buffer for storing the configuration descriptor data.
* \param[out] BufferSize Size of the allocated buffer where the configuration descriptor is to be stored.
*