Why would CyU3PGpioSetValue() return CY_U3P_ERROR_NOT_CONFIGURED ? | Cypress Semiconductor
Why would CyU3PGpioSetValue() return CY_U3P_ERROR_NOT_CONFIGURED ?
Apologies, I'm very new to this.
I'm working with AN75779. I've added a new GPIO (an output) in my "Interface Definition" in GPIF II Designer.
I've done a build/clean and a build/rebuild.
I've copied my cyfxgpif2config.h over into my eclipse directory.
In eclipse I've done a build/clean and a build/build project.
When I try to use CyU3PGpioSetValue() to set the value of my new GPIO, it returns CY_U3P_ERROR_NOT_CONFIGURED, which the header file says means "the pin is not selected as a GPIO in the IOMATRIX."
I have no idea what this means. What did I do wrong, and how do I fix it?