summaryrefslogtreecommitdiffstats
path: root/Graphic_Equalizer/include/smartmedia.hch
blob: e44e435c1c6378cd600fe3cd96e8fe14af5b7063 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
/*! \file smartmedia.hch
 *
 * \section generic SmartMedia API
 *
 * \section project Project information.
 * Project Graphic Equalizer\n
 * \author O.M. Schinagl
 * \date 20041110
 * \version 0.1
 *
 * \section copyright Copyright
 * Copyright ©2004 Koninklijke Philips Electronics N.V. All rights reserved
 *
 * \section history Change history
 * 20041110: O.M. Schinagl\n	Initial version
 *
 ********************************************************************/
 
#ifndef _SMARTMEDIA_HCH
#define _SMARTMEDIA_HCH 1



/*
 * Create a define to keep API generic
 */
#define CPLDRun(ClockRate) RC200CPLDRun(ClockRate)
#define SmartMediaRun(ClockRate) RC200SmartMediaRun(ClockRate)



/*
 * Initializes the smartmedia device.
 */
void smartmedia_init(void);


/*
 * This function loads the memory with data from the smartmedia card.
 */
void smartmedia_loaddata(void);

#else
#error "ERROR file smartmedia.hch multiple times included"
#endif /* --- _SMARTMEDIA_HCH --- */