Main Page | Data Structures | Directories | File List | Data Fields | Globals

smartmedia.hch

Go to the documentation of this file.
00001 
00019 #ifndef _SMARTMEDIA_HCH
00020 #define _SMARTMEDIA_HCH 1
00021 
00022 
00023 
00024 /*
00025  * SmartMedia functioncalls a bit to be set to either Read or Write. This
00026  * define should make life easier identifying which one is what.
00027  */
00028 #define READ 0
00029 #define WRITE 1
00030 
00031 
00032 
00033 /*
00034  * The different stages the smart media loaders knows.
00035  */
00036 #define STAGE_LOAD_SKIN         0x00
00037 #define STAGE_LOAD_HELP         0x01
00038 #define STAGE_LOAD_GRAPH        0x02
00039 #define STAGE_LOAD_PRESET       0x03
00040 
00041 
00042 
00043 /*
00044  * Create a define to keep API generic
00045  * FIXME: replace with PAL calls when avaiable.
00046  */
00047 #define CPLDRun(ClockRate) RC200CPLDRun(ClockRate)
00048 #define SmartMediaRun(ClockRate) RC200SmartMediaRun(ClockRate)
00049 
00050 
00051 
00052 /*
00053  * Initializes the smartmedia device.
00054  */
00055 
00056 unsigned 1 smartmedia_init(void);
00057 
00058 
00059 
00060 /*
00061  * This function loads the memory with data from the smartmedia card.
00062  */
00063 void smartmedia_loaddata(skindata_t *skindata);
00064 
00065 #else
00066 #error "ERROR file smartmedia.hch multiple times included"
00067 #endif /* --- _SMARTMEDIA_HCH --- */
00068 

Generated on Thu Dec 9 14:37:06 2004 for Graphic Equalizer 2 by  doxygen 1.3.9.1