The latest development version of this page may be more current than this released 4.1.0 version.

USB device controller (UDC) driver API

The USB device controller driver API is described in include/zephyr/drivers/usb/udc.h and referred to as the UDC driver API.

UDC driver API is experimental and is subject to change without notice. It is a replacement for USB device controller driver API. If you wish to port an existing driver to UDC driver API, or add a new driver, please use drivers/usb/udc/udc_skeleton.c as a starting point.

API reference

USB device controller driver API
Buffer macros and definitions used in USB device support