nRF5 SDK v12.2.0
Experimental: USBD driver
This information applies to the nRF52840 SoC only.

The USB device (USBD) driver includes two layers: the hardware access layer (HAL) and the driver layer (DRV).

The hardware access layer provides basic APIs for accessing the registers of the USBD peripheral. For details, see the API documentation for the USBD HAL.

The driver provides APIs on a higher level than the HAL. For details, see the API documentation for the USB Device raw IP HAL and driver.

Key features of this driver include:

The driver can have four different states:

See the following function documentation for more details about the USBD driver states:


Documentation feedback | Developer Zone | Subscribe | Updated