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
FatFileLFN.cpp File Reference

Functions

char lfnToLower (char c)
 
static uint16_t Bernstein (uint16_t hash, const char *str, size_t len)
 
static uint16_t lfnGetChar (DirLfn_t *ldir, uint8_t i)
 
static size_t lfnGetName (DirLfn_t *ldir, char *name, size_t n)
 
bool lfnLegalChar (uint8_t c)
 
static void lfnPutChar (DirLfn_t *ldir, uint8_t i, uint16_t c)
 
static void lfnPutName (DirLfn_t *ldir, const char *name, size_t n)
 

Function Documentation

◆ Bernstein()

static uint16_t Bernstein ( uint16_t  hash,
const char *  str,
size_t  len 
)
static

◆ lfnGetChar()

static uint16_t lfnGetChar ( DirLfn_t ldir,
uint8_t  i 
)
static

Fetch a 16-bit long file name character.

Parameters
[in]ldirPointer to long file name directory entry.
[in]iIndex of character.
Returns
The 16-bit character.

◆ lfnGetName()

static size_t lfnGetName ( DirLfn_t ldir,
char *  name,
size_t  n 
)
static

◆ lfnLegalChar()

bool lfnLegalChar ( uint8_t  c)
inline

◆ lfnPutChar()

static void lfnPutChar ( DirLfn_t ldir,
uint8_t  i,
uint16_t  c 
)
static

Store a 16-bit long file name character.

Parameters
[in]ldirPointer to long file name directory entry.
[in]iIndex of character.
[in]cThe 16-bit character.

◆ lfnPutName()

static void lfnPutName ( DirLfn_t ldir,
const char *  name,
size_t  n 
)
static

◆ lfnToLower()

char lfnToLower ( char  c)
inline