Subversion Repositories Projects

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
231 killagreg 1
#ifndef _SDC_H_
2
#define _SDC_H_
3
 
4
extern u8 SDC_Init(void);
5
 
6
//________________________________________________________________________________________________________________________________________
7
//
8
// Functions needed for access to the sdcard.
9
//
10
//________________________________________________________________________________________________________________________________________
11
 
12
extern u8               SSC_GetChar(void);
13
extern void             SSC_PutChar(u8);
14
extern void             MMC_Read_Block(u8 *,u8 *,u16);
15
 
16
 
17
//________________________________________________________________________________________________________________________________________
18
//
19
// Functions needed internaly for the fat16 implementation
20
//
21
//________________________________________________________________________________________________________________________________________
22
 
23
extern u8 SDC_GetSector (u32,u8 *);
24
extern u8 SDC_PutSector (u32,u8 *);
25
extern u8 SDC_PutCommand (u8 *);
26
extern void     SDC_GetBlock(u8 *CMD,u8 *Buffer,u16 Bytes);
27
 
28
 
29
#define nop()  __asm__ __volatile__ ("nop" ::)
30
 
31
#endif
32
 
33