This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Functions | |
unsigned char | InitMMC () |
Start-up the MMC card. | |
unsigned char | SeekSector (unsigned long sectorN) |
Perform MMC Seek Command for offset sectorN*512. | |
unsigned char | ReadPhysicalSector () |
Perform block read of previously sought sector to diskSect. | |
unsigned char | WritePhysicalSector () |
Perform MMC block write from *dataBufPtr to sector sectorAddress.l. | |
Variables | |
xdata unsigned char | storageFlags |
Storage status flags. |
Definition in file mmc.h.
|
Start-up the MMC card.
Definition at line 246 of file mmc.c. References DiskBlock::Raw::buf, Delay(), diskSect, GetStorageInformation(), Temp::i, MMC_OFF, MmcCommand(), MMCDeselect, MMCSelect, NO, Public, DiskBlock::raw, ReadPhysicalSector(), RebootMMC(), SeekSector(), SPIPutChar, SPIPutCharWithoutWaiting, SPIWait, temp, and YES. Referenced by InitStorage(), and OpenFile().
Here is the call graph for this function: ![]() |
|
Perform block read of previously sought sector to diskSect.
Definition at line 463 of file mmc.c. References MMCDeselect, MMCSelect, MmcWaitForData(), PerformBlockRead(), Public, and SPI8Clocks(). Referenced by InitMMC(), and ReadDiskSector().
Here is the call graph for this function: ![]() |
|
Perform MMC Seek Command for offset sectorN*512. In English: Send the Read Sector command to MMC Definition at line 431 of file mmc.c. References Address::b, Address::B::b0, Address::B::b1, Address::B::b2, ConsoleDecipherMMCResponse(), Address::l, MmcCommand(), MMCDeselect, Public, RebootMMC(), and sectorAddress. Referenced by InitMMC(), PrepareToReadDiskSector(), and ReadDiskSector().
Here is the call graph for this function: ![]() |
|
Perform MMC block write from *dataBufPtr to sector sectorAddress.l.
Definition at line 484 of file mmc.c. References Address::b, Address::B::b0, Address::B::b1, Address::B::b2, DiskBlock::Raw::buf, dataBufPtr, diskSect, Address::l, MmcCommand(), MMCDeselect, DiskBlock::raw, sectorAddress, SPI8Clocks(), SPIGetChar(), SPIPutCharWithoutWaiting, and SPIWait. Referenced by WriteDiskSector().
Here is the call graph for this function: ![]() |
|
Storage status flags.
Definition at line 8 of file mmc.h. Referenced by InitStorage(), PrepareToReadDiskSector(), and ReadDiskSector(). |