Go to the documentation of this file.
37 #define NRF_USB_NUM_PERIPH 1
42 #define NRF_USB_BUF_SPACE USBDEV_EP_BUF_SPACE
47 #define NRF_USB_NUM_EP USBDEV_NUM_ENDPOINTS
#define NRF_USB_BUF_SPACE
USB endpoint buffer space.
usbdev_t usbdev
Inherited usbdev struct
Definitions low-level USB driver interface.
nrf usb peripheral device context
@ NRFUSB_SETUP_ACKOUT
Expecting an ACK on the out endpoint.
usbdev endpoint descriptor
@ NRFUSB_SETUP_READY
Ready for a new setup request
@ NRFUSB_SETUP_WRITE
Write request received
@ NRFUSB_SETUP_ACKIN
Expecting an ACK on the in endpoint
@ NRFUSB_SETUP_READ
Read request received
NRF_USBD_Type * device
Ptr to the device registers
size_t used
Number of bytes from the buffer that are used
#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_state_t sstate
Setup request state machine