summaryrefslogtreecommitdiff
path: root/fw/fe310/eos/spi_dev.h
diff options
context:
space:
mode:
authorUros Majstorovic <majstor@majstor.org>2022-05-13 12:45:53 +0200
committerUros Majstorovic <majstor@majstor.org>2022-05-13 12:45:53 +0200
commit412a8f99928beff605805807b0f07f6bf8d0a965 (patch)
tree366f1768ddfd32960c5d26ca3fba14e82c3b571e /fw/fe310/eos/spi_dev.h
parent9ccb4db8d59ec9dab33ee8617d462f21a8bb4fa8 (diff)
code rename
Diffstat (limited to 'fw/fe310/eos/spi_dev.h')
-rw-r--r--fw/fe310/eos/spi_dev.h19
1 files changed, 0 insertions, 19 deletions
diff --git a/fw/fe310/eos/spi_dev.h b/fw/fe310/eos/spi_dev.h
deleted file mode 100644
index e801f7e..0000000
--- a/fw/fe310/eos/spi_dev.h
+++ /dev/null
@@ -1,19 +0,0 @@
-#include <stdint.h>
-
-#define EOS_SPI_DEV_NET 0
-#define EOS_SPI_DEV_EVE 1
-#define EOS_SPI_DEV_SDC 2
-#define EOS_SPI_DEV_CAM 3
-
-int eos_spi_dev_init(uint8_t wakeup_cause);
-int eos_spi_select(unsigned char dev);
-int eos_spi_deselect(void);
-
-uint8_t eos_spi_dev(void);
-uint16_t eos_spi_div(unsigned char dev);
-uint8_t eos_spi_csid(unsigned char dev);
-uint8_t eos_spi_cspin(unsigned char dev);
-
-void eos_spi_lock(void);
-void eos_spi_unlock(void);
-void eos_spi_set_div(unsigned char dev, uint16_t div);