158 const uint32_t utime = (120 * usec / 7);
161 if ( ++count > utime )
Specific api's relative to the used hardware platform.
void USB_OTG_BSP_EnableInterrupt(void)
USB_OTG_BSP_EnableInterrupt Enable USB Global interrupt.
void USB_OTG_BSP_mDelay(const uint32_t msec)
USB_OTG_BSP_mDelay This function provides delay time in milli sec.
void USB_OTG_BSP_TimeInit(void)
USB_OTG_BSP_TimeInit Initialises delay unit Systick timer /Timer2.
void USB_OTG_BSP_Init(void)
USB_OTG_BSP_Init Initializes BSP configurations.
void USB_OTG_BSP_ConfigVBUS(uint32_t speed)
USB_OTG_BSP_ConfigVBUS Configures the IO for the Vbus and OverCurrent.
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_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.