84 (CDCLineCoding *)param);
135 (USBGenericDescriptor *)pDescriptors,
void CDCDSerial_GetLineCoding(CDCLineCoding *pLineCoding)
uint32_t CDCDSerialPort_Write(CDCDSerialPort *pCdcd, void *pData, uint32_t dwSize, TransferCallback fCallback, void *pArg)
uint16_t CDCDSerialPort_GetSerialState(const CDCDSerialPort *pCdcd)
void CDCDSerialPort_SetSerialState(CDCDSerialPort *pCdcd, uint16_t wSerialState)
void CDCDSerial_Initialize(USBDDriver *pUsbd, uint8_t bInterfaceNb)
uint32_t CDCDSerialPort_RequestHandler(CDCDSerialPort *pCdcd, const USBGenericRequest *request)
uint32_t CDCDSerial_RequestHandler(const USBGenericRequest *request)
uint16_t CDCDSerial_GetSerialState(void)
#define CDCControlLineState_RTS
uint8_t CDCDSerialPort_GetControlLineState(const CDCDSerialPort *pCdcd)
uint32_t CDCDSerial_Write(void *data, uint32_t size, TransferCallback callback, void *argument)
static CDCDSerialPort cdcdSerial
static uint32_t CDCDSerial_EventHandler(uint32_t event, uint32_t param)
WEAK uint8_t CDCDSerial_LineCodingIsToChange(CDCLineCoding *pLineCoding)
void CDCDSerialPort_Initialize(CDCDSerialPort *pCdcd, USBDDriver *pUsbd, CDCDSerialPortEventHandler fEventHandler, void *pArg, uint8_t firstInterface, uint8_t numInterface)
WEAK void CDCDSerial_ControlLineStateChanged(uint8_t DTR, uint8_t RTS)
void(* TransferCallback)(void *pArg, uint8_t status, uint32_t transferred, uint32_t remaining)
void CDCDSerialPort_GetLineCoding(const CDCDSerialPort *pCdcd, CDCLineCoding *pLineCoding)
USBInterfaceDescriptor data
void CDCDSerial_ConfigureFunction(USBGenericDescriptor *pDescriptors, uint16_t wLength)
#define CDCControlLineState_DTR
#define CDCDSerialPortEvent_SETCONTROLLINESTATE
uint32_t(* CDCDSerialPortEventHandler)(uint32_t dwEvent, uint32_t dwParam, void *pArguments)
uint32_t CDCDSerial_Read(void *data, uint32_t size, TransferCallback callback, void *argument)
USBGenericDescriptor * CDCDSerialPort_ParseInterfaces(CDCDSerialPort *pCdcd, USBGenericDescriptor *pDescriptors, uint32_t dwLength)
#define CDCDSerialPortEvent_SETLINECODING
#define TRACE_INFO_WP(...)
uint8_t CDCDSerial_GetControlLineState(void)
void CDCDSerial_SetSerialState(uint16_t serialState)
uint32_t CDCDSerialPort_Read(const CDCDSerialPort *pCdcd, void *pData, uint32_t dwSize, TransferCallback fCallback, void *pArg)