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 239 of file mmc.c. References DiskBlock::Raw::buf, Delay(), diskSect, GetStorageInformation(), Temp::i, MMC_NOT_SELECTED, MMC_OFF, MMC_XCS, MmcCommand(), 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 464 of file mmc.c. References LED_OFF, LED_ON, MMC_NOT_SELECTED, MMC_SELECTED, MMC_XCS, MmcWaitForData(), PerformBlockRead(), Public, RED_LED, and SPI8Clocks(). Referenced by InitMMC(), and ReadDiskSector().
Here is the call graph for this function: |
|
Perform MMC Seek Command for offset sectorN*512.
Definition at line 418 of file mmc.c. References Address::b, Address::B::b0, Address::B::b1, Address::B::b2, ConsoleDecipherMMCResponse(), Address::l, MMC_NOT_SELECTED, MMC_XCS, MmcCommand(), 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 485 of file mmc.c. References Address::b, Address::B::b0, Address::B::b1, Address::B::b2, DiskBlock::Raw::buf, dataBufPtr, diskSect, Address::l, LED_OFF, LED_ON, MMC_NOT_SELECTED, MMC_SELECTED, MMC_XCS, MmcCommand(), MmcWaitForData(), DiskBlock::raw, RED_LED, 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(). |