aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/pal.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/pal.h')
-rw-r--r--src/lib/pal.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/lib/pal.h b/src/lib/pal.h
index c45a801e6..b75582ee1 100644
--- a/src/lib/pal.h
+++ b/src/lib/pal.h
@@ -28,6 +28,13 @@
#define _PAL_H_
/**
+ * @brief Bits in a mode word dedicated as mode selector.
+ * @details The other bits are not defined and may be used as device-specific
+ * option bits.
+ */
+#define PAL_MODE_MASK 0xF
+
+/**
* @brief After reset state.
* @details The state itself is not specified and is architecture dependent,
* it is guaranteed to be equal to the after-reset state. It is