Microchip® Advanced Software Framework

Multiple Classes Support

In this use case, the USB host is used to support several USB classes.

Setup Steps

Prior to implement this use case, be sure to have already applied the UHI module "basic use case".

Usage Steps

Example Code

Content of conf_usb_host.h:

#define USB_HOST_UHI UHI_HID_MOUSE, UHI_MSC, UHI_CDC

Workflow

  1. Ensure that conf_usb_host.h is available and contains the following parameters:
    #define USB_HOST_UHI UHI_HID_MOUSE, UHI_MSC, UHI_CDC
    Note
    USB_HOST_UHI defines the list of UHI supported by USB host. Here, you must add all classes that you want to support.