MPLAB Harmony USB Stack
|
USB Device CDC Function Driver Initialization Data Structure
This data structure must be defined for every instance of the CDC function driver. It is passed to the CDC function driver, by the Device Layer, at the time of initialization. The funcDriverInit member of the Device Layer Function Driver registration table entry must point to this data structure for an instance of the CDC function driver.
typedef struct { size_t queueSizeRead; size_t queueSizeWrite; size_t queueSizeSerialStateNotification; } USB_DEVICE_CDC_INIT;
Members |
Description |
size_t queueSizeRead; |
Size of the read queue for this instance
|
size_t queueSizeWrite; |
Size of the write queue for this instance
|
size_t queueSizeSerialStateNotification; |
Size of the serial state notification
|
The queue sizes that are specified in this data structure are also affected by the USB_DEVICE_CDC_QUEUE_DEPTH_COMBINED configuration macro.
MPLAB Harmony USB Stack
|