cancel
Showing results for 
Search instead for 
Did you mean: 

PSoC 4 MCU

Anonymous
Not applicable

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.

Attachments


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

     CY_ISR(Digital_ISR_0_Handler)

     {

         //Digital_ISR_0_ClearPending();

         LED_Extern_0_Write(Pin_D_0_Read());

         //digitalPortCheck(); 

     }

(Called within another function)
Digital_ISR_0_StartEx(Digital_ISR_0_Handler);

0 Likes
2 Replies
Anonymous
Not applicable

?

0 Likes
Vasanth
Moderator
Moderator

Hello Jamie,

Could you please let me know what are you observing at your end. It is not exactly clear from the question. Could you please rephrase the question? If you could share your project, that will be also helpful.

Best Regards,
VSRS

0 Likes