Deleted StdDescriptors.c, renamed USB_GetDescriptor() to CALLBACK_USB_GetDescriptor...
[pub/lufa.git] / Demos / Device / AudioInput / AudioInput.h
index c068baf..a394492 100644 (file)
 \r
 /** \file\r
  *\r
- *  Header file for AudioOutput.c.\r
+ *  Header file for AudioInput.c.\r
  */\r
  \r
-#ifndef _AUDIO_OUTPUT_H_\r
-#define _AUDIO_OUTPUT_H_\r
+#ifndef _AUDIO_INPUT_H_\r
+#define _AUDIO_INPUT_H_\r
 \r
        /* Includes: */\r
                #include <avr/io.h>\r
@@ -46,7 +46,7 @@
                #include <LUFA/Version.h>                      // Library Version Information\r
                #include <LUFA/Drivers/USB/USB.h>              // USB Functionality\r
                #include <LUFA/Drivers/Board/LEDs.h>           // LEDs driver\r
-               #include <LUFA/Drivers/AT90USBXXX/ADC.h>       // ADC driver\r
+               #include <LUFA/Drivers/Peripheral/ADC.h>       // ADC driver\r
                #include <LUFA/Scheduler/Scheduler.h>          // Simple scheduler for task management\r
 \r
        /* Macros: */\r
        /* Task Definitions: */\r
                TASK(USB_Audio_Task);\r
 \r
-       /* Event Handlers: */\r
-               /** Indicates that this module will catch the USB_Connect event when thrown by the library. */\r
-               HANDLES_EVENT(USB_Connect);\r
-\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
-\r
        /* Function Prototypes: */\r
+               void EVENT_USB_Connect(void);\r
+               void EVENT_USB_Disconnect(void);\r
+               void EVENT_USB_ConfigurationChanged(void);\r
+               void EVENT_USB_UnhandledControlPacket(void);\r
+\r
                void UpdateStatus(uint8_t CurrentStatus);\r
                \r
 #endif\r