aboutsummaryrefslogtreecommitdiffstats
path: root/LUFA/Drivers/USB/LowLevel/LowLevel.h
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2009-05-04 12:55:00 +0000
committerDean Camera <dean@fourwalledcubicle.com>2009-05-04 12:55:00 +0000
commit253deb996f321c59c102a64e17f95d0b5b0a0e6d (patch)
tree4622defda93d203a3d07760ee33e69d68139067b /LUFA/Drivers/USB/LowLevel/LowLevel.h
parentedcfaf7716c978a29ffd082f77587b21bea7a344 (diff)
downloadlufa-253deb996f321c59c102a64e17f95d0b5b0a0e6d.tar.gz
lufa-253deb996f321c59c102a64e17f95d0b5b0a0e6d.tar.bz2
lufa-253deb996f321c59c102a64e17f95d0b5b0a0e6d.zip
Changed PIPE_CONTROLPIPE_DEFAULT_SIZE from 8 to 64 to try to prevent problems with faulty devices which do not respect the given wLength value when reading in the device descriptor.
Further documentation improvements - removed file view from the main library documentation, replaced file references in the documentation with group references.
Diffstat (limited to 'LUFA/Drivers/USB/LowLevel/LowLevel.h')
-rw-r--r--LUFA/Drivers/USB/LowLevel/LowLevel.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/LUFA/Drivers/USB/LowLevel/LowLevel.h b/LUFA/Drivers/USB/LowLevel/LowLevel.h
index ac5cb9ebf..a5adf99f1 100644
--- a/LUFA/Drivers/USB/LowLevel/LowLevel.h
+++ b/LUFA/Drivers/USB/LowLevel/LowLevel.h
@@ -118,7 +118,7 @@
*
* \note This token is not available on AVR models which do not support host mode.
*/
- #define USB_MODE_HOST 2
+ #define USB_MODE_HOST 2
#endif
#if defined(USB_CAN_BE_BOTH) || defined(__DOXYGEN__)
@@ -159,25 +159,25 @@
/** Mask for a CONTROL type endpoint or pipe.
*
- * \note See Endpoint.h and Pipe.h headers for endpoint/pipe functions.
+ * \note See \ref Group_EndpointManagement and \ref Group_PipeManagement for endpoint/pipe functions.
*/
#define EP_TYPE_CONTROL 0x00
/** Mask for an ISOCHRONOUS type endpoint or pipe.
*
- * \note See Endpoint.h and Pipe.h headers for endpoint/pipe functions.
+ * \note See \ref Group_EndpointManagement and \ref Group_PipeManagement for endpoint/pipe functions.
*/
#define EP_TYPE_ISOCHRONOUS 0x01
/** Mask for a BULK type endpoint or pipe.
*
- * \note See Endpoint.h and Pipe.h headers for endpoint/pipe functions.
+ * \note See \ref Group_EndpointManagement and \ref Group_PipeManagement for endpoint/pipe functions.
*/
#define EP_TYPE_BULK 0x02
/** Mask for an INTERRUPT type endpoint or pipe.
*
- * \note See Endpoint.h and Pipe.h headers for endpoint/pipe functions.
+ * \note See \ref Group_EndpointManagement and \ref Group_PipeManagement for endpoint/pipe functions.
*/
#define EP_TYPE_INTERRUPT 0x03
@@ -304,13 +304,13 @@
#endif
#if !defined(USE_STATIC_OPTIONS) || defined(__DOXYGEN__)
- extern volatile uint8_t USB_Options;
/** Indicates the current USB options that the USB interface was initialized with when \ref USB_Init()
* was called. This value will be one of the USB_MODE_* masks defined elsewhere in this module.
*
* \note This variable should be treated as read-only in the user application, and never manually
* changed in value.
*/
+ extern volatile uint8_t USB_Options;
#endif
/* Throwable Events: */