Functions
usb_hcd.h File Reference

Host layer Header file. More...

#include "usb_regs.h"
#include "usb_core.h"
Include dependency graph for usb_hcd.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

uint32_t HCD_GetCurrentFrame (USB_OTG_CORE_HANDLE *pdev)
 HCD_GetCurrentFrame This function returns the frame number for sof packet. More...
 
uint32_t HCD_GetCurrentSpeed (USB_OTG_CORE_HANDLE *pdev)
 HCD_GetCurrentSpeed Get Current device Speed. More...
 
HC_STATUS HCD_GetHCState (USB_OTG_CORE_HANDLE *pdev, uint8_t ch_num)
 HCD_GetHCState This function returns the HC Status. More...
 
URB_STATE HCD_GetURB_State (USB_OTG_CORE_HANDLE *pdev, uint8_t ch_num)
 HCD_GetURB_State This function returns the last URBstate. More...
 
uint32_t HCD_GetXferCnt (USB_OTG_CORE_HANDLE *pdev, uint8_t ch_num)
 HCD_GetXferCnt This function returns the last URBstate. More...
 
uint32_t HCD_HC_Init (USB_OTG_CORE_HANDLE *pdev, uint8_t hc_num)
 HCD_HC_Init This function prepare a HC and start a transfer. More...
 
uint32_t HCD_Init (USB_OTG_CORE_HANDLE *pdev, USB_OTG_CORE_ID_TypeDef coreID)
 HCD_Init Initialize the HOST portion of the driver. More...
 
uint32_t HCD_IsDeviceConnected (USB_OTG_CORE_HANDLE *pdev)
 HCD_IsDeviceConnected Check if the device is connected. More...
 
uint32_t HCD_IsPortEnabled (USB_OTG_CORE_HANDLE *pdev)
 HCD_IsPortEnabled This function checks if port is enabled. More...
 
uint32_t HCD_ResetPort (USB_OTG_CORE_HANDLE *pdev)
 HCD_ResetPort Issues the reset command to device. More...
 
uint32_t HCD_SubmitRequest (USB_OTG_CORE_HANDLE *pdev, uint8_t hc_num)
 HCD_SubmitRequest This function prepare a HC and start a transfer. More...
 

Detailed Description

Host layer Header file.

Author
MCD Application Team
Version
V2.2.0
Date
09-November-2015
Attention

© COPYRIGHT 2015 STMicroelectronics

Licensed under MCD-ST Liberty SW License Agreement V2, (the "License"); You may not use this file except in compliance with the License. You may obtain a copy of the License at:

   http://www.st.com/software_license_agreement_liberty_v2

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Definition in file usb_hcd.h.



rosflight_firmware
Author(s): Daniel Koch , James Jackson
autogenerated on Thu Oct 24 2019 03:17:21