StratifyOS icon indicating copy to clipboard operation
StratifyOS copied to clipboard

Can PendSV handle hibernate?

Open tyler-gilbert opened this issue 7 years ago • 0 comments

If PendSV is the lowest priority, hibernate can set a flag to indicate to the PendSV handler to deepsleep but not change the context. The deepsleep will happen with the lowest IRQ priority and allow any enabled interrupt to wake the processor (assuming PendSV is set to the lowest IRQ priority and others are slightly above).

tyler-gilbert avatar May 06 '18 01:05 tyler-gilbert