USB Raw

This is a line of GHI sample code found for USBH_RawDevice mouse;
http://www.ghielectronics.com/downloads/NETMF/Library%20Documentation%20v4.1/html/cad016bc-c045-3553-16a5-a86db398c68f.htm



if (cd.interfaces[i].endpoints[ep].bmAttributes == 0x03)  // is it interrupt Endpoint?


I need to create a USBH_RawDevice joystick;

My question is where can I find information on usage or values used for .bmAttributes. Such as the == 0x03

I do not seem to be able to find anything that explains what bmAttributes is or on what values are used for whatever device.

Thanks

Here is good source for information

Architect

Thanks…

Stupid is what stupid does… Me <

I have that book and the pdf in on my PC desktop!
Never thought of it…

Even better! :slight_smile: