Lightweight USB stack  1.0
USB Device HW driver and core API

Modules

 USB hardware driver
 
 USB device core
 Contains core API.
 

Compile-time control macros

#define USBD_PINS_REMAP
 Remap USB pins for uC with low pin count packages.
 
#define USBD_SOF_DISABLED
 Disables SOF handling.
 
#define USBD_VBUS_DETECT
 Enables Vbus detection for L4/F4 driver.
 
#define USBD_DP_PORT
 DP pullup port for F103/F303 driver.
 
#define USBD_DP_PIN
 DP pullup pin for F103/F303 driver.
 
#define USBD_SOF_OUT
 Enables SOF output pin for F4 OTGFS.
 
#define USBD_PRIMARY_OTGHS
 Sets OTGHS as primary interface for F4.
 
#define USBD_USE_EXT_ULPI
 Enables external ULPI interface for OTGHS.
 
#define USB_PMA_SIZE
 PMA memoty size in bytes. Adjust this for the devices that shares PMA memory with CAN in case of both USB and CAN in use to avoid data corruption.
 

Detailed Description