37#define NRF_USB_NUM_PERIPH 1
42#define NRF_USB_NUM_EP USBDEV_NUM_ENDPOINTS
#define NRF_USB_NUM_EP
Number of USB IN and OUT endpoints.
nrfusb_setup_state_t
nrfusb setup packet state tracker for endpoint 0 handling
@ 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
@ NRFUSB_SETUP_READ
Read request received
@ NRFUSB_SETUP_READY
Ready for a new setup request
nrf usb peripheral device context
nrfusb_setup_state_t sstate
Setup request state machine
NRF_USBD_Type * device
Ptr to the device registers
usbdev_t usbdev
Inherited usbdev struct
usbdev endpoint descriptor
Definitions low-level USB driver interface.