Microchip® Advanced Software Framework

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
ASF USB Host core unit tests

Introduction

This example implements the USB device generator used by the USB host core test.

Startup

The default compilation option is to support all Atmel MCU with a USB hardware interface with DPRAM. For other Atmel MCU a compilation opotion must be defined in the unit_tests.c file:

  • #define AVR32_USBC_TST // AVR32 MCU with USBC interface
  • #define SAMX_UOTGHS_TST // SAM MCU with UOTGHS interface
  • #define SAM4L_USBC_TST // SAM4L MCU with USBC interface
  • #define SAMD21_USB_TST // SAMD21 MCU with USB interface
  • #define SAML21_USB_TST // SAML21 MCU with USB interface

Please, read "USB host core tests" project documentation for more information.