diff options
Diffstat (limited to 'fw/fe310/eos/dev/eve.h')
-rw-r--r-- | fw/fe310/eos/dev/eve.h | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/fw/fe310/eos/dev/eve.h b/fw/fe310/eos/dev/eve.h index cb48364..1317bec 100644 --- a/fw/fe310/eos/dev/eve.h +++ b/fw/fe310/eos/dev/eve.h @@ -1,9 +1,17 @@ #include <stdint.h> +#define EVE_GPIO_DIR 0xf + +#define EVE_GPIO_CAM 0 +#define EVE_GPIO_LCD_EN 1 +#define EVE_GPIO_GAIN 2 +#define EVE_GPIO_HAPT 3 + int eos_eve_init(uint8_t wakeup_cause); void eos_eve_calibrate(void); void eos_eve_set_tmatrix(const uint32_t *matrix); int eos_eve_run(uint8_t wakeup_cause); -void eos_eve_start(void); -void eos_eve_stop(void); -int eos_eve_running(void); +void eos_eve_intr_enable(void); +void eos_eve_intr_disable(void); +int eos_eve_intr_enabled(void); +void eos_eve_poll(void); |