aboutsummaryrefslogtreecommitdiffstats
path: root/LUFA/Drivers/USB/HighLevel/USBTask.h
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2009-05-20 14:50:26 +0000
committerDean Camera <dean@fourwalledcubicle.com>2009-05-20 14:50:26 +0000
commitb3a4d8512bcaf0feba16a3cbeeaabfcfeb9cf051 (patch)
tree69cb70f073b336a19d0f11f5bbebc4ffd3a48984 /LUFA/Drivers/USB/HighLevel/USBTask.h
parent59becad82f18c158063ef450d65fefa332857e86 (diff)
downloadlufa-b3a4d8512bcaf0feba16a3cbeeaabfcfeb9cf051.tar.gz
lufa-b3a4d8512bcaf0feba16a3cbeeaabfcfeb9cf051.tar.bz2
lufa-b3a4d8512bcaf0feba16a3cbeeaabfcfeb9cf051.zip
Fixed incorrect PID value being used in the USBtoSerial project (thanks to Phill).
Diffstat (limited to 'LUFA/Drivers/USB/HighLevel/USBTask.h')
-rw-r--r--LUFA/Drivers/USB/HighLevel/USBTask.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/LUFA/Drivers/USB/HighLevel/USBTask.h b/LUFA/Drivers/USB/HighLevel/USBTask.h
index 21b1ae200..1e1209a5f 100644
--- a/LUFA/Drivers/USB/HighLevel/USBTask.h
+++ b/LUFA/Drivers/USB/HighLevel/USBTask.h
@@ -128,14 +128,15 @@
* in device mode) in order to manage USB communications. This task may be executed inside an RTOS,
* scheduler (e.g. the simple LUFA Scheduler), fast timer ISR or the main user application loop.
*
- * The USB task must be serviced within 50mS in all modes, when needed. The task may be serviced
- * at all times, or (for minimum CPU consumption):
+ * The USB task must be serviced within 30ms while in device mode, or within 1ms while in host mode.
+ * The task may be serviced at all times, or (for minimum CPU consumption):
*
* - In device mode, it may be disabled at start-up, enabled on the firing of the \ref EVENT_USB_Connect() event
* and disabled again on the firing of the \ref EVENT_USB_Disconnect() event.
*
* - In host mode, it may be disabled at start-up, enabled on the firing of the \ref EVENT_USB_DeviceAttached()
- * event and disabled again on the firing of the \ref EVENT_USB_DeviceUnattached() event.
+ * event and disabled again on the firing of the \ref EVENT_USB_DeviceEnumerationComplete() or
+ * \ref EVENT_USB_DeviceEnumerationFailed() events.
*
* If in device mode (only), the control endpoint can instead be managed via interrupts entirely by the library
* by defining the INTERRUPT_CONTROL_ENDPOINT token and passing it to the compiler via the -D switch.