Logo Pico-Framework A web-first embedded framework for C++
Loading...
Searching...
No Matches
DaysOfWeek.h
Go to the documentation of this file.
1#pragma once
2
3#include <cstdint>
4
18enum class Day : uint8_t {
19 Sunday = 1 << 0,
20 Monday = 1 << 1,
21 Tuesday = 1 << 2,
22 Wednesday = 1 << 3,
23 Thursday = 1 << 4,
24 Friday = 1 << 5,
25 Saturday = 1 << 6,
26};
27
31using DaysOfWeek = uint8_t;
Day
Enum for days of the week as bitmask flags.
Definition DaysOfWeek.h:18
@ Tuesday
@ Monday
@ Thursday
@ Wednesday
@ Saturday
@ Sunday
@ Friday
uint8_t DaysOfWeek
Type alias for a set of days (bitmask).
Definition DaysOfWeek.h:31