crashtest-r0ket/filesystem/mmc.h
bsx 05791efb05 added filesystem code based on FatFs
!!! UNTESTET !!!

* modified mmc code from microbuilders to work with our board
* added code for AT45DB041D DataFlash according to datasheet
2011-06-15 10:51:22 +02:00

10 lines
263 B
C

#ifndef _MMC_H
#define _MMC_H 1
DSTATUS mmc_initialize();
DSTATUS mmc_status();
DRESULT mmc_read(BYTE *buff, DWORD sector, BYTE count);
DRESULT mmc_write(const BYTE *buff, DWORD sector, BYTE count);
DRESULT mmc_ioctl(BYTE ctrl, void *buff);
#endif /* _MMC_H */