summaryrefslogtreecommitdiffstats
path: root/rf_test/spi.h
diff options
context:
space:
mode:
Diffstat (limited to 'rf_test/spi.h')
-rw-r--r--rf_test/spi.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/rf_test/spi.h b/rf_test/spi.h
new file mode 100644
index 0000000..220c08f
--- /dev/null
+++ b/rf_test/spi.h
@@ -0,0 +1,12 @@
+#ifndef SPI_H
+#define SPI_H
+
+#include <stdint.h>
+
+void spi_init(void);
+
+uint8_t spi_recv(uint8_t addr);
+
+uint8_t spi_send(uint8_t addr, data);
+
+#endif /* SPI_H */