Minimal driver for the NRF52840 usb peripheral. More...
Minimal driver for the NRF52840 usb peripheral.
Files | |
| file | nrfusb.h | 
| USB interface functions for the nrf52840 class devices.  | |
Data Structures | |
| struct | nrfusb_t | 
| nrf usb peripheral device context  More... | |
Macros | |
| #define | NRF_USB_NUM_PERIPH 1 | 
| Number of USB peripherals on the MCU.  | |
| #define | NRF_USB_NUM_EP USBDEV_NUM_ENDPOINTS | 
| Number of USB IN and OUT endpoints.  | |
Enumerations | |
| enum | nrfusb_setup_state_t {  NRFUSB_SETUP_READY , NRFUSB_SETUP_READ , NRFUSB_SETUP_WRITE , NRFUSB_SETUP_ACKOUT , NRFUSB_SETUP_ACKIN }  | 
| nrfusb setup packet state tracker for endpoint 0 handling  More... | |
| enum nrfusb_setup_state_t | 
nrfusb setup packet state tracker for endpoint 0 handling