diff options
author | Uros Majstorovic <majstor@majstor.org> | 2022-09-04 18:16:56 +0200 |
---|---|---|
committer | Uros Majstorovic <majstor@majstor.org> | 2022-09-04 18:16:56 +0200 |
commit | 2b446dda5db1df77b9951d2c1908259076b1fbe1 (patch) | |
tree | 8a9e6a7fe92b93c0b1d6722d6c122eaa66870552 /fw/fe310/eos/dev/eve.h | |
parent | ec0caa569b356f186e87c13e50550ca1b807dde6 (diff) |
eve support when i2s is running
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); |