U3_TRUE and U3_EVENT are variables to keep track of type-C enumeration mode
The initial values can be kept as
CyBool_t U3_EVENT = CyFalse;
CyBool_t U3_TRUE = CyTrue;
These variables can be updated in USBEventCB(). In case of CY_U3P_USB_EVENT_SS_COMP_ENTRY and CY_U3P_USB_EVENT_USB3_LNKFAIL events both these variables are updated to.
U3_EVENT = CyTrue;
U3_TRUE = CyFalse;
With these symbols defined, I am running across an undefined function: CyU3PControlU2b2Support. Do you have a definition for it?
CyU3PUsbControlUsb2Support is used Enable/Disable USB 2.0 device operation on FX3 device. You can refer to FX3 API Guide in the SDK.
You can find the definition in cyu3usb.c (source code in the SDK)
Path: C:\Program Files (x86)\Cypress\EZ-USB FX3 SDK\1.3\firmware\fx3_sdk_1_3_4_src\fx3_sdk_1_3_4_src\sdk\firmware\src\usb
Thanks, I just had a typo.
The issue is now resolved until I can try the code on our new hardware
(a few weeks out).