extern "C" {\r
#endif\r
\r
- /* Function Prototypes: */\r
- #if defined(INCLUDE_FROM_CDC_CLASS_HOST_C)\r
- static uint8_t CDC_Host_ProcessConfigDescriptor(void);\r
- static uint8_t DComp_CDC_Host_NextCDCControlInterface(void* CurrentDescriptor);\r
- static uint8_t DComp_CDC_Host_NextCDCDataInterface(void* CurrentDescriptor);\r
- static uint8_t DComp_CDC_Host_NextInterfaceCDCDataEndpoint(void* CurrentDescriptor);\r
- #endif\r
- \r
- void CDC_Host_Task(void);\r
- \r
+ /* Public Interface - May be used in end-application: */\r
+ /* Function Prototypes: */\r
+ void CDC_Host_Task(void);\r
+\r
+ /* Private Interface - For use in library only: */\r
+ #if !defined(__DOXYGEN__)\r
+ /* Macros: */\r
+ #define CDC_CONTROL_CLASS 0x02\r
+ #define CDC_CONTROL_SUBCLASS 0x02\r
+ #define CDC_CONTROL_PROTOCOL 0x01\r
+ #define CDC_DATA_CLASS 0x0A\r
+ #define CDC_DATA_SUBCLASS 0x00\r
+ #define CDC_DATA_PROTOCOL 0x00\r
+\r
+ /* Function Prototypes: */\r
+ #if defined(INCLUDE_FROM_CDC_CLASS_HOST_C)\r
+ static uint8_t CDC_Host_ProcessConfigDescriptor(void);\r
+ static uint8_t DComp_CDC_Host_NextCDCControlInterface(void* CurrentDescriptor);\r
+ static uint8_t DComp_CDC_Host_NextCDCDataInterface(void* CurrentDescriptor);\r
+ static uint8_t DComp_CDC_Host_NextInterfaceCDCDataEndpoint(void* CurrentDescriptor);\r
+ #endif\r
+ \r
+ #endif\r
+ \r
/* Disable C linkage for C++ Compilers: */\r
#if defined(__cplusplus)\r
}\r