discoverpixy
Classes | Macros | Typedefs | Enumerations | Functions | Variables
usbh_hid_core.h File Reference

This file contains all the prototypes for the usbh_hid_core.c. More...

#include "usbh_core.h"
#include "usbh_stdreq.h"
#include "usb_bsp.h"
#include "usbh_ioreq.h"
#include "usbh_hcs.h"
Include dependency graph for usbh_hid_core.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  HID_cb
 
struct  _HID_Report
 
struct  _HID_Process
 

Macros

#define USB_HID_REQ_GET_REPORT   0x01
 
#define USB_HID_GET_IDLE   0x02
 
#define USB_HID_GET_PROTOCOL   0x03
 
#define USB_HID_SET_REPORT   0x09
 
#define USB_HID_SET_IDLE   0x0A
 
#define USB_HID_SET_PROTOCOL   0x0B
 

Typedefs

typedef struct HID_cb HID_cb_TypeDef
 
typedef struct _HID_Report HID_Report_TypeDef
 
typedef struct _HID_Process HID_Machine_TypeDef
 

Enumerations

enum  HID_State {
  HID_IDLE = 0, HID_SEND_DATA, HID_BUSY, HID_GET_DATA,
  HID_POLL, HID_ERROR
}
 
enum  HID_CtlState {
  HID_REQ_IDLE = 0, HID_REQ_GET_REPORT_DESC, HID_REQ_GET_HID_DESC, HID_REQ_SET_IDLE,
  HID_REQ_SET_PROTOCOL, HID_REQ_SET_REPORT
}
 

Functions

USBH_Status USBH_Set_Report (USB_OTG_CORE_HANDLE *pdev, USBH_HOST *phost, uint8_t reportType, uint8_t reportId, uint8_t reportLen, uint8_t *reportBuff)
 USBH_Set_Report Issues Set Report. More...
 

Variables

USBH_Class_cb_TypeDef HID_cb
 

Detailed Description

This file contains all the prototypes for the usbh_hid_core.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