Embedded Artistry Framework
Embedded Systems C++ Framework
Typedefs | Enumerations
embvm::eventflag Namespace Reference

Event flag types and definitions. More...

Typedefs

using handle_t = uintptr_t
 Generic storage for Event Group handles. More...
 
using flag_t = uint32_t
 Underlying storage type for the event flag group. More...
 

Enumerations

enum  option : uint8_t { option::AND = 0, option::OR = 1 }
 Option specification for VirtualEventFlag get(). More...
 

Detailed Description

Event flag types and definitions.

Typedef Documentation

◆ flag_t

Underlying storage type for the event flag group.

◆ handle_t

Generic storage for Event Group handles.

Enumeration Type Documentation

◆ option

Option specification for VirtualEventFlag get().

embvm::eventflag::option::OR will cause the get() operation to return once any of the bits specified in bits_wait are set in the event flag group.

embvm::eventflag::option::AND will cause the get() operation to return only once ALL of the bits specified in bits_wait are set in the event flag group.

Enumerator
AND 

Wait until all requested bits are set.

OR 

Wait until any of the requested bits are set.