2.9.3.2 USB_DEVICE_PRINTER_QUEUE_DEPTH_COMBINED Macro

C

#define USB_DEVICE_PRINTER_QUEUE_DEPTH_COMBINED 

Summary

USB device Printer Combined Queue Size

This macro defines the number of entries in all queues in all instances of the Printer function driver. This value can be obtained by adding up the read and write queue sizes of each Printer Function driver instance. In a simple single instance USB Printer device application, that does not require buffer queuing and serial state notification, the USB_DEVICE_PRINTER_QUEUE_DEPTH_COMBINED macro can be set to 2. Consider a case with two Printer function driver instances, Printer 1 has a read queue size of 2 and write queue size of 3, Printer 2 has a read queue size of 4 and write queue size of 1, this macro should be set to 10 (2 +3 + 4 + 1).