summaryrefslogtreecommitdiff
path: root/src/ao.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ao.h')
-rw-r--r--src/ao.h31
1 files changed, 31 insertions, 0 deletions
diff --git a/src/ao.h b/src/ao.h
index a3519150..7750504f 100644
--- a/src/ao.h
+++ b/src/ao.h
@@ -479,6 +479,24 @@ void
ao_ee_init(void);
/*
+ * ao_m25.c
+ *
+ * Numonyx M25P family flash driver
+ */
+
+void
+ao_flash_erase_sector(uint8_t sector) __reentrant;
+
+void
+ao_flash_write_page(uint16_t page, __xdata uint8_t d[256]) __reentrant;
+
+void
+ao_flash_read_page(uint16_t page, __xdata uint8_t d[256]) __reentrant;
+
+void
+ao_flash_init(void);
+
+/*
* ao_log.c
*/
@@ -748,6 +766,19 @@ 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
*/