33 "Too many NotificationKind values for FreeRTOS notification slots.");
75 ?
static_cast<uint8_t
>(
system)
88template<
typename Enum>
90 return 1u <<
static_cast<uint32_t
>(
static_cast<std::underlying_type_t<Enum>
>(e));
95template<
typename Enum,
typename... Rest>
96inline constexpr uint32_t
eventMask(Enum first, Rest... rest) {
#define configTASK_NOTIFICATION_ARRAY_ENTRIES
constexpr uint32_t eventMask(Enum e)
Helper function to create an event mask from an enum value.
SystemNotification
System-defined notification types reserved by the framework.
NotificationKind
Identifies the source of a notification.
A tagged union representing either a system or user-defined notification.
Notification()
Default constructor initializes to a system notification of None.
SystemNotification system
uint8_t code() const
Get the notification code.
Notification(uint8_t userCode)
Construct a Notification with a user-defined code.
Notification(SystemNotification s)
Construct a Notification with a specific system notification type.