discoverpixy
Functions | Variables
usbh_core.c File Reference

This file implements the functions for the core state machine process the enumeration and the control transfer process. More...

#include "usbh_ioreq.h"
#include "usb_bsp.h"
#include "usbh_hcs.h"
#include "usbh_stdreq.h"
#include "usbh_core.h"
Include dependency graph for usbh_core.c:

Functions

void USBH_Disconnect (void *pdev)
 USBH_Disconnect USB Disconnect callback function from the Interrupt. More...
 
void USBH_Connect (void *pdev)
 USBH_Connect USB Connect callback function from the Interrupt. More...
 
USBH_Status USBH_HandleControl (USB_OTG_CORE_HANDLE *pdev, USBH_HOST *phost)
 USBH_HandleControl Handles the USB control transfer state machine. More...
 
void USBH_Init (USB_OTG_CORE_HANDLE *pdev, USB_OTG_CORE_ID_TypeDef coreID, USBH_HOST *phost, USBH_Class_cb_TypeDef *class_cb, USBH_Usr_cb_TypeDef *usr_cb)
 USBH_Init Host hardware and stack initializations. More...
 
USBH_Status USBH_DeInit (USB_OTG_CORE_HANDLE *pdev, USBH_HOST *phost)
 USBH_DeInit Re-Initialize Host. More...
 
void USBH_Process (USB_OTG_CORE_HANDLE *pdev, USBH_HOST *phost)
 USBH_Process USB Host core main state machine process. More...
 
void USBH_ErrorHandle (USBH_HOST *phost, USBH_Status errType)
 USBH_ErrorHandle This function handles the Error on Host side. More...
 

Variables

USB_OTG_hPort_TypeDef USBH_DeviceConnStatus_cb
 

Detailed Description

This file implements the functions for the core state machine process the enumeration and the control transfer process.

Author
MCD Application Team
Version
V2.0.0
Date
22-July-2011
Attention

THE PRESENT FIRMWARE WHICH IS FOR GUIDANCE ONLY AIMS AT PROVIDING CUSTOMERS WITH CODING INFORMATION REGARDING THEIR PRODUCTS IN ORDER FOR THEM TO SAVE TIME. AS A RESULT, STMICROELECTRONICS SHALL NOT BE HELD LIABLE FOR ANY DIRECT, INDIRECT OR CONSEQUENTIAL DAMAGES WITH RESPECT TO ANY CLAIMS ARISING FROM THE CONTENT OF SUCH FIRMWARE AND/OR THE USE MADE BY CUSTOMERS OF THE CODING INFORMATION CONTAINED HEREIN IN CONNECTION WITH THEIR PRODUCTS.

© COPYRIGHT 2011 STMicroelectronics