For firmware development for the EZ-USB, what is an appropiate data structure for the various descriptors (configuration, interface, etc) and for the 11 standard requests in a control transfer?

Question: For firmware development for the EZ-USB, what is an appropiate data structure for the various descriptors (configuration, interface, etc) and for the 11 standard requests in a control transfer?

 

Answer:

They are defined as structs. You may like to review the document "EZ-USB General Purpose Driver Spec" in C:\Cypress\USB\Doc\EZ-USB General, and take a look at our driver source code under C:\Cypress\USB\Drivers\ezusbdrv as starting points.