Loading...
Searching...
No Matches

USB interface functions for the nrf52840 class devices. More...

Detailed Description

USB interface functions for the nrf52840 class devices.

Author
Koen Zandberg koen@.nosp@m.berg.nosp@m.zand..nosp@m.net

Definition in file nrfusb.h.

#include <stdint.h>
#include <stddef.h>
#include "periph/usbdev.h"
#include "cpu.h"
+ Include dependency graph for nrfusb.h:

Go to the source code of this file.

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...