Jump to main content

##

# 3.2.5.2 usb_host_config_template.h

## File Name

usb_host_config_template.h

## Description

USB Host Layer Configuration constants

This file contains USB host layer compile time options (macros) that are to be configured by the user. This file is a template file and must be used as an example only. This file must not be directly included in the project.

## Macros

Name | Description
USB_HOST_CONTROLLERS_NUMBER | Defines the number of USB Host Controllers that this Host Layer must manage.
USB_HOST_DEVICE_INTERFACES_NUMBER | Defines the maximum number of interface that the attached device can contain in order for the USB Host Layer to process the device.
USB_HOST_DEVICES_NUMBER | Defines the maximum number of devices to support.
USB_HOST_HUB_SUPPORT_ENABLE | Defines if this USB Host application must support a Hub.
USB_HOST_HUB_TIER_LEVEL | Defines the maximum tier of connected hubs to be supported.
USB_HOST_PIPES_NUMBER | Defines the maximum number of pipes that the application will need.
USB_HOST_TRANSFERS_NUMBER | Defines the maximum number of transfers that host layer should handle.