I am porting some code from STM32 across to PSOC5LP.
One of the requirements is to be able to Read the enable state of an external interrupt, disable the interrupt and then put it back into same state as before being disabled.
I have a Digital input pin going to a derived interrupt. I started it using the StartEx and can stop using Stop but what command can I use that gives result like this:
lastState = MyExtInterrupt_Enabled();
For isr component there is a isr_GetState() API which returns the enabled/disabled state.