GD32F1x0: USB/GD32_USB_Device_Library/Class/hid/inc/usbd_hid_core.h File Reference

GD32F1x0

usbd_hid_core.h File Reference

USB mouse (USB HID device) header file. More...

#include "usbd_core.h"

Go to the source code of this file.

Macros

#define USB_HID_CONFIG_DESC_SIZE   34
 
#define USB_HID_DESC_SIZE   9
 
#define USB_HID_REPORT_DESC_SIZE   21
 
#define HID_DESC_TYPE   0x21
 
#define HID_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_HID_SendReport (USB_DEVICE_HANDLE *pudev, uint8_t *report, uint16_t Len)
 Send mouse report. More...
 

Variables

USBD_Class_cb_TypeDef USBD_HID_cb
 

Detailed Description

USB mouse (USB HID device) header file.

Author
MCU SD
Version
V1.0.1
Date
6-Sep-2014

Definition in file usbd_hid_core.h.

Generated by   doxygen 1.8.10