2 Replies Latest reply on Feb 8, 2016 12:35 AM by DaHu_285096

    Pin numbering for interrupt


      I have an interrupt on a Port 0 pin.


      The handler uses pinState = CL_DAT_INTSTAT;  (where my pin in named CL_DAT) to determine which pin in port 0 caused the interrupt.


      I cannot find reference to INSTAT in documentation and the PINs document explains how to create interrupt for pins on schematic but not how to identify the pin within the interrupt.


      Does the INSTAT return pin position (0,1,2,3...) or binary value of mask like (1,2,4...) ?