/* Return the USB host speed from the low level driver.  */
USBH_SpeedTypeDef USBH_LL_GetSpeed(USBH_HandleTypeDef *phost)
/* Return the USB host speed from the low level driver.  */
USBH_SpeedTypeDef USBH_LL_GetSpeed(USBH_HandleTypeDef *phost)
{
    case 0:
        speed = USBH_SPEED_HIGH;
        break;
    case 1:
        speed = USBH_SPEED_FULL;
        break;
    case 2:
        speed = USBH_SPEED_LOW;
        break;
    default:
        speed = USBH_SPEED_FULL;
        break;
    }
    return speed;
}