From c5038f1bf44aea75f1ae1ed035cb7d523ccfdacb Mon Sep 17 00:00:00 2001 From: Dean Camera Date: Wed, 5 Aug 2009 06:36:31 +0000 Subject: Renamed all library events to properly seperate out Device and Host mode events. Changed the firing conditions for some events to ensure that events are fired by their own USB mode only. Remove VBUS events - not needed as the library takes care of VBUS detection and feedback on supported AVRs via the USB_Device_Connected and USB_Device_Disconnected events. Fixed incorrect Host state assignment in the incomplete BluetoothHost demo. --- LUFA/Drivers/USB/HighLevel/StdRequestType.h | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'LUFA/Drivers/USB/HighLevel/StdRequestType.h') diff --git a/LUFA/Drivers/USB/HighLevel/StdRequestType.h b/LUFA/Drivers/USB/HighLevel/StdRequestType.h index b9ae04598..c5be544b9 100644 --- a/LUFA/Drivers/USB/HighLevel/StdRequestType.h +++ b/LUFA/Drivers/USB/HighLevel/StdRequestType.h @@ -160,41 +160,41 @@ { REQ_GetStatus = 0, /**< Implemented in the library for device, endpoint and interface * recipients. Passed to the user application for other recipients - * via the \ref EVENT_USB_UnhandledControlPacket() event when received in + * via the \ref EVENT_USB_Device_UnhandledControlRequest() event when received in * device mode. */ REQ_ClearFeature = 1, /**< Implemented in the library for device, endpoint and interface * recipients. Passed to the user application for other recipients - * via the \ref EVENT_USB_UnhandledControlPacket() event when received in + * via the \ref EVENT_USB_Device_UnhandledControlRequest() event when received in * device mode. */ REQ_SetFeature = 3, /**< Implemented in the library for device, endpoint and interface * recipients. Passed to the user application for other recipients - * via the \ref EVENT_USB_UnhandledControlPacket() event when received in + * via the \ref EVENT_USB_Device_UnhandledControlRequest() event when received in * device mode. */ REQ_SetAddress = 5, /**< Implemented in the library for the device recipient. Passed * to the user application for other recipients via the - * \ref EVENT_USB_UnhandledControlPacket() event when received in + * \ref EVENT_USB_Device_UnhandledControlRequest() event when received in * device mode. */ REQ_GetDescriptor = 6, /**< Implemented in the library for all recipients and all request * types. */ REQ_SetDescriptor = 7, /**< Not implemented in the library, passed to the user application - * via the \ref EVENT_USB_UnhandledControlPacket() event when received in + * via the \ref EVENT_USB_Device_UnhandledControlRequest() event when received in * device mode. */ REQ_GetConfiguration = 8, /**< Implemented in the library for the device recipient. Passed * to the user application for other recipients via the - * \ref EVENT_USB_UnhandledControlPacket() event when received in + * \ref EVENT_USB_Device_UnhandledControlRequest() event when received in * device mode. */ REQ_SetConfiguration = 9, /**< Implemented in the library for the device recipient. Passed * to the user application for other recipients via the - * \ref EVENT_USB_UnhandledControlPacket() event when received in + * \ref EVENT_USB_Device_UnhandledControlRequest() event when received in * device mode. */ REQ_GetInterface = 10, /**< Not implemented in the library, passed to the user application - * via the \ref EVENT_USB_UnhandledControlPacket() event when received in + * via the \ref EVENT_USB_Device_UnhandledControlRequest() event when received in * device mode. */ REQ_SetInterface = 11, /**< Not implemented in the library, passed to the user application - * via the \ref EVENT_USB_UnhandledControlPacket() event when received in + * via the \ref EVENT_USB_Device_UnhandledControlRequest() event when received in * device mode. */ REQ_SynchFrame = 12, /**< Not implemented in the library, passed to the user application - * via the \ref EVENT_USB_UnhandledControlPacket() event when received in + * via the \ref EVENT_USB_Device_UnhandledControlRequest() event when received in * device mode. */ }; -- cgit v1.2.3