GD32F10x USB-Device: E:/USB Libraries/GD32_USB_Device_Library/Class/hid/inc/usbd_custom_hid_core.h File Reference

GD32F103 Firmware

usbd_custom_hid_core.h File Reference

Custom HID device class core defines. More...

#include "usbd_enum.h"

Go to the source code of this file.

Macros

#define USB_CUSTOMHID_DESC_SIZE   9
 
#define CUSTOMHID_REPORT_DESC_SIZE   95
 
#define CUSTOMHID_CONFIG_DESC_SIZE   41
 
#define CUSTOMHID_DESC_TYPE   0x21
 
#define CUSTOMHID_REPORT_DESCTYPE   0x22
 
#define GET_REPORT   0x01
 
#define GET_IDLE   0x02
 
#define GET_PROTOCOL   0x03
 
#define SET_REPORT   0x09
 
#define SET_IDLE   0x0A
 
#define SET_PROTOCOL   0x0B
 

Functions

uint8_t USBD_CUSTOMHID_SendReport (USB_DEVICE_HANDLE *pudev, uint8_t *report, uint16_t Len)
 Send custom HID Report. More...
 

Variables

USBD_Class_cb_TypeDef USBD_CUSTOMHID_cb
 

Detailed Description

Custom HID device class core defines.

Author
MCU SD
Version
V1.0.0
Date
26-Dec-2014

Definition in file usbd_custom_hid_core.h.

Generated on Fri Feb 6 2015 14:56:36 for GD32F10x USB-Device by   doxygen 1.8.8