summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarcel Lauwerijssen <paranoya@morphcore.com>2005-01-31 15:49:09 (GMT)
committerMarcel Lauwerijssen <paranoya@morphcore.com>2005-01-31 15:49:09 (GMT)
commit6fab3c2a10d5fbd28fff1468de36a38382c70707 (patch)
treea175eb088de7e61d5bede316ad21f552b470bbc9
parent811492fd4c878ae528806e11d0fffc00ff00683a (diff)
downloadTASS-6fab3c2a10d5fbd28fff1468de36a38382c70707.zip
TASS-6fab3c2a10d5fbd28fff1468de36a38382c70707.tar.gz
TASS-6fab3c2a10d5fbd28fff1468de36a38382c70707.tar.bz2
Added comments and header of the smartmedia_set_read_address function
-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 --- */