SikendeRTOS
RTOS for ARM Cortex M3+ SoCs designed and written from scratch
startup.h
Go to the documentation of this file.
1
6#ifndef __startup_H__
7#define __startup_H__
8
9
10#include "cpu.h"
11
17
18
23
24
30
31
38
42void WaitForInterrupt(void); // low power mode
43
44
45
46#endif // __startup_H__
47
uint32_t INT32U
Definition: cpu_vars.h:15
INT32U StartCritical(void)
Start Criticat Sections, Disable Global Interrupts.
void EndCritical(INT32U sr)
End of critical section (ISR = prev ISR) @parameter sr previously saved PSR.
void WaitForInterrupt(void)
Low power mode, wake up on interrupt.
void EnableInterrupts(void)
Enable Global Interrupts (ISR = 0)
void DisableInterrupts(void)
Disable Global Interrupts (ISR = 1)