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 
78 void BSP_Init(void);
79 
81 void USB_OTG_BSP_uDelay (const uint32_t usec);
82 void USB_OTG_BSP_mDelay (const uint32_t msec);
84 void USB_OTG_BSP_TimerIRQ (void);
85 #ifdef USE_HOST_MODE
87 void USB_OTG_BSP_DriveVBUS(USB_OTG_CORE_HANDLE *pdev,uint8_t state);
88 void USB_OTG_BSP_Resume(USB_OTG_CORE_HANDLE *pdev) ;
89 void USB_OTG_BSP_Suspend(USB_OTG_CORE_HANDLE *pdev);
90 
91 #endif /* USE_HOST_MODE */
92 
96 #endif /* __USB_BSP__H__ */
97 
105 /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/
106 
void BSP_Init(void)
void USB_OTG_BSP_Init(USB_OTG_CORE_HANDLE *pdev)
USB_OTG_BSP_Init Initilizes BSP configurations.
Definition: usb_bsp.c:46
void USB_OTG_BSP_uDelay(const uint32_t usec)
USB_OTG_BSP_uDelay This function provides delay time in micro sec.
void USB_OTG_BSP_mDelay(const uint32_t msec)
USB_OTG_BSP_mDelay This function provides delay time in milli sec.
Header of the Core Layer.
void USB_OTG_BSP_EnableInterrupt(USB_OTG_CORE_HANDLE *pdev)
USB_OTG_BSP_EnableInterrupt Enabele USB Global interrupt.
Definition: usb_bsp.c:96
void USB_OTG_BSP_ConfigVBUS(uint32_t speed)
USB_OTG_BSP_ConfigVBUS Configures the IO for the Vbus and OverCurrent.
void USB_OTG_BSP_TimerIRQ(void)
USB_OTG_BSP_TimerIRQ Time base IRQ.
void USB_OTG_BSP_DriveVBUS(uint32_t speed, uint8_t state)
BSP_Drive_VBUS Drives the Vbus signal through IO.


rosflight_firmware
Author(s): Daniel Koch , James Jackson
autogenerated on Wed Jul 3 2019 19:59:26