sam0_common_usb_t Struct Reference

sam0 usb peripheral device context More...

Detailed Description

sam0 usb peripheral device context

Definition at line 47 of file sam_usb.h.

#include <sam_usb.h>

Data Fields

usbdev_t usbdev
 Inherited usbdev struct.
 
const sam0_common_usb_config_tconfig
 USB peripheral config

 
UsbDeviceDescBank banks [2 *SAM_USB_NUM_EP]
 Device descriptor banks.
 
usbdev_ep_t endpoints [2 *SAM_USB_NUM_EP]
 Endpoints

 
size_t used
 Number of bytes from the buffer that are used

 
uint8_t buffer [SAM_USB_BUF_SPACE]
 Buffer space, must be 32-bit aligned

 
bool suspended
 Suspend active

 

The documentation for this struct was generated from the following file: