SikendeRTOS
RTOS for ARM Cortex M3+ SoCs designed and written from scratch
startup.h File Reference

Contains Enable/Disable Interrupts, Start/EndCritical from startup file Used to control global ISR flag. More...

#include "cpu.h"
Include dependency graph for startup.h:
This graph shows which files directly or indirectly include this file:

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

Detailed Description

Contains Enable/Disable Interrupts, Start/EndCritical from startup file Used to control global ISR flag.

Definition in file startup.h.

Function Documentation

◆ DisableInterrupts()

void DisableInterrupts ( void  )

Disable Global Interrupts (ISR = 1)

Here is the caller graph for this function:

◆ EnableInterrupts()

void EnableInterrupts ( void  )

Enable Global Interrupts (ISR = 0)

Date
6/19/2018
Here is the caller graph for this function:

◆ EndCritical()

void EndCritical ( INT32U  sr)

End of critical section (ISR = prev ISR) @parameter sr previously saved PSR.

Author
Valvano
Here is the caller graph for this function:

◆ StartCritical()

INT32U StartCritical ( void  )

Start Criticat Sections, Disable Global Interrupts.

Returns
value of current PSR
Here is the caller graph for this function:

◆ WaitForInterrupt()

void WaitForInterrupt ( void  )

Low power mode, wake up on interrupt.