summaryrefslogtreecommitdiff
path: root/fw/fe310/eos/eve/eve_eos.h
diff options
context:
space:
mode:
authorUros Majstorovic <majstor@majstor.org>2021-12-07 20:14:23 +0100
committerUros Majstorovic <majstor@majstor.org>2021-12-07 20:14:23 +0100
commit9c8f5a5e8f11e4a5012d55b96afae290242b8fdd (patch)
tree785538c3539d0b3d710f983c55c089567f5a458a /fw/fe310/eos/eve/eve_eos.h
parent7ded8116d90081851e0ddb1b4bdd77b645f6535c (diff)
fixed eve, spi start/stop interface
Diffstat (limited to 'fw/fe310/eos/eve/eve_eos.h')
-rw-r--r--fw/fe310/eos/eve/eve_eos.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/fw/fe310/eos/eve/eve_eos.h b/fw/fe310/eos/eve/eve_eos.h
new file mode 100644
index 0000000..80eea86
--- /dev/null
+++ b/fw/fe310/eos/eve/eve_eos.h
@@ -0,0 +1,6 @@
+#include <stdint.h>
+
+int eos_eve_init(uint8_t wakeup_cause, uint8_t gpio_dir, int touch_calibrate, uint32_t *touch_matrix);
+int eos_eve_run(uint8_t wakeup_cause);
+void eos_eve_start(void);
+void eos_eve_stop(void);