Added new USB_Host_SetDeviceConfiguration() convenience function. Change over Low...
[pub/USBasp.git] / Bootloaders / TeensyHID / TeensyHID.h
index ae180f7..9414eec 100644 (file)
                /** HID Class specific request to send the next HID report to the device. */\r
                #define REQ_SetReport             0x09\r
                \r
+               /** Teensy Bootloader special address to start the user application */\r
                #define TEENSY_STARTAPPLICATION   0xFFFF\r
+               \r
+       /* Function Prototypes: */\r
+               void SetupHardware(void);\r
+               void ResetHardware(void);\r
 \r
-       /* Event Handlers: */\r
-               /** Indicates that this module will catch the USB_Disconnect event when thrown by the library. */\r
-               HANDLES_EVENT(USB_Disconnect);\r
-\r
-               /** Indicates that this module will catch the USB_ConfigurationChanged event when thrown by the library. */\r
-               HANDLES_EVENT(USB_ConfigurationChanged);\r
-\r
-               /** Indicates that this module will catch the USB_UnhandledControlPacket event when thrown by the library. */\r
-               HANDLES_EVENT(USB_UnhandledControlPacket);\r
+               void EVENT_USB_ConfigurationChanged(void);\r
+               void EVENT_USB_UnhandledControlPacket(void);\r
                \r
 #endif\r