This is a line of GHI sample code found for USBH_RawDevice mouse;

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.


Here is good source for information



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: