USB Libraries Help > USB Device Libraries > Generic USB Device Library > Configuring the Library
MPLAB Harmony USB Stack
Configuring the Library

The application designer must specify the following configuration parameters while implementing the Generic USB Device. The configuration macros that implement these parameters must be located in the system_config.h file in the application project and a compiler include path (to point to the folder that contains this file) should be specified.

Configuration Macro Name 
Description 
Comments 
Size of buffer object pool for Endpoint Read and Endpoint Write functions. 
This macro defines the total number of transfers that can be queued across all Generic USB Device endpoints. The number of read transfers that can be queued is specified by the endpointQueueSizeRead member of the USB_DEVICE_INIT data structure. The number of write transfers that can be queued is specified by the endpointQueueSizeWrite member of the USB_DEVICE_INIT data structure.