|USB : USB Classes A Closer Look at HID Class|
In USB-speak, “IN” or “INPUT” always means “going toward the PC Host.”
Input items, therefore, are items that are ONLY transmitted from your peripheral device toward the PC host.Input Reports get sent IN to PC host, at a regular predetermined interval (1-255 msec for a full speed device).
This is an important concept: Input Reports are requested by the PC on a regular (timed) basis, whether any data has changed or not.
The device can decline to send Input Report data if it decides that the data is not ready yet. This is very easy to do in HIDmaker FS: our generated peripheral side code provides flags with names like Ep1XmtDataReady, that your code can set to 0 (or False) to make sure that data is not sent this time around.
|1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17|