Minimal driver for the NRF52840 usb peripheral.
More...
Minimal driver for the NRF52840 usb peripheral.
|
file | nrfusb.h |
| USB interface functions for the nrf52840 class devices.
|
|
◆ NRF_USB_NUM_EP
Number of USB IN and OUT endpoints.
Definition at line 42 of file nrfusb.h.
◆ NRF_USB_NUM_PERIPH
#define NRF_USB_NUM_PERIPH 1 |
Number of USB peripherals on the MCU.
Definition at line 37 of file nrfusb.h.
◆ nrfusb_setup_state_t
nrfusb setup packet state tracker for endpoint 0 handling
Enumerator |
---|
NRFUSB_SETUP_READY | Ready for a new setup request
|
NRFUSB_SETUP_READ | Read request received
|
NRFUSB_SETUP_WRITE | Write request received
|
NRFUSB_SETUP_ACKOUT | Expecting an ACK on the out endpoint.
|
NRFUSB_SETUP_ACKIN | Expecting an ACK on the in endpoint
|
Definition at line 47 of file nrfusb.h.