Add host mode USB Class driver stubs, add beginnings of a CDC host class driver.
[pub/lufa.git] / Demos / Host / ClassDriver / CDCHost / CDCHost.h
index 5dcbc8e..c219a19 100644 (file)
 \r
                #include <LUFA/Version.h>\r
                #include <LUFA/Drivers/Misc/TerminalCodes.h>\r
-               #include <LUFA/Drivers/USB/USB.h>\r
                #include <LUFA/Drivers/Peripheral/SerialStream.h>\r
                #include <LUFA/Drivers/Board/LEDs.h>\r
-               \r
-               #include "ConfigDescriptor.h"\r
+               #include <LUFA/Drivers/USB/USB.h>\r
+               #include <LUFA/Drivers/USB/Class/Host/CDC.h>\r
                \r
        /* Macros: */\r
-               /** Pipe number for the CDC data IN pipe */\r
-               #define CDC_DATAPIPE_IN                1\r
-\r
-               /** Pipe number for the CDC data OUT pipe */\r
-               #define CDC_DATAPIPE_OUT               2\r
-\r
-               /** Pipe number for the CDC notification pipe */\r
-               #define CDC_NOTIFICATIONPIPE           3\r
-\r
                /** LED mask for the library LED driver, to indicate that the USB interface is not ready. */\r
                #define LEDMASK_USB_NOTREADY      LEDS_LED1\r
 \r
@@ -75,7 +65,6 @@
                \r
        /* Function Prototypes: */\r
                void SetupHardware(void);\r
-               void CDC_Host_Task(void);\r
        \r
                void EVENT_USB_HostError(const uint8_t ErrorCode);\r
                void EVENT_USB_DeviceAttached(void);\r