- /** This module raises the VBUS Connect event when the VBUS line is powered.\r
- *\r
- * \note Not all USB AVR models support VBUS interrupts; this event only exists on supported AVRs.\r
- *\r
- * \see \ref Group_Events for more information on this event.\r
- */\r
- RAISES_EVENT(USB_VBUSConnect);\r
-\r
- /** This module raises the VBUS Disconnect event when power is removed from the VBUS line.\r
- *\r
- * \note Not all USB AVR models support VBUS interrupts; this event only exists on supported AVRs.\r
- *\r
- * \see \ref Group_Events for more information on this event.\r
- */\r
- RAISES_EVENT(USB_VBUSDisconnect);\r
- #endif\r
-\r
- #if defined(USB_CAN_BE_DEVICE) || defined(__DOXYGEN__)\r
- /** This module raises the Suspended event when the host suspends the USB interface of the AVR\r
- * whilst running in device mode.\r
- *\r
- * \see \ref Group_Events for more information on this event.\r
- */\r
- RAISES_EVENT(USB_Suspend);\r
-\r
- /** This module raises the Wake Up event when the host resumes the USB interface of the AVR\r
- * whilst running in device mode.\r
- *\r
- * \see \ref Group_Events for more information on this event.\r
- */\r
- RAISES_EVENT(USB_WakeUp);\r
-\r
- /** This module raises the USB Reset event when the host resets the USB interface of the AVR\r
- * whilst running in device mode.\r
- *\r
- * \see \ref Group_Events for more information on this event.\r
- */\r
- RAISES_EVENT(USB_Reset);\r
- #endif\r
- \r
- #if defined(USB_CAN_BE_HOST) || defined(__DOXYGEN__)\r
- /** This module raises the Host Error event when the VBUS line voltage dips below the minimum threshold\r
- * while running in host mode.\r
- *\r
- * \note Not all USB AVR models support host mode; this event only exists on supported AVRs.\r
- *\r
- * \see \ref Group_Events for more information on this event.\r
- */\r
- RAISES_EVENT(USB_HostError);\r
-\r
- /** This module raises the Device Unattached event when an attached device is removed from the AVR whilst\r
- * running in host mode.\r
- *\r
- * \note Not all USB AVR models support host mode; this event only exists on supported AVRs.\r
- *\r
- * \see \ref Group_Events for more information on this event.\r
- */\r
- RAISES_EVENT(USB_DeviceUnattached);\r
- #endif\r
-\r
- #if defined(USB_CAN_BE_BOTH) || defined(__DOXYGEN__)\r
- /** This module raises the UID Change event when the UID line changes in value on dual-role devices.\r
- *\r
- * \note Not all USB AVR models support host mode and thus the UID pin; this event only exists on\r
- * supported AVRs.\r
- *\r
- * \see \ref Group_Events for more information on this event.\r
- */\r
- RAISES_EVENT(USB_UIDChange);\r
- #endif\r
- \r
- /* Private Interface - For use in library only: */\r
- #if !defined(__DOXYGEN__)\r
- /* Macros: */\r