Strictly necessary cookies are on by default and cannot be turned off. Functional, Performance and Tracking/targeting/sharing cookies can be turned on below based on your preferences (this banner will remain available for you to accept cookies). You may change your cookie settings by deleting cookies from your browser. Then this banner will appear again. You can learn more details about cookies HERE.
Strictly necessary (always on)
Functional, Performance and Tracking/targeting/sharing (default off)
Usage of CyU3PDeviceGpioRestore in FX3 SDK - KBA233119
Question: What is the workaround if we try to override a GPIO that is already overridden?
Answer: In an FX3 device, if we try to override an already overridden GPIO, then it may show erroneous behavior (the GPIO may stay tri-stated).
To avoid this erroneous behavior, the already overridden GPIO should be restored to its normal mode before it is overridden again. For this, the CyU3PDeviceGpioRestore () API can be used. More information on this API can be found in the FX3 API Guide. FX3 API guide comes along with FX3 SDK and can be found in the following path: