#include <stdint.h>
#include "port/FreeRTOSConfig.h"
Go to the source code of this file.
|
| struct | Notification |
| | A tagged union representing either a system or user-defined notification. More...
|
| |
|
| enum class | NotificationKind : uint8_t { System
, User
} |
| | Identifies the source of a notification. More...
|
| |
| enum class | SystemNotification : uint8_t {
None = 0
, NetworkReady
, NetworkDown
, TimeValid
,
LocalTimeValid
, TimeSync
, TimeInvalid
, WaitForTimeout
,
HttpServerStarted
, GpioChange
, Count
} |
| | System-defined notification types reserved by the framework. More...
|
| |
|
| template<typename Enum > |
| constexpr uint32_t | eventMask (Enum e) |
| | Helper function to create an event mask from an enum value.
|
| |
| template<typename Enum , typename... Rest> |
| constexpr uint32_t | eventMask (Enum first, Rest... rest) |
| |
◆ NotificationKind
◆ SystemNotification
| Enumerator |
|---|
| None | |
| NetworkReady | |
| NetworkDown | |
| TimeValid | |
| LocalTimeValid | |
| TimeSync | |
| TimeInvalid | |
| WaitForTimeout | |
| HttpServerStarted | |
| GpioChange | |
| Count | |
Definition at line 18 of file Notification.h.
◆ eventMask() [1/2]
template<typename Enum >
| constexpr uint32_t eventMask |
( |
Enum |
e | ) |
|
|
inlineconstexpr |
◆ eventMask() [2/2]
template<typename Enum , typename... Rest>
| constexpr uint32_t eventMask |
( |
Enum |
first, |
|
|
Rest... |
rest |
|
) |
| |
|
inlineconstexpr |
Definition at line 96 of file Notification.h.
96 {
98}
constexpr uint32_t eventMask(Enum e)
Helper function to create an event mask from an enum value.
References eventMask().