summaryrefslogtreecommitdiff
path: root/code/fe310/eos/eve/eve.h
diff options
context:
space:
mode:
Diffstat (limited to 'code/fe310/eos/eve/eve.h')
-rw-r--r--code/fe310/eos/eve/eve.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/code/fe310/eos/eve/eve.h b/code/fe310/eos/eve/eve.h
index 2fb2fb5..2ac93a2 100644
--- a/code/fe310/eos/eve/eve.h
+++ b/code/fe310/eos/eve/eve.h
@@ -5,9 +5,13 @@
#include "eve_track.h"
#include "eve_platform.h"
-#define EVE_OK 0
-#define EVE_ERR -1
-#define EVE_ERR_TEXT -100
+#define EVE_OK 0
+#define EVE_ERR -1
+#define EVE_ERR_TEXT -100
+
+#define EVE_PSTATE_ACTIVE 0
+#define EVE_PSTATE_STANDBY 1
+#define EVE_PSTATE_SLEEP 3
void eve_command(uint8_t command, uint8_t parameter);