altos: Split out SPI driver.
[fw/altos] / src / ao.h
index 9682e42fb33c9cde8d69122f632acd0f969ecb81..69f4665bca14d84dfcf8acb5863322fe02586512 100644 (file)
--- a/src/ao.h
+++ b/src/ao.h
@@ -736,6 +736,19 @@ void
 ao_serial_init(void);
 #endif
 
+/*
+ * ao_spi.c
+ */
+
+void
+ao_spi_send(void __xdata *block, uint16_t len) __reentrant;
+
+void
+ao_spi_recv(void __xdata *block, uint16_t len) __reentrant;
+
+void
+ao_spi_init(void);
+
 /*
  * ao_gps.c
  */