Device Driver Guide

There are many USB device controllers available on the market and each requires a driver to work with µC/USB-Device. The amount of code necessary to port a specific device to µC/USB-Device greatly depends on the device’s complexity.

If not already available, a driver can be developed, as described in this chapter. However, it is recommended to modify an already existing device driver with the new device’s specific code following the Micrium coding convention for consistency. It is also possible to adapt drivers written for other USB device stacks, especially if the driver is short and it is a matter of simply copying data to and from the device.

This section describes the hardware (device) driver architecture for µC/USB-Device, including:

Micrium provides sample configuration code free of charge; however, the sample code will likely require modifications depending on the combination of processor, evaluation board, and USB device controller(s).