From 6fab3c2a10d5fbd28fff1468de36a38382c70707 Mon Sep 17 00:00:00 2001 From: Marcel Lauwerijssen Date: Mon, 31 Jan 2005 15:49:09 +0000 Subject: Added comments and header of the smartmedia_set_read_address function --- Graphic_Equalizer/include/smartmedia.hch | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) 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 --- */ -- cgit v0.12