Host mode driver for the library USB CDC Class driver. More...
#include "../../USB.h"
#include "../Common/CDC.h"
#include <stdio.h>
#include <string.h>
Data Structures | |
struct | USB_ClassInfo_CDC_Host_t |
CDC Class Host Mode Configuration and State Structure. More... | |
Enumerations | |
enum | CDCHost_EnumerationFailure_ErrorCodes_t { CDC_ENUMERROR_NoError = 0, CDC_ENUMERROR_InvalidConfigDescriptor = 1, CDC_ENUMERROR_NoCDCInterfaceFound = 2, CDC_ENUMERROR_EndpointsNotFound = 3 } |
Functions | |
void | CDC_Host_USBTask (USB_ClassInfo_CDC_Host_t *const CDCInterfaceInfo) ATTR_NON_NULL_PTR_ARG(1) |
uint8_t | CDC_Host_ConfigurePipes (USB_ClassInfo_CDC_Host_t *const CDCInterfaceInfo, uint16_t ConfigDescriptorSize, void *DeviceConfigDescriptor) ATTR_NON_NULL_PTR_ARG(1) ATTR_NON_NULL_PTR_ARG(3) |
uint8_t | CDC_Host_SetLineEncoding (USB_ClassInfo_CDC_Host_t *const CDCInterfaceInfo) ATTR_NON_NULL_PTR_ARG(1) |
uint8_t | CDC_Host_SendControlLineStateChange (USB_ClassInfo_CDC_Host_t *const CDCInterfaceInfo) ATTR_NON_NULL_PTR_ARG(1) |
uint8_t | CDC_Host_SendBreak (USB_ClassInfo_CDC_Host_t *const CDCInterfaceInfo, const uint8_t Duration) ATTR_NON_NULL_PTR_ARG(1) |
uint8_t | CDC_Host_SendString (USB_ClassInfo_CDC_Host_t *const CDCInterfaceInfo, char *Data, const uint16_t Length) ATTR_NON_NULL_PTR_ARG(1) ATTR_NON_NULL_PTR_ARG(2) |
uint8_t | CDC_Host_SendByte (USB_ClassInfo_CDC_Host_t *const CDCInterfaceInfo, const uint8_t Data) ATTR_NON_NULL_PTR_ARG(1) |
uint16_t | CDC_Host_BytesReceived (USB_ClassInfo_CDC_Host_t *const CDCInterfaceInfo) ATTR_NON_NULL_PTR_ARG(1) |
uint8_t | CDC_Host_ReceiveByte (USB_ClassInfo_CDC_Host_t *const CDCInterfaceInfo) ATTR_NON_NULL_PTR_ARG(1) |
uint8_t | CDC_Host_Flush (USB_ClassInfo_CDC_Host_t *const CDCInterfaceInfo) ATTR_NON_NULL_PTR_ARG(1) |
void | CDC_Host_CreateStream (USB_ClassInfo_CDC_Host_t *CDCInterfaceInfo, FILE *Stream) |
void | CDC_Host_CreateBlockingStream (USB_ClassInfo_CDC_Host_t *CDCInterfaceInfo, FILE *Stream) |
void | EVENT_CDC_Host_ControLineStateChanged (USB_ClassInfo_CDC_Host_t *const CDCInterfaceInfo) ATTR_NON_NULL_PTR_ARG(1) |
Host mode driver for the library USB CDC Class driver.