![]() |
SikendeRTOS
RTOS for ARM Cortex M3+ SoCs designed and written from scratch
|
Contains Enable/Disable Interrupts, Start/EndCritical from startup file Used to control global ISR flag. More...
#include "cpu.h"
Go to the source code of this file.
Functions | |
void | EnableInterrupts (void) |
Enable Global Interrupts (ISR = 0) More... | |
void | DisableInterrupts (void) |
Disable Global Interrupts (ISR = 1) More... | |
INT32U | StartCritical (void) |
Start Criticat Sections, Disable Global Interrupts. More... | |
void | EndCritical (INT32U sr) |
End of critical section (ISR = prev ISR) @parameter sr previously saved PSR. More... | |
void | WaitForInterrupt (void) |
Low power mode, wake up on interrupt. More... | |
Contains Enable/Disable Interrupts, Start/EndCritical from startup file Used to control global ISR flag.
Definition in file startup.h.
void DisableInterrupts | ( | void | ) |
Disable Global Interrupts (ISR = 1)
void EnableInterrupts | ( | void | ) |
Enable Global Interrupts (ISR = 0)
void EndCritical | ( | INT32U | sr | ) |
End of critical section (ISR = prev ISR) @parameter sr previously saved PSR.
INT32U StartCritical | ( | void | ) |
Start Criticat Sections, Disable Global Interrupts.
void WaitForInterrupt | ( | void | ) |
Low power mode, wake up on interrupt.