USB Libraries Help > USB Host Libraries > USB Host Layer Library > Configuring the Library
MPLAB Harmony USB Stack
Configuring the Library

The following configuration parameters must be defined while using the USB Host Layer. 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.

Macros
 
Name 
Description 
 
This is macro _USB_HOST_CONFIG_TEMPLATE_H_. 
 
Defines the number of USB Host Controllers that this Host Layer must manage. 
 
Defines the maximum number of interface that the attached device can contain in order for the USB Host Layer to process the device. 
 
Defines the maximum number of devices to support. 
 
Defines if this USB Host application must support a Hub. 
 
Defines the maximum tier of connected hubs to be supported. 
 
Defines the maximum number of pipes that the application will need. 
 
Defines the maximum number of transfers that host layer should handle.