Posted on May 17, 2011 at 14:17Hi All, I did some test, and the result is that the handler code above does not ensure atomicity. In fact the USART ISR was setting the pending bit... just because the USART ISR was being executed right after entering ...
Posted on May 17, 2011 at 14:17Thank you for you answer. The RTOS is one made by me. This is my code, by the way. __asm void PendSVHandler(void) { PRESERVE8 CPSID i .... code here (context save/restore) ... .... Here is when I chec...