µOS++ IIIe Reference 7.0.0
The third edition of µOS++, a POSIX inspired open source framework, written in C++
Loading...
Searching...
No Matches
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.
 
 ~uncritical_section ()
 Exit the interrupts uncritical section.
 

Static Public Member Functions

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

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 1160 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 1170 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 1180 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 1190 of file os-sched.h.


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