Prusa MINI Firmware overview
directoryVFATEntry Struct Reference

VFAT long filename directory entry. More...

#include <SdFatStructs.h>

Collaboration diagram for directoryVFATEntry:

Public Attributes

uint8_t sequenceNumber
 
uint16_t name1 [5]
 
uint8_t attributes
 
uint8_t reservedNT
 
uint8_t checksum
 
uint16_t name2 [6]
 
uint16_t firstClusterLow
 
uint16_t name3 [2]
 

Detailed Description

VFAT long filename directory entry.

directoryVFATEntries are found in the same list as normal directoryEntry. But have the attribute field set to DIR_ATT_LONG_NAME.

Long filenames are saved in multiple directoryVFATEntries. Each entry containing 13 UTF-16 characters.

Member Data Documentation

◆ sequenceNumber

uint8_t directoryVFATEntry::sequenceNumber

Sequence number. Consists of 2 parts: bit 6: indicates first long filename block for the next file bit 0-4: the position of this long filename block (first block is 1)

◆ name1

uint16_t directoryVFATEntry::name1[5]

◆ attributes

uint8_t directoryVFATEntry::attributes

◆ reservedNT

uint8_t directoryVFATEntry::reservedNT

◆ checksum

uint8_t directoryVFATEntry::checksum

◆ name2

uint16_t directoryVFATEntry::name2[6]

◆ firstClusterLow

uint16_t directoryVFATEntry::firstClusterLow

◆ name3

uint16_t directoryVFATEntry::name3[2]