- IN endpoints have the address such that the direction bit (bmBIT7) is 1.
0x01 - OUT endpoint
0x02 - OUT endpoint
0x81 - IN endpoint.
- CY_U3P_UIB_SOCKET_PROD_[x] or CY_U3P_UIB_SOCKET_CONS_[x] is to identify the socket used in the DMA channel. The endpoints are mapped to these sockets accordingly such that 0x01 maps to CY_U3P_UIB_SOCKET_PROD_1, 0x81 maps to CY_U3P_UIB_SOCKET_CONS_1 and so on. But, for the endpoints to be configured, the CyU3PSetEpConfig() API has to be used with the endpoint number and the endpoint configuration being the API parameters. Please refer to any of the USB based examples that come with the FX3 SDK for reference code snippets.