2 #if (USE_STM32_USB_HOST_MODE || USE_STM32_USB_USE_DEVICE_MODE || USE_STM32_USB_OTG_MODE)
31 #ifndef __USB_BSP__H__
32 #define __USB_BSP__H__
35 #include "stm32/usb/usb_core.h"
36 #include "config/usb_conf.h"
83 void USB_OTG_BSP_Init (USB_OTG_CORE_HANDLE *pdev);
84 void USB_OTG_BSP_uDelay (
const uint32_t usec);
85 void USB_OTG_BSP_mDelay (
const uint32_t msec);
86 void USB_OTG_BSP_EnableInterrupt (USB_OTG_CORE_HANDLE *pdev);
88 void USB_OTG_BSP_ConfigVBUS(USB_OTG_CORE_HANDLE *pdev);
89 void USB_OTG_BSP_DriveVBUS(USB_OTG_CORE_HANDLE *pdev,uint8_t state);
95 #endif //__USB_BSP__H__
libheivs configuration file