219 #define SERDESCRIPTOR_SIZE (8) 226 #define SERCOMMINTERFACE_SIZE (35) 233 #define SERDATAINTERFACE_SIZE (23) 243 #define COMPOSITE_DCDC_SIZE (SERDESCRIPTOR_SIZE + SERCOMMINTERFACE_SIZE + \ 244 SERDATAINTERFACE_SIZE) 258 #define USBD_CDC_EVENT_SEND_BREAK (USBD_CDC_EVENT_BASE + 0) 264 #define USBD_CDC_EVENT_CLEAR_BREAK (USBD_CDC_EVENT_BASE + 1) 275 #define USBD_CDC_EVENT_SET_CONTROL_LINE_STATE (USBD_CDC_EVENT_BASE + 2) 283 #define USBD_CDC_EVENT_SET_LINE_CODING (USBD_CDC_EVENT_BASE + 3) 291 #define USBD_CDC_EVENT_GET_LINE_CODING (USBD_CDC_EVENT_BASE + 4) 408 uint32_t ui32Length,
bool bLast);
410 uint32_t ui32Length,
bool bLast);
446 #endif // __USBDCDC_H__ volatile bool bRxBlocked
Definition: usbdcdc.h:167
void * USBDCDCSetTxCBData(void *pvCDCDevice, void *pvCBData)
Definition: usbdcdc.c:2632
const uint16_t ui16PID
The product ID that this device is to present in the device descriptor.
Definition: usbdcdc.h:309
void * USBDCDCSetControlCBData(void *pvCDCDevice, void *pvCBData)
Definition: usbdcdc.c:2536
tDeviceInfo sDevInfo
Definition: usbdcdc.h:106
void * USBDCDCSetRxCBData(void *pvCDCDevice, void *pvCBData)
Definition: usbdcdc.c:2584
volatile uint8_t ui8PendingRequest
Definition: usbdcdc.h:131
uint8_t ui8BulkINEndpoint
Definition: usbdcdc.h:187
uint16_t ui16ControlLineState
Definition: usbdcdc.h:141
tLineCoding sLineCoding
Definition: usbdcdc.h:162
uint32_t USBDCDCPacketRead(void *pvCDCDevice, uint8_t *pi8Data, uint32_t ui32Length, bool bLast)
Definition: usbdcdc.c:2792
volatile tCDCState iCDCRxState
Definition: usbdcdc.h:111
uint32_t ui32USBBase
Definition: usbdcdc.h:101
const uint16_t ui16MaxPowermA
The maximum power consumption of the device, expressed in milliamps.
Definition: usbdcdc.h:314
Definition: usbdevice.h:135
uint32_t USBDCDCRxPacketAvailable(void *pvCDCDevice)
Definition: usbdcdc.c:2953
const tUSBCallback pfnControlCallback
Definition: usbdcdc.h:328
const uint8_t ui8PwrAttributes
Definition: usbdcdc.h:321
bool USBDCDCRemoteWakeupRequest(void *pvCDCDevice)
Definition: usbdcdc.c:3135
tCDCSerInstance sPrivateData
Definition: usbdcdc.h:389
volatile bool bConnected
Definition: usbdcdc.h:177
uint16_t ui16SerialState
Definition: usbdcdc.h:146
const uint32_t ui32NumStringDescriptors
Definition: usbdcdc.h:382
const uint16_t ui16VID
The vendor ID that this device is to present in the device descriptor.
Definition: usbdcdc.h:304
void USBDCDCSerialStateChange(void *pvCDCDevice, uint16_t ui16State)
Definition: usbdcdc.c:3030
uint32_t USBDCDCPacketWrite(void *pvCDCDevice, uint8_t *pi8Data, uint32_t ui32Length, bool bLast)
Definition: usbdcdc.c:2690
volatile tCDCState iCDCTxState
Definition: usbdcdc.h:116
uint8_t ui8BulkOUTEndpoint
Definition: usbdcdc.h:192
const tUSBCallback pfnRxCallback
Definition: usbdcdc.h:341
void USBDCDCPowerStatusSet(void *pvCDCDevice, uint8_t ui8Power)
Definition: usbdcdc.c:3104
Definition: usbdevice.h:66
uint32_t(* tUSBCallback)(void *pvCBData, uint32_t ui32Event, uint32_t ui32MsgParam, void *pvMsgData)
Definition: usblib.h:1220
uint16_t ui16LastTxSize
Definition: usbdcdc.h:157
uint8_t ui8ControlEndpoint
Definition: usbdcdc.h:182
volatile tCDCState iCDCInterruptState
Definition: usbdcdc.h:126
void * pvRxCBData
Definition: usbdcdc.h:348
const uint8_t *const * ppui8StringDescriptors
Definition: usbdcdc.h:376
volatile uint16_t ui16DeferredOpFlags
Definition: usbdcdc.h:152
uint16_t ui16BreakDuration
Definition: usbdcdc.h:136
volatile bool bControlBlocked
Definition: usbdcdc.h:172
const tUSBCallback pfnTxCallback
Definition: usbdcdc.h:355
void USBDCDCTerm(void *pvCDCDevice)
Definition: usbdcdc.c:2492
uint8_t ui8InterfaceControl
Definition: usbdcdc.h:198
uint8_t ui8InterfaceData
Definition: usbdcdc.h:204
void * pvControlCBData
Definition: usbdcdc.h:335
tCDCState
Definition: usbdcdc.h:63
volatile tCDCState iCDCRequestState
Definition: usbdcdc.h:121
uint32_t USBDCDCTxPacketAvailable(void *pvCDCDevice)
Definition: usbdcdc.c:2905
void * USBDCDCCompositeInit(uint32_t ui32Index, tUSBDCDCDevice *psCDCDevice, tCompositeEntry *psCompEntry)
Definition: usbdcdc.c:2236
Definition: usbdcdc.h:299
void * USBDCDCInit(uint32_t ui32Index, tUSBDCDCDevice *psCDCDevice)
Definition: usbdcdc.c:2417
void * pvTxCBData
Definition: usbdcdc.h:362