VSF Documented
Macros | Typedefs | Enumerations
vsf_usb_HID.h File Reference

Go to the source code of this file.

Macros

#define USB_HID_PROTOCOL_BOOT   0
 
#define USB_HID_PROTOCOL_REPORT   1
 

Typedefs

typedef enum usb_hid_description_type_t usb_hid_description_type_t
 
typedef enum usb_hid_req_t usb_hid_req_t
 
typedef enum usb_hid_report_type_t usb_hid_report_type_t
 

Enumerations

enum  usb_hid_description_type_t {
  USB_HID_DT_HID = 0x21 ,
  USB_HID_DT_REPORT = 0x22 ,
  USB_HID_DT_PHYSICAL = 0x23
}
 
enum  usb_hid_req_t {
  USB_HID_REQ_GET_REPORT = 0x01 ,
  USB_HID_REQ_GET_IDLE = 0x02 ,
  USB_HID_REQ_GET_PROTOCOL = 0x03 ,
  USB_HID_REQ_SET_REPORT = 0x09 ,
  USB_HID_REQ_SET_IDLE = 0x0A ,
  USB_HID_REQ_SET_PROTOCOL = 0x0B
}
 
enum  usb_hid_report_type_t {
  USB_HID_REPORT_INPUT = 1 ,
  USB_HID_REPORT_OUTPUT = 2 ,
  USB_HID_REPORT_FEATURE = 3
}
 

Macro Definition Documentation

◆ USB_HID_PROTOCOL_BOOT

#define USB_HID_PROTOCOL_BOOT   0

◆ USB_HID_PROTOCOL_REPORT

#define USB_HID_PROTOCOL_REPORT   1

Typedef Documentation

◆ usb_hid_description_type_t

◆ usb_hid_req_t

◆ usb_hid_report_type_t

Enumeration Type Documentation

◆ usb_hid_description_type_t

Enumerator
USB_HID_DT_HID 
USB_HID_DT_REPORT 
USB_HID_DT_PHYSICAL 

◆ usb_hid_req_t

Enumerator
USB_HID_REQ_GET_REPORT 
USB_HID_REQ_GET_IDLE 
USB_HID_REQ_GET_PROTOCOL 
USB_HID_REQ_SET_REPORT 
USB_HID_REQ_SET_IDLE 
USB_HID_REQ_SET_PROTOCOL 

◆ usb_hid_report_type_t

Enumerator
USB_HID_REPORT_INPUT 
USB_HID_REPORT_OUTPUT 
USB_HID_REPORT_FEATURE