MPLAB Harmony USB Stack
|
USB Device Printer Function Driver Initialization Data Structure
This data structure must be defined for a Printer function driver. This is passed to the Printer function driver, by the Device Layer, at the time of initialization. This structure contains the IEEE Standard 1284 string parameters required by the Devide ID.
typedef struct { size_t queueSizeRead; size_t queueSizeWrite; uint16_t length; uint8_t deviceID_String[USB_DEVICE_PRINTER_DEVICE_ID_STRING_LENGTH]; } USB_DEVICE_PRINTER_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
|
uint16_t length; |
IEEE 1284 device ID string (including length in the first two bytes in big endian format). |
This structure must be configured by the user at compile time.
MPLAB Harmony USB Stack
|