Files
There are no circuits or boards in this repository.
Last update 3 years 1 month
by
ddr2
Filessend_code | |
---|---|
.. | |
Makefile | |
diskio.c | |
diskio.h | |
ff.c | |
ff.h | |
ffconf.h | |
main.c | |
mmc_avr.h | |
mmc_avr_spi.c | |
uart.c | |
uart.h |
mmc_avr.h/*----------------------------------------------------------------------- / Low level disk interface modlue include file (C)ChaN, 2016 /-----------------------------------------------------------------------*/ #ifndef _MMC_DEFINED #define _MMC_DEFINED #include "ff.h" #include "diskio.h" #ifdef __cplusplus extern "C" { #endif /*---------------------------------------*/ /* Prototypes for disk control functions */ DSTATUS mmc_disk_initialize (void); DSTATUS mmc_disk_status (void); DRESULT mmc_disk_read (BYTE* buff, LBA_t sector, UINT count); DRESULT mmc_disk_write (const BYTE* buff, LBA_t sector, UINT count); DRESULT mmc_disk_ioctl (BYTE cmd, void* buff); void mmc_disk_timerproc (void); #ifdef __cplusplus } #endif #endif