added boostc files

This commit is contained in:
Ziver Koc 2009-06-15 13:00:32 +00:00
parent 19025584c9
commit 42b5801a03
11 changed files with 647 additions and 14 deletions

10
boostc/sdcard.h Normal file
View file

@ -0,0 +1,10 @@
#define CSel latd.2 //chip select line
#define SD_LED latd.1
typedef unsigned long LBA;
void sd_init(void);
int sd_initMedia(void);
int sd_writeSector(LBA,char *,char *);
int sd_readSector(LBA, char *,char *);
int sd_sendCmd(unsigned char,LBA);