summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Graphic_Equalizer/include/smartmedia.hch10
1 files changed, 9 insertions, 1 deletions
diff --git a/Graphic_Equalizer/include/smartmedia.hch b/Graphic_Equalizer/include/smartmedia.hch
index ce13685..d05c6d7 100644
--- a/Graphic_Equalizer/include/smartmedia.hch
+++ b/Graphic_Equalizer/include/smartmedia.hch
@@ -74,9 +74,17 @@ unsigned 1 smartmedia_loaddata(skindata_t *skindata);
*/
void load_audio_samples(signed 18 *samples, unsigned 27 blockoffset, unsigned 7 sample_count);
-
+/*
+ * Generic funtion to read at most 255 at a time bytes from the SmartMedia card.
+ * The data is returned as an array in the data pointer.
+ */
void smartmedia_read_bytes(unsigned 8 *data, unsigned 8 bytecount);
+/*
+ * Generic funtion to set the read address at the SmartMedia card
+ */
+void smartmedia_set_read_address(unsigned 20 address);
+
#else
#error "ERROR file smartmedia.hch multiple times included"
#endif /* --- _SMARTMEDIA_HCH --- */