46 #ifndef __CDC_CLASS_HOST_H__
47 #define __CDC_CLASS_HOST_H__
50 #include "../../USB.h"
51 #include "../Common/CDCClassCommon.h"
56 #if defined(__cplusplus)
61 #if !defined(__INCLUDE_FROM_CDC_DRIVER)
62 #error Do not include this file directly. Include LPCUSBlib/Drivers/USB.h instead.
105 uint8_t HostToDevice;
109 uint8_t DeviceToHost;
158 uint16_t ConfigDescriptorSize,
190 const uint8_t Duration) ATTR_NON_NULL_PTR_ARG(1);
207 const uint8_t* const Buffer,
224 const
char* const String) ATTR_NON_NULL_PTR_ARG(1) ATTR_NON_NULL_PTR_ARG(2);
240 const uint8_t Data) ATTR_NON_NULL_PTR_ARG(1);
280 #if (!defined(__IAR_SYSTEMS_ICC__) || (_DLIB_FILE_DESCRIPTOR == 1))
328 #if !defined(__DOXYGEN__)
330 #if defined(__INCLUDE_FROM_CDC_HOST_C)
331 #if defined(FDEV_SETUP_STREAM)
332 static int CDC_Host_putchar(
char c,
353 #if defined(__cplusplus)