Classes | Macros | Typedefs | Functions
CDCDSerialPort.h File Reference
#include <stdint.h>
#include <USBRequests.h>
#include <CDCRequests.h>
#include <CDCNotifications.h>
#include "USBD.h"
#include <USBDDriver.h>
Include dependency graph for CDCDSerialPort.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  _CDCDSerialPort
 

Macros

#define CDCDSerialPort_BULK_MAXPACKETSIZE_FS   64
 
#define CDCDSerialPort_BULK_MAXPACKETSIZE_HS   512
 
#define CDCDSerialPort_INTERRUPT_INTERVAL_FS   16
 
#define CDCDSerialPort_INTERRUPT_INTERVAL_HS   8
 
#define CDCDSerialPort_INTERRUPT_MAXPACKETSIZE   8
 
#define CDCDSerialPortEvent_SETCONTROLLINESTATE   0
 
#define CDCDSerialPortEvent_SETLINECODING   1
 

Typedefs

typedef struct _CDCDSerialPort CDCDSerialPort
 
typedef uint32_t(* CDCDSerialPortEventHandler) (uint32_t dwEvent, uint32_t dwParam, void *pArguments)
 

Functions

uint8_t CDCDSerialPort_GetControlLineState (const CDCDSerialPort *pCdcd)
 
void CDCDSerialPort_GetLineCoding (const CDCDSerialPort *pCdcd, CDCLineCoding *pLineCoding)
 
uint16_t CDCDSerialPort_GetSerialState (const CDCDSerialPort *pCdcd)
 
void CDCDSerialPort_Initialize (CDCDSerialPort *pCdcd, USBDDriver *pUsbd, CDCDSerialPortEventHandler fEventHandler, void *pArg, uint8_t firstInterface, uint8_t numInterface)
 
USBGenericDescriptor * CDCDSerialPort_ParseInterfaces (CDCDSerialPort *pCdcd, USBGenericDescriptor *pDescriptors, uint32_t dwLength)
 
uint32_t CDCDSerialPort_Read (const CDCDSerialPort *pCdcd, void *pData, uint32_t dwSize, TransferCallback fCallback, void *pArg)
 
uint32_t CDCDSerialPort_RequestHandler (CDCDSerialPort *pCdcd, const USBGenericRequest *request)
 
void CDCDSerialPort_SetSerialState (CDCDSerialPort *pCdcd, uint16_t wSerialState)
 
uint32_t CDCDSerialPort_Write (CDCDSerialPort *pCdcd, void *pData, uint32_t dwSize, TransferCallback fCallback, void *pArg)
 

Detailed Description

Definition of a class for implementing a USB device CDC serial port function.

Definition in file CDCDSerialPort.h.



inertial_sense_ros
Author(s):
autogenerated on Sat Sep 19 2020 03:19:05