summaryrefslogtreecommitdiffstats
path: root/types.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'types.hpp')
-rw-r--r--types.hpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/types.hpp b/types.hpp
index 41dddd9..d3be704 100644
--- a/types.hpp
+++ b/types.hpp
@@ -32,8 +32,20 @@ namespace sensor
using Offset = uint8_t;
+/**
+ * @enum SkipAssertion
+ * Matching value for skipping the update
+ */
+enum class SkipAssertion
+{
+ NONE, //No skip defined
+ ASSERT, //Skip on Assert
+ DEASSERT, //Skip on Deassert
+};
+
struct Values
{
+ SkipAssertion skip;
Value assert;
Value deassert;
};
OpenPOWER on IntegriCloud