Access exFat partitions on raw file devices.
More...
#include <ExFatPartition.h>
Access exFat partitions on raw file devices.
uint32_t ExFatPartition::bytesPerCluster |
( |
| ) |
|
|
inline |
- Returns
- the number of bytes in a cluster.
uint8_t ExFatPartition::bytesPerClusterShift |
( |
| ) |
|
|
inline |
- Returns
- the power of two for bytesPerCluster.
uint16_t ExFatPartition::bytesPerSector |
( |
| ) |
|
|
inline |
- Returns
- the number of bytes in a sector.
uint8_t ExFatPartition::bytesPerSectorShift |
( |
| ) |
|
|
inline |
- Returns
- the power of two for bytesPerSector.
uint8_t* ExFatPartition::cacheClear |
( |
| ) |
|
|
inline |
Clear the cache and returns a pointer to the cache. Not for normal apps.
- Returns
- A pointer to the cache buffer or zero if an error occurs.
uint32_t ExFatPartition::clusterCount |
( |
| ) |
|
|
inline |
- Returns
- the cluster count for the partition.
uint32_t ExFatPartition::clusterHeapStartSector |
( |
| ) |
|
|
inline |
- Returns
- the cluster heap start sector.
uint32_t ExFatPartition::fatLength |
( |
| ) |
|
|
inline |
- Returns
- the FAT length in sectors
uint32_t ExFatPartition::fatStartSector |
( |
| ) |
|
|
inline |
- Returns
- the FAT start sector number.
uint8_t ExFatPartition::fatType |
( |
| ) |
const |
|
inline |
- Returns
- Type FAT_TYPE_EXFAT for exFAT partition or zero for error.
uint32_t ExFatPartition::freeClusterCount |
( |
| ) |
|
- Returns
- the free cluster count.
bool ExFatPartition::init |
( |
BlockDevice * |
dev, |
|
|
uint8_t |
part |
|
) |
| |
Initialize a exFAT partition.
- Parameters
-
[in] | dev | The blockDevice for the partition. |
[in] | part | The partition to be used. Legal values for part are 1-4 to use the corresponding partition on a device formatted with a MBR, Master Boot Record, or zero if the device is formatted as a super floppy with the FAT boot sector in sector zero. |
- Returns
- The value true is returned for success and the value false is returned for failure.
uint32_t ExFatPartition::rootDirectoryCluster |
( |
| ) |
|
|
inline |
- Returns
- the root directory start cluster number.
uint32_t ExFatPartition::rootLength |
( |
| ) |
|
- Returns
- the root directory length.
uint32_t ExFatPartition::sectorsPerCluster |
( |
| ) |
|
|
inline |
- Returns
- the number of sectors in a cluster.
uint8_t ExFatPartition::sectorsPerClusterShift |
( |
| ) |
|
|
inline |
- Returns
- the power of two for sectors per cluster.
The documentation for this class was generated from the following files:
- ArduinoSdFs/libraries/SdFs/src/ExFatLib/ExFatPartition.h
- ArduinoSdFs/libraries/SdFs/src/ExFatLib/ExFatPartition.cpp