summaryrefslogtreecommitdiff
path: root/xpp/mpp.h
diff options
context:
space:
mode:
Diffstat (limited to 'xpp/mpp.h')
-rw-r--r--xpp/mpp.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/xpp/mpp.h b/xpp/mpp.h
index e6b8e3a..53ea81e 100644
--- a/xpp/mpp.h
+++ b/xpp/mpp.h
@@ -95,6 +95,9 @@ struct mpp_header {
enum mpp_ser_op {
SER_CARD_INFO_GET = 0x1,
SER_STAT_GET = 0x3,
+/* Status bits */
+#define SER_STAT_WATCHDOG_READY(s) ((s) & 0x01)
+#define SER_STAT_XPD_ALIVE(s) ((s) & 0x02)
};
/* Individual commands structure */