3 Replies Latest reply on Jun 10, 2018 2:24 AM by bob.marlowe

    Difference between CyEnterCriticalSection, CyGlobalIntDisable, CyDisableInts

    bri_2235981

      What is the difference between CyEnterCriticalSection, CyGlobalIntDisable, CyDisableInts and their associated exit/enable functions?

         

      Each of the above functions disables all interrupts.  I can't find any documentation on which, if any, is preferred - and under what circumstances.

         

      Thanks for any help!

         

      Brian