2015-04-26 17:54:51 +02:00
|
|
|
/*
|
|
|
|
* shimatta_sdio-driver.h
|
|
|
|
*
|
|
|
|
* Created on: Apr 26, 2015
|
|
|
|
* Author: mari
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef FATFS_SHIMATTA_SDIO_DRIVER_SHIMATTA_SDIO_DRIVER_H_
|
|
|
|
#define FATFS_SHIMATTA_SDIO_DRIVER_SHIMATTA_SDIO_DRIVER_H_
|
|
|
|
|
2015-04-30 11:59:37 +02:00
|
|
|
#include <diskio.h>
|
2015-04-26 17:54:51 +02:00
|
|
|
|
2015-04-30 11:59:37 +02:00
|
|
|
DSTATUS SDIO_status();
|
|
|
|
DSTATUS SDIO_initialize();
|
|
|
|
DRESULT SDIO_disk_read(BYTE *buff, DWORD sector, UINT count);
|
|
|
|
DRESULT SDIO_disk_write(BYTE *buff, DWORD sector, UINT count);
|
|
|
|
DRESULT SDIO_disk_ioctl(BYTE cmd, void* buff);
|
|
|
|
DWORD get_fattime();
|
2015-04-26 17:54:51 +02:00
|
|
|
|
|
|
|
#endif /* FATFS_SHIMATTA_SDIO_DRIVER_SHIMATTA_SDIO_DRIVER_H_ */
|