1 Reply Latest reply on Feb 19, 2019 4:21 AM by JoMe_264151

    Determine Enabled State of interrupt

    DaHu_285096

      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();

       

      Thanks