µ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::flags Namespace Reference

Generic flags namespace. More...

Namespaces

namespace  mode
 Flags modes.
 

Typedefs

using mask_t = uint32_t
 Type of variables holding flags masks.
 
using mode_t = uint32_t
 Type of variables holding flags modes.
 

Enumerations

enum  : mask_t {
  any = 0 ,
  all = 0xFFFFFFFF
}
 Flags sets with special meaning. More...
 

Detailed Description

The os::rtos::flags namespace groups event types and enumerations.

Typedef Documentation

◆ mask_t

using os::rtos::flags::mask_t = typedef uint32_t

An unsigned type large enough to store all the flags, usually 32-bits wide.

Both thread event flags and generic event flags use this definition.

Definition at line 266 of file os-decls.h.

◆ mode_t

using os::rtos::flags::mode_t = typedef uint32_t

An unsigned type used to hold the mode bits passed to functions returning flags.

Both thread event flags and generic event flags use this definition.

Definition at line 277 of file os-decls.h.

Enumeration Type Documentation

◆ anonymous enum

anonymous enum : mask_t
Enumerator
any 

Special mask to represent any flag.

all 

Special mask to represent all flags.

Definition at line 312 of file os-decls.h.

313 {
317 any = 0,
318
322 all = 0xFFFFFFFF
323 };