Regular interrupts in S state
-
Prathibha Prakash
- Posts: 10
- Joined: Sat Jun 22, 2019 6:15 pm
Regular interrupts in S state
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??
- Giovanni
- Site Admin
- Posts: 14891
- Joined: Wed May 27, 2009 8:48 am
- Has thanked: 1202 times
- Been thanked: 996 times
Re: Regular interrupts in S state
It is serviced later, note that the system never -stays- in S state.
Giovanni
Giovanni
-
Prathibha Prakash
- Posts: 10
- Joined: Sat Jun 22, 2019 6:15 pm
Re: Regular interrupts in S state
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??
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??