Page 1 of 1

Regular interrupts in S state

Posted: Tue Aug 13, 2019 12:55 pm
by Prathibha Prakash
In S state regular interrupts are disabled, so if a systick timer occurs while in the S state will the interrupt be skipped or serviced later??

Re: Regular interrupts in S state

Posted: Tue Aug 13, 2019 3:20 pm
by Giovanni
It is serviced later, note that the system never -stays- in S state.

Giovanni

Re: Regular interrupts in S state

Posted: Wed Aug 14, 2019 6:47 am
by Prathibha Prakash
chSysLock();
I-class()
I-class()
I-class()
chSchRescheduleS();
chSysUnlock();

In this case if a systick timer occurs while doing reschedule (S state regular intrerrupts disabled),how to service it..interrupt may miss??