X-Git-Url: http://git.linex4red.de/pub/USBasp.git/blobdiff_plain/d0806c817cbf0c1b5c5362d1577eac6075c94dfc..31d8ebebc0796873f7c70db80a04acdcbb307ed8:/Demos/OTG/TestApp/TestEvents.h diff --git a/Demos/OTG/TestApp/TestEvents.h b/Demos/OTG/TestApp/TestEvents.h index 3642428f5..ee00dd728 100644 --- a/Demos/OTG/TestApp/TestEvents.h +++ b/Demos/OTG/TestApp/TestEvents.h @@ -39,12 +39,11 @@ /* Includes: */ #include - #include // Commonly used macros - #include // USB Functionality - #include // LED driver - #include // USART Stream driver - #include // ANSI Terminal Escape Codes - #include // Simple scheduler for task management + #include + #include + #include + #include + #include /* Macros: */ /** Prefix sent through the USART when an even fires before the actual event message. */ @@ -55,22 +54,19 @@ static void Abort_Program(void) ATTR_NO_RETURN; #endif - void EVENT_USB_VBUSChange(void); - void EVENT_USB_VBUSConnect(void); - void EVENT_USB_VBUSDisconnect(void); - void EVENT_USB_Connect(void); - void EVENT_USB_Disconnect(void); void EVENT_USB_InitFailure(const uint8_t ErrorCode); void EVENT_USB_UIDChange(void); - void EVENT_USB_HostError(const uint8_t ErrorCode); - void EVENT_USB_DeviceAttached(void); - void EVENT_USB_DeviceUnattached(void); - void EVENT_USB_DeviceEnumerationFailed(const uint8_t ErrorCode, const uint8_t SubErrorCode); - void EVENT_USB_DeviceEnumerationComplete(void); - void EVENT_USB_UnhandledControlPacket(void); - void EVENT_USB_ConfigurationChanged(void); - void EVENT_USB_Suspend(void); - void EVENT_USB_WakeUp(void); - void EVENT_USB_Reset(void); + void EVENT_USB_Host_HostError(const uint8_t ErrorCode); + void EVENT_USB_Host_DeviceAttached(void); + void EVENT_USB_Host_DeviceUnattached(void); + void EVENT_USB_Host_DeviceEnumerationFailed(const uint8_t ErrorCode, const uint8_t SubErrorCode); + void EVENT_USB_Host_DeviceEnumerationComplete(void); + void EVENT_USB_Device_Connect(void); + void EVENT_USB_Device_Disconnect(void); + void EVENT_USB_Device_ConfigurationChanged(void); + void EVENT_USB_Device_ConfigurationChanged(void); + void EVENT_USB_Device_Suspend(void); + void EVENT_USB_Device_WakeUp(void); + void EVENT_USB_Device_Reset(void); #endif