discoverpixy
Macros | Functions
usbh_ioreq.h File Reference

Header file for usbh_ioreq.c. More...

#include "usb_conf.h"
#include "usbh_core.h"
#include "usbh_def.h"
Include dependency graph for usbh_ioreq.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define USBH_SETUP_PKT_SIZE   8
 
#define USBH_EP0_EP_NUM   0
 
#define USBH_MAX_PACKET_SIZE   0x40
 

Functions

USBH_Status USBH_CtlSendSetup (USB_OTG_CORE_HANDLE *pdev, uint8_t *buff, uint8_t hc_num)
 USBH_CtlSendSetup Sends the Setup Packet to the Device. More...
 
USBH_Status USBH_CtlSendData (USB_OTG_CORE_HANDLE *pdev, uint8_t *buff, uint8_t length, uint8_t hc_num)
 USBH_CtlSendData Sends a data Packet to the Device. More...
 
USBH_Status USBH_CtlReceiveData (USB_OTG_CORE_HANDLE *pdev, uint8_t *buff, uint8_t length, uint8_t hc_num)
 USBH_CtlReceiveData Receives the Device Response to the Setup Packet. More...
 
USBH_Status USBH_BulkReceiveData (USB_OTG_CORE_HANDLE *pdev, uint8_t *buff, uint16_t length, uint8_t hc_num)
 USBH_BulkReceiveData Receives IN bulk packet from device. More...
 
USBH_Status USBH_BulkSendData (USB_OTG_CORE_HANDLE *pdev, uint8_t *buff, uint16_t length, uint8_t hc_num)
 USBH_BulkSendData Sends the Bulk Packet to the device. More...
 
USBH_Status USBH_InterruptReceiveData (USB_OTG_CORE_HANDLE *pdev, uint8_t *buff, uint8_t length, uint8_t hc_num)
 USBH_InterruptReceiveData Receives the Device Response to the Interrupt IN token. More...
 
USBH_Status USBH_InterruptSendData (USB_OTG_CORE_HANDLE *pdev, uint8_t *buff, uint8_t length, uint8_t hc_num)
 USBH_InterruptSendData Sends the data on Interrupt OUT Endpoint. More...
 
USBH_Status USBH_CtlReq (USB_OTG_CORE_HANDLE *pdev, USBH_HOST *phost, uint8_t *buff, uint16_t length)
 USBH_CtlReq USBH_CtlReq sends a control request and provide the status after completion of the request. More...
 

Detailed Description

Header file for usbh_ioreq.c.

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