Microchip® Advanced Software Framework

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
USB Device Controller (UHC) - Workflow

Common workflow for all USB devices.

  1. Ensure that conf_usb_host.h is available and contains the following configuration which is the main USB device configuration:
    • // Maximum current allowed on Vbus (mA) which depends of 5V generator
      #define USB_HOST_POWER_MAX 500 // (500mA)
  2. Call the USB host stack start function to enable USB Host stack: