More minor renaming of library enums and events to try to create a consistent API.
[pub/USBasp.git] / LUFA / Drivers / USB / LowLevel / LowLevel.h
index 3bf4137..6cc3b22 100644 (file)
                        /** Enum for error codes relating to the powering on of the USB interface. These error codes are\r
                         *  used in the ErrorCode parameter value of the \ref USB_PowerOnFail event.\r
                         */\r
-                       enum USB_PowerOnErrorCodes_t\r
+                       enum USB_InitErrorCodes_t\r
                        {\r
-                               POWERON_ERROR_NoUSBModeSpecified       = 0, /**< Indicates that \ref USB_Init() was called with an\r
+                               USB_INITERROR_NoUSBModeSpecified       = 0, /**< Indicates that \ref USB_Init() was called with an\r
                                                                         *   invalid or missing Mode parameter.\r
                                                                         */\r
                        };\r
                                 *\r
                                 *  \see Events.h for more information on this event.\r
                                 */\r
-                               RAISES_EVENT(USB_PowerOnFail);\r
+                               RAISES_EVENT(USB_InitFailure);\r
                        #endif\r
                        \r
        /* Private Interface - For use in library only: */\r