Access exFat partitions on raw file devices.
More...
#include <ExFatPartition.h>
Access exFat partitions on raw file devices.
◆ bytesPerCluster()
uint32_t ExFatPartition::bytesPerCluster |
( |
| ) |
|
|
inline |
- Returns
- the number of bytes in a cluster.
◆ bytesPerClusterShift()
uint8_t ExFatPartition::bytesPerClusterShift |
( |
| ) |
|
|
inline |
- Returns
- the power of two for bytesPerCluster.
◆ bytesPerSector()
uint16_t ExFatPartition::bytesPerSector |
( |
| ) |
|
|
inline |
- Returns
- the number of bytes in a sector.
◆ bytesPerSectorShift()
uint8_t ExFatPartition::bytesPerSectorShift |
( |
| ) |
|
|
inline |
- Returns
- the power of two for bytesPerSector.
◆ cacheClear()
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.
◆ clusterCount()
uint32_t ExFatPartition::clusterCount |
( |
| ) |
|
|
inline |
- Returns
- the cluster count for the partition.
◆ clusterHeapStartSector()
uint32_t ExFatPartition::clusterHeapStartSector |
( |
| ) |
|
|
inline |
- Returns
- the cluster heap start sector.
◆ fatLength()
uint32_t ExFatPartition::fatLength |
( |
| ) |
|
|
inline |
- Returns
- the FAT length in sectors
◆ fatStartSector()
uint32_t ExFatPartition::fatStartSector |
( |
| ) |
|
|
inline |
- Returns
- the FAT start sector number.
◆ fatType()
uint8_t ExFatPartition::fatType |
( |
| ) |
const |
|
inline |
- Returns
- Type FAT_TYPE_EXFAT for exFAT partition or zero for error.
◆ freeClusterCount()
uint32_t ExFatPartition::freeClusterCount |
( |
| ) |
|
- Returns
- the free cluster count.
◆ init()
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
- true for success or false for failure.
◆ rootDirectoryCluster()
uint32_t ExFatPartition::rootDirectoryCluster |
( |
| ) |
|
|
inline |
- Returns
- the root directory start cluster number.
◆ rootLength()
uint32_t ExFatPartition::rootLength |
( |
| ) |
|
- Returns
- the root directory length.
◆ sectorsPerCluster()
uint32_t ExFatPartition::sectorsPerCluster |
( |
| ) |
|
|
inline |
- Returns
- the number of sectors in a cluster.
◆ sectorsPerClusterShift()
uint8_t ExFatPartition::sectorsPerClusterShift |
( |
| ) |
|
|
inline |
- Returns
- the power of two for sectors per cluster.
◆ ExFatFile
The documentation for this class was generated from the following files:
- ArduinoSdFat/libraries/SdFat/src/ExFatLib/ExFatPartition.h
- ArduinoSdFat/libraries/SdFat/src/ExFatLib/ExFatPartition.cpp