WebRadioApp  0.1
usbh_conf.c File Reference
#include "usbh_core.h"
#include "usbh_platform.h"
Include dependency graph for usbh_conf.c:

Functions

void Error_Handler (void)
 This function is executed in case of error occurrence. More...
 
USBH_StatusTypeDef USBH_Get_USB_Status (HAL_StatusTypeDef hal_status)
 Retuns the USB status depending on the HAL status: More...
 
void HAL_HCD_MspInit (HCD_HandleTypeDef *hcdHandle)
 
void HAL_HCD_MspDeInit (HCD_HandleTypeDef *hcdHandle)
 
void HAL_HCD_SOF_Callback (HCD_HandleTypeDef *hhcd)
 SOF callback. More...
 
void HAL_HCD_Connect_Callback (HCD_HandleTypeDef *hhcd)
 SOF callback. More...
 
void HAL_HCD_Disconnect_Callback (HCD_HandleTypeDef *hhcd)
 SOF callback. More...
 
void HAL_HCD_HC_NotifyURBChange_Callback (HCD_HandleTypeDef *hhcd, uint8_t chnum, HCD_URBStateTypeDef urb_state)
 Notify URB state change callback. More...
 
void HAL_HCD_PortEnabled_Callback (HCD_HandleTypeDef *hhcd)
 Port Port Enabled callback. More...
 
void HAL_HCD_PortDisabled_Callback (HCD_HandleTypeDef *hhcd)
 Port Port Disabled callback. More...
 
USBH_StatusTypeDef USBH_LL_Init (USBH_HandleTypeDef *phost)
 Initialize the low level portion of the host driver. More...
 
USBH_StatusTypeDef USBH_LL_DeInit (USBH_HandleTypeDef *phost)
 De-Initialize the low level portion of the host driver. More...
 
USBH_StatusTypeDef USBH_LL_Start (USBH_HandleTypeDef *phost)
 Start the low level portion of the host driver. More...
 
USBH_StatusTypeDef USBH_LL_Stop (USBH_HandleTypeDef *phost)
 Stop the low level portion of the host driver. More...
 
USBH_SpeedTypeDef USBH_LL_GetSpeed (USBH_HandleTypeDef *phost)
 Return the USB host speed from the low level driver. More...
 
USBH_StatusTypeDef USBH_LL_ResetPort (USBH_HandleTypeDef *phost)
 Reset the Host port of the low level driver. More...
 
uint32_t USBH_LL_GetLastXferSize (USBH_HandleTypeDef *phost, uint8_t pipe)
 Return the last transfered packet size. More...
 
USBH_StatusTypeDef USBH_LL_OpenPipe (USBH_HandleTypeDef *phost, uint8_t pipe_num, uint8_t epnum, uint8_t dev_address, uint8_t speed, uint8_t ep_type, uint16_t mps)
 Open a pipe of the low level driver. More...
 
USBH_StatusTypeDef USBH_LL_ClosePipe (USBH_HandleTypeDef *phost, uint8_t pipe)
 Close a pipe of the low level driver. More...
 
USBH_StatusTypeDef USBH_LL_SubmitURB (USBH_HandleTypeDef *phost, uint8_t pipe, uint8_t direction, uint8_t ep_type, uint8_t token, uint8_t *pbuff, uint16_t length, uint8_t do_ping)
 Submit a new URB to the low level driver. More...
 
USBH_URBStateTypeDef USBH_LL_GetURBState (USBH_HandleTypeDef *phost, uint8_t pipe)
 Get a URB state from the low level driver. More...
 
USBH_StatusTypeDef USBH_LL_DriverVBUS (USBH_HandleTypeDef *phost, uint8_t state)
 Drive VBUS. More...
 
USBH_StatusTypeDef USBH_LL_SetToggle (USBH_HandleTypeDef *phost, uint8_t pipe, uint8_t toggle)
 Set toggle for a pipe. More...
 
uint8_t USBH_LL_GetToggle (USBH_HandleTypeDef *phost, uint8_t pipe)
 Return the current toggle of a pipe. More...
 
void USBH_Delay (uint32_t Delay)
 Delay routine for the USB Host Library. More...
 

Variables

HCD_HandleTypeDef hhcd_USB_OTG_HS