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.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/fw/fe310/eos/eve/eve.h b/fw/fe310/eos/eve/eve.h
index e85ed76..b2c1141 100644
--- a/fw/fe310/eos/eve/eve.h
+++ b/fw/fe310/eos/eve/eve.h
@@ -54,6 +54,11 @@ int eve_cmd_exec(int w);
void eve_cmd_burst_start(void);
void eve_cmd_burst_end(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_active(void);
void eve_standby(void);
void eve_sleep(void);
@@ -61,4 +66,4 @@ void eve_wake(void);
void eve_brightness(uint8_t b);
void eve_set_touch_calibration(uint32_t *matrix);
-int eve_init(int pwr_on);
+int eve_init(int pwr_on, uint8_t gpio_dir);