summaryrefslogtreecommitdiff
path: root/fw/fe310/eos/eve/eve.h
diff options
context:
space:
mode:
Diffstat (limited to 'fw/fe310/eos/eve/eve.h')
-rw-r--r--fw/fe310/eos/eve/eve.h16
1 files changed, 10 insertions, 6 deletions
diff --git a/fw/fe310/eos/eve/eve.h b/fw/fe310/eos/eve/eve.h
index ae0a672..02fa697 100644
--- a/fw/fe310/eos/eve/eve.h
+++ b/fw/fe310/eos/eve/eve.h
@@ -56,17 +56,21 @@ int eve_cmd_exec(int w);
void eve_cmd_burst_start(void);
void eve_cmd_burst_end(void);
-int eve_init(uint8_t wakeup_cause, int touch_calibrate, uint32_t *touch_matrix, uint8_t gpio_dir);
-int eve_run(uint8_t wakeup_cause);
+void eve_handle_intr(void);
+
+int eve_init(uint8_t gpio_dir, int touch_calibrate, uint32_t *touch_matrix);
void eve_start(void);
void eve_stop(void);
+void eve_start_clk(void);
+void eve_stop_clk(void);
+
+void eve_active(void);
+void eve_standby(void);
+void eve_sleep(void);
+void eve_wake(void);
int eve_gpio_get(int gpio);
void eve_gpio_set(int gpio, int val);
uint8_t eve_gpio_get_dir(void);
void eve_gpio_set_dir(uint8_t dir);
-
-void eve_standby(void);
-void eve_sleep(void);
-void eve_active(void);
void eve_brightness(uint8_t b);