Regular interrupts in S state

Discussions and support about ChibiOS/RT, the free embedded RTOS.
Prathibha Prakash
Posts: 10
Joined: Sat Jun 22, 2019 6:15 pm

Regular interrupts in S state

Postby Prathibha Prakash » Tue Aug 13, 2019 12:55 pm

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??

User avatar
Giovanni
Site Admin
Posts: 12177
Joined: Wed May 27, 2009 8:48 am
Location: Salerno, Italy
Has thanked: 570 times
Been thanked: 487 times
Contact:

Re: Regular interrupts in S state

Postby Giovanni » Tue Aug 13, 2019 3:20 pm

It is serviced later, note that the system never -stays- in S state.

Giovanni

Prathibha Prakash
Posts: 10
Joined: Sat Jun 22, 2019 6:15 pm

Re: Regular interrupts in S state

Postby Prathibha Prakash » Wed Aug 14, 2019 6:47 am

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??


Return to “ChibiOS/RT”

Who is online

Users browsing this forum: MSN [Bot] and 1 guest