Values of Members like Target, ReqType, Direction, ReqCode, Value and Index from ControlEndPt

Question: In CyAPI.lib, to use methods like XferData(), it requires to configure the members like Target, ReqType, Direction, ReqCode, Value and Index from ControlEndPt (instance of CCyControlEndPoint). Where can I find the information of these members?

 

Answer:

These values are not specific to cypress. It is as per the USB specification. These values can be found in the USB 2.0 Specification.