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.
Loading...
Searching...
No Matches
ExFatFormatter Class Reference

Format an exFAT volume. More...

#include <ExFatFormatter.h>

Public Member Functions

bool format (BlockDevice *dev, uint8_t *secBuf, print_t *pr=nullptr)
 

Private Member Functions

bool syncUpcase ()
 
bool writeUpcase (uint32_t sector)
 
bool writeUpcaseByte (uint8_t b)
 
bool writeUpcaseUnicode (uint16_t unicode)
 

Private Attributes

uint32_t m_upcaseSector
 
uint32_t m_upcaseChecksum
 
uint32_t m_upcaseSize
 
BlockDevicem_dev
 
uint8_t * m_secBuf
 

Detailed Description

Format an exFAT volume.

Member Function Documentation

◆ format()

bool ExFatFormatter::format ( BlockDevice dev,
uint8_t *  secBuf,
print_t pr = nullptr 
)

Format an exFAT volume.

Parameters
[in]devBlock device for volume.
[in]secBufbuffer for writing to volume.
[in]prPrint device for progress output.
Returns
true for success or false for failure.

◆ syncUpcase()

bool ExFatFormatter::syncUpcase ( )
private

◆ writeUpcase()

bool ExFatFormatter::writeUpcase ( uint32_t  sector)
private

◆ writeUpcaseByte()

bool ExFatFormatter::writeUpcaseByte ( uint8_t  b)
private

◆ writeUpcaseUnicode()

bool ExFatFormatter::writeUpcaseUnicode ( uint16_t  unicode)
private

Member Data Documentation

◆ m_dev

BlockDevice* ExFatFormatter::m_dev
private

◆ m_secBuf

uint8_t* ExFatFormatter::m_secBuf
private

◆ m_upcaseChecksum

uint32_t ExFatFormatter::m_upcaseChecksum
private

◆ m_upcaseSector

uint32_t ExFatFormatter::m_upcaseSector
private

◆ m_upcaseSize

uint32_t ExFatFormatter::m_upcaseSize
private

The documentation for this class was generated from the following files: