You are here

Can the level of CTL15 be read like a GPIO | Cypress Semiconductor

Can the level of CTL15 be read like a GPIO

Summary: 1 Reply, Latest post by Madhu Sudhan on 09 Mar 2016 07:25 AM PST
Verified Answers: 0
Last post
Log in to post new comments.
Rene Bakker's picture
1 post

Due to a misinterpretation of the meaning of the INT/CTL15 input it had been connected in hardware to a status signal. So it would be nice to be able to read the level of this pin CTL15 like a GPIO or through another method or by means of other functions. Is this possible in anyway?


mady's picture
Cypress Employee
963 posts


You cannot use this as an ordinary GPIO. However, may use this as a control input pin in the GPIF.

In your GPIF Designer, add an input pin and select the "INT" in the drop down list.

In the state machine, you can have a transition equation as which goes from one state is another when this INT Control pin goes high or low. In the resulting states, you can add the INTR_CPU action. This would trigger an interrupt to the firmware which can be handled by a callback function registered using  CyU3PGpifRegisterCallback. Refer the FX3 API GUide and GPIF Designer User guide for details on CyU3PGpifRegisterCallback and INTR_CPU.


- Madhu Sudhan

Log in to post new comments.