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.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/code/fe310/eos/eve/eve.h b/code/fe310/eos/eve/eve.h
index 2ac93a2..c27d81f 100644
--- a/code/fe310/eos/eve/eve.h
+++ b/code/fe310/eos/eve/eve.h
@@ -13,6 +13,15 @@
#define EVE_PSTATE_STANDBY 1
#define EVE_PSTATE_SLEEP 3
+#define EVE_TAG_NOTAG 0
+
+typedef struct EVERect {
+ int16_t x;
+ int16_t y;
+ uint16_t w;
+ uint16_t h;
+} EVERect;
+
void eve_command(uint8_t command, uint8_t parameter);
uint8_t eve_read8(uint32_t addr);