µOS++ IIIe Reference  v6.3.15
“Perfekt ist nicht gut genug”
The third edition of µOS++, a POSIX inspired open source system, written in C++.
os::rtos::interrupts::uncritical_section Class Reference

Interrupts critical section RAII helper. More...

#include <cmsis-plus/rtos/os.h>

Public Member Functions

Constructors & Destructor
 uncritical_section ()
 Enter an interrupts uncritical section. More...
 
 ~uncritical_section ()
 Exit the interrupts uncritical section. More...
 

Static Public Member Functions

Public Member Functions
static state_t enter (void)
 Enter interrupts uncritical section. More...
 
static void exit (state_t state)
 Exit interrupts uncritical section. More...
 

Detailed Description

Interrupts critical section RAII helper.

Definition at line 598 of file os-sched.h.

Constructor & Destructor Documentation

◆ uncritical_section()

os::rtos::interrupts::uncritical_section::uncritical_section ( )
inline

Enter an interrupts uncritical section.

Parameters
None.
Note
Can be invoked from Interrupt Service Routines.

Definition at line 1154 of file os-sched.h.

◆ ~uncritical_section()

os::rtos::interrupts::uncritical_section::~uncritical_section ( )
inline

Exit the interrupts uncritical section.

Note
Can be invoked from Interrupt Service Routines.

Definition at line 1167 of file os-sched.h.

Member Function Documentation

◆ enter()

state_t os::rtos::interrupts::uncritical_section::enter ( void  )
inlinestatic

Enter interrupts uncritical section.

Parameters
None.
Returns
The previous value of the interrupts priority register.
Note
Can be invoked from Interrupt Service Routines.

Definition at line 1179 of file os-sched.h.

◆ exit()

void os::rtos::interrupts::uncritical_section::exit ( state_t  state)
inlinestatic

Exit interrupts uncritical section.

Parameters
stateThe value to restore the interrupts priority register.
Returns
Nothing.
Note
Can be invoked from Interrupt Service Routines.

Definition at line 1191 of file os-sched.h.


The documentation for this class was generated from the following file: