![]() |
Soldered SD Card Arduino Library 1.0.0
Easily read and write files to and form the SD card breakout! A fork of the original SDFat library by Bill Greiman.
|
Format a FAT volume. More...
#include <FatFormatter.h>
Public Member Functions | |
| bool | format (BlockDevice *dev, uint8_t *secBuffer, print_t *pr=nullptr) |
Private Member Functions | |
| bool | initFatDir (uint8_t fatType, uint32_t sectorCount) |
| void | initPbs () |
| bool | makeFat16 () |
| bool | makeFat32 () |
| bool | writeMbr () |
Private Attributes | |
| uint32_t | m_capacityMB |
| uint32_t | m_dataStart |
| uint32_t | m_fatSize |
| uint32_t | m_fatStart |
| uint32_t | m_relativeSectors |
| uint32_t | m_sectorCount |
| uint32_t | m_totalSectors |
| BlockDevice * | m_dev |
| print_t * | m_pr |
| uint8_t * | m_secBuf |
| uint16_t | m_reservedSectorCount |
| uint8_t | m_partType |
| uint8_t | m_sectorsPerCluster |
Format a FAT volume.
| bool FatFormatter::format | ( | BlockDevice * | dev, |
| uint8_t * | secBuffer, | ||
| print_t * | pr = nullptr ) |
Format a FAT volume.
| [in] | dev | Block device for volume. |
| [in] | secBuffer | buffer for writing to volume. |
| [in] | pr | Print device for progress output. |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |