usb_class_requests.h

来自「ti-Chipcon CC251x 2.4G Soc应用开发源码实例。包括rf,」· C头文件 代码 · 共 24 行

H
24
字号
void usbcrSetReport(void);
void usbcrSetProtocol(void);
void usbcrSetIdle(void);
void usbcrGetReport(void);
void usbcrGetProtocol(void);
void usbcrGetIdle(void);


#define GET_REPORT          0x01
#define GET_IDLE            0x02
#define GET_PROTOCOL        0x03

#define SET_REPORT          0x09
#define SET_IDLE            0x0A  
#define SET_PROTOCOL        0x0B

#define KEYBOARD_INDEX      0
#define MOUSE_INDEX         1

// Report types for use with the GET_REPORT request
#define RT_INPUT            1
#define RT_OUTPUT           2
#define RT_FEATURE          3

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?