summaryrefslogtreecommitdiff
path: root/code/fe310/eos/spi.h
diff options
context:
space:
mode:
authorUros Majstorovic <majstor@majstor.org>2019-12-07 17:17:21 +0100
committerUros Majstorovic <majstor@majstor.org>2019-12-07 17:17:21 +0100
commit2e6facf66ee3d6aa37f2fb41096b1763261506a7 (patch)
tree61ecbe97cb53f1371c655b8564cc269bffd07ce1 /code/fe310/eos/spi.h
parent040f4333678f46f3558e604014d460076244af6b (diff)
eos evtq flags refactor; net buf flags refator for all modules
Diffstat (limited to 'code/fe310/eos/spi.h')
-rw-r--r--code/fe310/eos/spi.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/code/fe310/eos/spi.h b/code/fe310/eos/spi.h
index 394c400..1619b18 100644
--- a/code/fe310/eos/spi.h
+++ b/code/fe310/eos/spi.h
@@ -16,6 +16,7 @@
void eos_spi_init(void);
void eos_spi_dev_start(unsigned char dev);
void eos_spi_dev_stop(void);
+void eos_spi_set_handler(unsigned char dev, eos_evt_fptr_t handler, uint8_t flags);
void eos_spi_xchg(unsigned char *buffer, uint16_t len, uint8_t flags);
void eos_spi_xchg_handler(void);
@@ -26,5 +27,3 @@ uint8_t eos_spi_xchg8(uint8_t data, uint8_t flags);
uint16_t eos_spi_xchg16(uint16_t data, uint8_t flags);
uint32_t eos_spi_xchg24(uint32_t data, uint8_t flags);
uint32_t eos_spi_xchg32(uint32_t data, uint8_t flags);
-
-void eos_spi_set_handler(unsigned char dev, eos_evt_fptr_t handler); \ No newline at end of file