2 Replies Latest reply on Feb 27, 2018 1:29 AM by VasanthR_91

    Pin Driven Interrupt Issues.  Is this a valid implementation?


      I am currently trying to get 8 digital pins to fire their own interrupts when a push button changes state; for now toggling an LED.
      PSOC appears to allow this, but judging by what I have read in some places of the documentation I'm not entirely conviced.  I am using a PSOC-049.


      I have included a picture of the schematic and pin assignemnents for reference.



      If it is possible, what is wrong with my code?


      (outside of any other functions) I have tried using clearpending and using a read function to clear the status?

           CY_ISR_PROTO(Digital_ISR_0_Handler); // Interrupt Prototype Macro











      (Called within another function)