#include <stdint.h>
#include <USBRequests.h>
#include <CDCRequests.h>
#include <CDCDescriptors.h>
#include <CDCNotifications.h>
#include <CDCDSerial.h>
Go to the source code of this file.
Classes | |
struct | _CDCDSerialDriverConfigurationDescriptors |
struct | _CDCDSerialDriverConfigurationDescriptorsOTG |
Macros | |
#define | CDCDSerialDriver_CC_INTERFACE 0 |
#define | CDCDSerialDriver_DC_INTERFACE 1 |
Functions | |
struct _CDCDSerialDriverConfigurationDescriptors | __attribute__ ((__packed__)) CDCDSerialDriverConfigurationDescriptors |
void | CDCDSerialDriver_ConfigurationChangedHandler (uint8_t cfgnum) |
static uint8_t | CDCDSerialDriver_GetControlLineState (void) |
static void | CDCDSerialDriver_GetLineCoding (CDCLineCoding *pLineCoding) |
static uint16_t | CDCDSerialDriver_GetSerialState (void) |
void | CDCDSerialDriver_Initialize (const USBDDriverDescriptors *pDescriptors) |
static uint32_t | CDCDSerialDriver_Read (void *data, uint32_t size, TransferCallback callback, void *argument) |
void | CDCDSerialDriver_RequestHandler (const USBGenericRequest *request) |
static void | CDCDSerialDriver_SetSerialState (uint16_t serialState) |
static uint32_t | CDCDSerialDriver_Write (void *data, uint32_t size, TransferCallback callback, void *argument) |
Variables | |
CDCAbstractControlManagementDescriptor | abstractControlManagement |
CDCCallManagementDescriptor | callManagement |
USBInterfaceDescriptor | communication |
USBConfigurationDescriptor | configuration |
USBInterfaceDescriptor | data |
USBEndpointDescriptor | dataIn |
USBEndpointDescriptor | dataOut |
CDCHeaderDescriptor | header |
USBEndpointDescriptor | notification |
USBOtgDescriptor | otgDescriptor |
CDCUnionDescriptor | union1 |
Definition of a class for implementing a USB device CDC serial driver.
Definition in file CDCDSerialDriver.h.
CDCAbstractControlManagementDescriptor abstractControlManagement |
CDC abstract control management functional descriptor.
Definition at line 111 of file CDCDSerialDriver.h.
CDCCallManagementDescriptor callManagement |
CDC call management functional descriptor.
Definition at line 109 of file CDCDSerialDriver.h.
USBInterfaceDescriptor communication |
Communication interface descriptor.
Definition at line 105 of file CDCDSerialDriver.h.
USBConfigurationDescriptor configuration |
Standard configuration descriptor.
Definition at line 103 of file CDCDSerialDriver.h.
USBInterfaceDescriptor data |
Data interface descriptor.
Definition at line 117 of file CDCDSerialDriver.h.
USBEndpointDescriptor dataIn |
Data IN endpoint descriptor.
Definition at line 121 of file CDCDSerialDriver.h.
USBEndpointDescriptor dataOut |
Data OUT endpoint descriptor.
Definition at line 119 of file CDCDSerialDriver.h.
CDCHeaderDescriptor header |
CDC header functional descriptor.
Definition at line 107 of file CDCDSerialDriver.h.
USBEndpointDescriptor notification |
Notification endpoint descriptor.
Definition at line 115 of file CDCDSerialDriver.h.
USBOtgDescriptor otgDescriptor |
Definition at line 105 of file CDCDSerialDriver.h.
CDCUnionDescriptor union1 |
CDC union functional descriptor (with one slave interface).
Definition at line 113 of file CDCDSerialDriver.h.