21 lines
535 B
C
21 lines
535 B
C
/*
|
|
* 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_
|
|
|
|
#include <diskio.h>
|
|
|
|
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();
|
|
|
|
#endif /* FATFS_SHIMATTA_SDIO_DRIVER_SHIMATTA_SDIO_DRIVER_H_ */
|