We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Not perfect, but you could try something like:Disable SysTick ExceptionRead SYST_CSR.COUNTFLAG.Clear SYST_CSR.TICKINT to 0.Re-enable SysTick ExceptionRe-read SYST_CSR.COUNTFLAG.If COUNTFLAG was set, write 1 to ICSR.PENDSTSET.Set SYST_CSR.TICKINT back to 1.hths.
There aren't many (if any) reasons I can see why you would want to do this. Most things typically requiring critical regions on other processors can be handled via exclusive accesses or the PendSV handler on Cortex-M3. What was the reason for your critical region?s.
...It's amazing, you can mask the external interrupts, but it seems that there isn't a way to mask the specific SYSTICK interrupt source...