This embedded USB host class driver controls Raw transfers. The package provides a Raw host class driver for a USB stack. Typically this is used for connecting devices over a USB link to a host.

Raw transfers are used for infrequent transfers of larger amounts of data. The transfer takes place only when bandwidth is available, so may be delayed when other applications are using the bandwidth. Raw transfers may be used to support devices like printers and scanners. Data delivery is guaranteed by means of CRC error detection and limited retries. Raw transfers are only supported by full and high speed devices. Multiple channels can be used on the same interface.

Features
  • Conforms to the HCC Advanced Embedded Framework.
  • Designed for integration with both RTOS and non-RTOS based systems.
  • Compatible with all HCC USB host controllers.
  • Supports multiple devices connected simultaneously.
  • Supports a raw interface to a connected USB device.
  • Uses a system of callbacks for user-specified events.
Architecture
Raw USB host class driver

The lower layer interface is designed to use HCC Embedded’s USB Host Interface Layer. This layer is standard over different host controller implementations; this means that the code is unchanged, whichever HCC USB host controller it is interfaced to. For detailed information about this layer, refer to the HCC USB Host Base System User Guide that is shipped with the base system.

The package provides a set of API functions for controlling access to a device.

Integration into your application

Interested in designing-in this software/component into an application? Use our Project Builder to describe your project in an easy way and get an idea whether this software fits your project.