this software.\r
*/\r
\r
-/** Library events module. This module contains macros and functions relating to the management of library\r
- * events, which are small pieces of code similar to ISRs which are run when a given condition is met. Each\r
- * event can be fired from multiple places in the user or library code, which may or may not be inside an ISR,\r
- * thus each handler should be written to be as small and fast as possible to prevent possible problems.\r
+/** \ingroup Group_USB\r
+ * @defgroup Group_Events USB Events\r
+ *\r
+ * This module contains macros and functions relating to the management of library events, which are small\r
+ * pieces of code similar to ISRs which are run when a given condition is met. Each event can be fired from\r
+ * multiple places in the user or library code, which may or may not be inside an ISR, thus each handler\r
+ * should be written to be as small and fast as possible to prevent possible problems.\r
*\r
* Events can be hooked by the user application using the EVENT_HANDLER() and HANDLES_EVENT() macros. If an\r
* event with no associated handler is fired within the library, it by default fires an internal empty stub\r
* function. This is achieved through the use of the GCC compiler's "alias" attribute.\r
*\r
* Each event must only have one associated event handler, but can be raised by multiple sources.\r
+ *\r
+ * @{\r
*/\r
\r
#ifndef __USBEVENTS_H__\r
* parameters (wValue, wIndex, wLength, and Data) remain in the control endpoint bank until\r
* read out by the user application for processing.\r
*/\r
- void USB_UnhandledControlPacket(const uint8_t bRequest, const uint8_t bmRequestType);\r
+ void USB_UnhandledControlPacket(void);\r
\r
/** Event for USB configuration number changed. This event fires when a the USB host changes the\r
* selected configuration number while in device mode. This event should be hooked in device\r
#endif\r
\r
#if defined(USB_CAN_BE_DEVICE)\r
- #define USB_UnhandledControlPacket_P (const uint8_t bRequest, const uint8_t bmRequestType)\r
+ #define USB_UnhandledControlPacket_P (void)\r
#define USB_ConfigurationChanged_P (void)\r
#define USB_Suspend_P (void)\r
#define USB_WakeUp_P (void)\r
#if defined(__cplusplus)\r
}\r
#endif\r
- \r
+ \r
#endif\r
+\r
+/** @} */\r