Blame |
Last modification |
View Log
| RSS feed
#ifndef _SDC_H_
#define _SDC_H_
extern u8 SDC_Init(void);
//________________________________________________________________________________________________________________________________________
//
// Functions needed for access to the sdcard.
//
//________________________________________________________________________________________________________________________________________
extern u8 SSC_GetChar(void);
extern void SSC_PutChar(u8);
extern void MMC_Read_Block(u8 *,u8 *,u16);
//________________________________________________________________________________________________________________________________________
//
// Functions needed internaly for the fat16 implementation
//
//________________________________________________________________________________________________________________________________________
extern u8 SDC_GetSector (u32,u8 *);
extern u8 SDC_PutSector (u32,u8 *);
extern u8 SDC_PutCommand (u8 *);
extern void SDC_GetBlock(u8 *CMD,u8 *Buffer,u16 Bytes);
#define nop() __asm__ __volatile__ ("nop" ::)
#endif