APM:Libraries
usb_bsp.h
Go to the documentation of this file.
1 
28 /* Define to prevent recursive inclusion -------------------------------------*/
29 #ifndef __USB_BSP__H__
30 #define __USB_BSP__H__
31 
32 /* Includes ------------------------------------------------------------------*/
33 #include "usb_core.h"
34 #include "usb_conf.h"
35 
79 void BSP_Init(void);
80 
82 void USB_OTG_BSP_uDelay (const uint32_t usec);
83 void USB_OTG_BSP_mDelay (const uint32_t msec);
85 #ifdef USE_HOST_MODE
86 void USB_OTG_BSP_ConfigVBUS(USB_OTG_CORE_HANDLE *pdev);
87 void USB_OTG_BSP_DriveVBUS(USB_OTG_CORE_HANDLE *pdev,uint8_t state);
88 #endif
89 
93 #endif //__USB_BSP__H__
94 
102 /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/
103 
void BSP_Init(void)
void USB_OTG_BSP_Init(USB_OTG_CORE_HANDLE *pdev)
Definition: usb.c:310
void USB_OTG_BSP_uDelay(const uint32_t usec)
Definition: usb.c:751
void USB_OTG_BSP_mDelay(const uint32_t msec)
Definition: usb.c:393
static int state
Definition: Util.cpp:20
Header of the Core Layer.
void USB_OTG_BSP_EnableInterrupt(USB_OTG_CORE_HANDLE *pdev)
Definition: usb.c:383
General low level driver configuration.