52 #define DWC2_USB_OTG_FS_NUM_EP STM32_USB_OTG_FS_NUM_EP
58 #define DWC2_USB_OTG_HS_NUM_EP STM32_USB_OTG_HS_NUM_EP
68 #ifndef DWC2_USB_OTG_FS_RX_FIFO_SIZE
69 #define DWC2_USB_OTG_FS_RX_FIFO_SIZE (128U)
77 #ifndef DWC2_USB_OTG_HS_RX_FIFO_SIZE
78 #define DWC2_USB_OTG_HS_RX_FIFO_SIZE (512U)
88 #ifndef USB_OTG_FS_TOTAL_FIFO_SIZE
89 #define USB_OTG_FS_TOTAL_FIFO_SIZE (1280U)
99 #ifndef USB_OTG_HS_TOTAL_FIFO_SIZE
100 #define USB_OTG_HS_TOTAL_FIFO_SIZE (4096U)
106 #define DWC2_USB_OTG_FS_TOTAL_FIFO_SIZE USB_OTG_FS_TOTAL_FIFO_SIZE
111 #define DWC2_USB_OTG_HS_TOTAL_FIFO_SIZE USB_OTG_HS_TOTAL_FIFO_SIZE
Shared CPU specific definitions for the STM32 family.
stm32 USB device FS configuration
stm32 USB Device FS only peripheral device context
const stm32_usbdev_fs_config_t * config
USB peripheral config
usbdev_t usbdev
Inherited usbdev struct.
size_t used
Bytes used by usbdev stack.
usbdev_ep_t * in
In endpoints.
usbdev_ep_t * out
Out endpoints.
usbdev endpoint descriptor
Definitions low-level USB driver interface.