Hi,
if I have block:
key = Hwi_disable();
...
block of code
...
Hwi_restore(key);
Can occure any situation where scheduler preempt this block? Mention that I do not use any Swi_post or Semaphore or somethink like this in this block. Can be triggered Clock or somethink like this? Is there any hardware trigger which is not disable (mention mask is not used while configuration)?