summaryrefslogtreecommitdiff
path: root/code/fe310/eos/eve/eve_platform.h
diff options
context:
space:
mode:
authorUros Majstorovic <majstor@majstor.org>2020-03-11 16:31:38 +0100
committerUros Majstorovic <majstor@majstor.org>2020-03-11 16:31:38 +0100
commit03925afaa3117243a7b29fa4327ea378c3e6eee6 (patch)
tree12357e194346213a3bded2654f7e3428c84d6aed /code/fe310/eos/eve/eve_platform.h
parentab1006d27417cc831150877ec46fbc13ffeddb53 (diff)
eve refactor: keyboard scale param; track extended; oscillator extended tracker
Diffstat (limited to 'code/fe310/eos/eve/eve_platform.h')
-rw-r--r--code/fe310/eos/eve/eve_platform.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/code/fe310/eos/eve/eve_platform.h b/code/fe310/eos/eve/eve_platform.h
index 8ab43ea..baa48cd 100644
--- a/code/fe310/eos/eve/eve_platform.h
+++ b/code/fe310/eos/eve/eve_platform.h
@@ -1,8 +1,12 @@
#include <stdint.h>
-#include "spi.h"
+#include "../spi.h"
+#include "../timer.h"
-#define EVE_RTC_FREQ 32768
+#define EVE_ETYPE_INTR 1
+#define EVE_PIN_INTR 0
+
+#define EVE_RTC_FREQ EOS_TIMER_RTC_FREQ
#define EVE_SPI_FLAG_BSWAP EOS_SPI_FLAG_BSWAP
#define EVE_SPI_FLAG_TX EOS_SPI_FLAG_TX
@@ -18,6 +22,6 @@
void eve_sleep(uint32_t ms);
void eve_timer_set(uint32_t ms);
void eve_timer_clear(void);
-uint64_t eve_timer_get_tick(void);
+uint64_t eve_time_get_tick(void);
void eve_init_platform(void); \ No newline at end of file