Jump to main content

##

# 3.2.3.3 USB_HOST_DEVICES_NUMBER Macro

## C

    #define USB_HOST_DEVICES_NUMBER

## Summary

USB Host Layer Devices Number

This configuration constant defines the maximum number of devices that this USB Host application must support. The value of this constant should be atleast 1. Multiple devices can be supported if Hub support is enabled. See USB_HOST_HUB_SUPPORT_ENABLE. The Hub itself will be treated as a device.

## Example

If the USB Host application must support one USB Pen Drive and one USB Serial COM port (CDC Device), then this constant should be set to 3 (one additional device will be the Hub).

## Remarks

Supporting multiple devices requires more data memory and processing time.