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/Endpoint.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/Endpoint.h')
-rw-r--r-- | LUFA/Drivers/USB/LowLevel/Endpoint.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/LUFA/Drivers/USB/LowLevel/Endpoint.h b/LUFA/Drivers/USB/LowLevel/Endpoint.h index bf3384848..323559320 100644 --- a/LUFA/Drivers/USB/LowLevel/Endpoint.h +++ b/LUFA/Drivers/USB/LowLevel/Endpoint.h @@ -671,7 +671,8 @@ /* Function Prototypes: */
/** Configures the specified endpoint number with the given endpoint type, direction, bank size
* and banking mode. Endpoints should be allocated in ascending order by their address in the
- * device (i.e. endpoint 1 should be configured before endpoint 2 and so on).
+ * device (i.e. endpoint 1 should be configured before endpoint 2 and so on) to prevent fragmentation
+ * of the USB FIFO memory.
*
* The endpoint type may be one of the EP_TYPE_* macros listed in LowLevel.h and the direction
* may be either \ref ENDPOINT_DIR_OUT or \ref ENDPOINT_DIR_IN.
@@ -682,7 +683,8 @@ *
* The banking mode may be either \ref ENDPOINT_BANK_SINGLE or \ref ENDPOINT_BANK_DOUBLE.
*
- * The success of this routine can be determined via the \ref Endpoint_IsConfigured() macro.
+ * \note The default control endpoint does not have to be manually configured, as it is automatically
+ * configured by the library internally.
*
* \note This routine will select the specified endpoint, and the endpoint will remain selected
* once the routine completes regardless of if the endpoint configuration succeeds.
|