Prusa MINI Firmware overview
|
Access FAT16 and FAT32 volumes on SD and SDHC cards. More...
#include <SdVolume.h>
Public Member Functions | |
SdVolume () | |
cache_t * | cacheClear () |
bool | init (Sd2Card *dev) |
bool | init (Sd2Card *dev, uint8_t part) |
uint8_t | blocksPerCluster () const |
uint32_t | blocksPerFat () const |
uint32_t | clusterCount () const |
uint8_t | clusterSizeShift () const |
uint32_t | dataStartBlock () const |
uint8_t | fatCount () const |
uint32_t | fatStartBlock () const |
uint8_t | fatType () const |
int32_t | freeClusterCount () |
uint32_t | rootDirEntryCount () const |
uint32_t | rootDirStart () const |
Sd2Card * | sdCard () |
bool | dbgFat (uint32_t n, uint32_t *v) |
Friends | |
class | SdBaseFile |
Access FAT16 and FAT32 volumes on SD and SDHC cards.
cache_t* SdVolume::cacheClear | ( | ) |
bool SdVolume::init | ( | Sd2Card * | dev | ) |
Initialize a FAT volume. Try partition one first then try super floppy format.
[in] | dev | The Sd2Card where the volume is located. |
uint8_t SdVolume::blocksPerCluster | ( | ) | const |
uint32_t SdVolume::blocksPerFat | ( | ) | const |
uint32_t SdVolume::clusterCount | ( | ) | const |
uint8_t SdVolume::clusterSizeShift | ( | ) | const |
uint32_t SdVolume::dataStartBlock | ( | ) | const |
uint8_t SdVolume::fatCount | ( | ) | const |
uint32_t SdVolume::fatStartBlock | ( | ) | const |
uint8_t SdVolume::fatType | ( | ) | const |
int32_t SdVolume::freeClusterCount | ( | ) |
uint32_t SdVolume::rootDirEntryCount | ( | ) | const |
uint32_t SdVolume::rootDirStart | ( | ) | const |
Sd2Card* SdVolume::sdCard | ( | ) |
bool SdVolume::dbgFat | ( | uint32_t | n, |
uint32_t * | v | ||
) |
|
friend |