53 #define CDC_EVENT_OPEN 1 54 #define CDC_EVENT_CLOSE 2 62 #define USBREQ_GET_LINE_CODING 0x21 63 #define USBREQ_SET_LINE_CODING 0x20 64 #define USBREQ_SET_CONTROL_LINE_STATE 0x22 66 #define USB_GET_LINE_CODING_SIZE 0x07 67 #define CDC_DEACTIVATE_CARRIER 0x00 68 #define CDC_ACTIVATE_CARRIER 0x03 81 #define USBH_EVENT_RX_CDC_DATA USBH_CDC_EVENT_BASE + 16 86 #define USBH_EVENT_TX_CDC_DATA USBH_CDC_EVENT_BASE + 17 159 uint8_t *pui8Data, uint32_t ui32Size);
163 uint8_t *pui8Data, uint32_t ui32Size);
This is a vendor specific device.
Definition: usbhcdc.h:140
This is Ethernet Networking Control device.
Definition: usbhcdc.h:130
This is CAPI control device.
Definition: usbhcdc.h:125
struct tCDCInstance tCDCInstance
Definition: usbhcdc.h:44
tCDCInstance * USBHCDCOpen(tCDCSubClassProtocol iDeviceType, tUSBCallback pfnCallback, void *pvCBData)
Definition: usbhcdc.c:153
tCDCSubClassProtocol
Definition: usbhcdc.h:94
void USBHCDCClose(tCDCInstance *psCDCInstance)
Definition: usbhcdc.c:203
This is ATM Networking control device.
Definition: usbhcdc.h:135
This is multi-channel control device.
Definition: usbhcdc.h:120
uint32_t USBHCDCGetLineCoding(tCDCInstance *psCDCInstance, uint8_t *pui8Buffer, uint32_t ui32Size)
Definition: usbhcdc.c:522
uint32_t USBHCDCSetLineCoding(tCDCInstance *psCDCInstance, uint8_t *pui8Data)
Definition: usbhcdc.c:577
uint32_t USBHCDCSetControlLineState(tCDCInstance *psCDCInstance, uint16_t carrierValue)
Definition: usbhcdc.c:632
This is a direct line control device.
Definition: usbhcdc.h:105
Definition: usbhost.h:156
uint32_t(* tUSBCallback)(void *pvCBData, uint32_t ui32Event, uint32_t ui32MsgParam, void *pvMsgData)
Definition: usblib.h:1220
uint32_t USBHCDCReadData(tCDCInstance *psCDCInstance, uint32_t ui32Interface, uint8_t *pui8Data, uint32_t ui32Size)
Definition: usbhcdc.c:698
const tUSBHostClassDriver g_sUSBCDCClassDriver
Definition: usbhcdc.c:116
This is telephone control device.
Definition: usbhcdc.h:115
This is a abstract control device.
Definition: usbhcdc.h:110
Definition: usbhcdc.h:100
uint32_t USBHCDCWriteData(tCDCInstance *psCDCInstance, uint32_t ui32Interface, uint8_t *pui8Data, uint32_t ui32Size)
Definition: usbhcdc.c:736