Go to the source code of this file.
Defines | |
| #define | USB_TIMEOUT 10000 |
| (in milliseconds) | |
| #define | HID_REPORT_GET 0x01 |
| #define | HID_REPORT_SET 0x09 |
| #define | HID_GET_IDLE 0x02 |
| #define | HID_SET_IDLE 0x0A |
| #define | HID_RT_INPUT 0x01 |
| #define | HID_RT_OUTPUT 0x02 |
| #define | HID_RT_FEATURE 0x03 |
| #define HID_GET_IDLE 0x02 |
Definition at line 21 of file constants.h.
| #define HID_REPORT_GET 0x01 |
Definition at line 18 of file constants.h.
Referenced by hid_get_feature_report(), hid_get_input_report(), and hid_get_item_value().
| #define HID_REPORT_SET 0x09 |
Definition at line 19 of file constants.h.
Referenced by hid_set_feature_report(), and hid_set_output_report().
| #define HID_RT_FEATURE 0x03 |
Definition at line 26 of file constants.h.
Referenced by hid_get_feature_report(), hid_get_item_value(), and hid_set_feature_report().
| #define HID_RT_INPUT 0x01 |
| #define HID_RT_OUTPUT 0x02 |
| #define HID_SET_IDLE 0x0A |
| #define USB_TIMEOUT 10000 |
(in milliseconds)
If you have a low-speed device, it may only be able to send ~160 bytes/sec. Ideally, then, this timeout would be related to the number of bytes expected from the device.
Definition at line 16 of file constants.h.
Referenced by hid_get_feature_report(), hid_get_input_report(), hid_get_item_value(), hid_prepare_hid_descriptor(), hid_prepare_report_descriptor(), hid_set_feature_report(), hid_set_idle(), and hid_set_output_report().
1.5.1