diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2009-05-19 10:33:29 +0000 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2009-05-19 10:33:29 +0000 |
commit | 4a8ac5e474741f14492597880e751b3f806cb965 (patch) | |
tree | edbead7bd150e132e8539720f243685bfa91469d /LUFA/Drivers/USB/LowLevel/Pipe.h | |
parent | 2ee9fc707784e115d744dbc229bdc893f4bb6bc1 (diff) | |
download | lufa-4a8ac5e474741f14492597880e751b3f806cb965.tar.gz lufa-4a8ac5e474741f14492597880e751b3f806cb965.tar.bz2 lufa-4a8ac5e474741f14492597880e751b3f806cb965.zip |
USB_IsConnected is now cleared before the USB_Disconnect() event is fired in response to VBUS being removed.
Minor documentation improvements.
Diffstat (limited to 'LUFA/Drivers/USB/LowLevel/Pipe.h')
-rw-r--r-- | LUFA/Drivers/USB/LowLevel/Pipe.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/LUFA/Drivers/USB/LowLevel/Pipe.h b/LUFA/Drivers/USB/LowLevel/Pipe.h index befc996a2..f3da9d1ce 100644 --- a/LUFA/Drivers/USB/LowLevel/Pipe.h +++ b/LUFA/Drivers/USB/LowLevel/Pipe.h @@ -709,7 +709,8 @@ /* Function Prototypes: */
/** Configures the specified pipe number with the given pipe type, token, target endpoint number in the
* attached device, bank size and banking mode. Pipes should be allocated in ascending order by their
- * address in the device (i.e. pipe 1 should be configured before pipe 2 and so on).
+ * address in the device (i.e. pipe 1 should be configured before pipe 2 and so on) to prevent fragmentation
+ * of the USB FIFO memory.
*
* The pipe type may be one of the EP_TYPE_* macros listed in LowLevel.h, the token may be one of the
* PIPE_TOKEN_* masks.
@@ -722,6 +723,9 @@ *
* A newly configured pipe is frozen by default, and must be unfrozen before use via the \ref Pipe_Unfreeze() macro.
*
+ * \note The default control pipe does not have to be manually configured, as it is automatically
+ * configured by the library internally.
+ *
* \note This routine will select the specified pipe, and the pipe will remain selected once the
* routine completes regardless of if the pipe configuration succeeds.
*
|