AnsweredAssumed Answered

How to know if all interrupts are disabled or not Kinetis KL1x

Question asked by sys@allmatic.com on Oct 28, 2015
Latest reply on Oct 30, 2015 by xiangjun.rong

Hi all,

 

On MKL17Z I use "OSA_EnterCritical(kCriticalDisableInt)" and "OSA_ExitCritical(kCriticalDisableInt)" to disable/enable interrupts, and all seems to work fine.

 

My question is: is there a way to READ/GET the status of interrupts enabling? At the end to know if I am in a Critical section or not.

 

Thanks in advance!

Sandro

Outcomes