COSA
An Object-Oriented Platform for Arduino Programming
|
#include <FAT16.hh>
Public Attributes | |
uint16_t | bytesPerSector |
uint8_t | sectorsPerCluster |
uint16_t | reservedSectorCount |
uint8_t | fatCount |
uint16_t | rootDirEntryCount |
uint16_t | totalSectors16 |
uint8_t | mediaType |
uint16_t | sectorsPerFat16 |
uint16_t | sectorsPerTrtack |
uint16_t | headCount |
uint32_t | hidddenSectors |
uint32_t | totalSectors32 |
uint32_t | sectorsPerFat32 |
uint16_t | fat32Flags |
uint16_t | fat32Version |
uint32_t | fat32RootCluster |
uint16_t | fat32FSInfo |
uint16_t | fat32BackBootBlock |
uint8_t | fat32Reserved [12] |
BIOS parameter block; The BIOS parameter block describes the physical layout of a FAT volume.
uint16_t FAT16::bpb_t::bytesPerSector |
uint16_t FAT16::bpb_t::fat32BackBootBlock |
uint16_t FAT16::bpb_t::fat32Flags |
This field is only defined for FAT32 media and does not exist on FAT12 and FAT16 media. Bits 0-3 – Zero-based number of active FAT, Only valid if mirroring is disabled. Bits 4-6 – Reserved. Bit 7 – 0 means the FAT is mirrored at runtime into all FATs, 1 means only one FAT is active; it is the one referenced in bits 0-3. Bits 8-15 – Reserved.
uint16_t FAT16::bpb_t::fat32FSInfo |
uint8_t FAT16::bpb_t::fat32Reserved[12] |
uint32_t FAT16::bpb_t::fat32RootCluster |
uint16_t FAT16::bpb_t::fat32Version |
uint8_t FAT16::bpb_t::fatCount |
uint16_t FAT16::bpb_t::headCount |
uint32_t FAT16::bpb_t::hidddenSectors |
uint8_t FAT16::bpb_t::mediaType |
uint16_t FAT16::bpb_t::reservedSectorCount |
uint16_t FAT16::bpb_t::rootDirEntryCount |
For FAT12 and FAT16 volumes, this field contains the count of 32-byte directory entries in the root directory. For FAT32 volumes, this field must be set to 0. For FAT12 and FAT16 volumes, this value should always specify a count that when multiplied by 32 results in a multiple of bytesPerSector. FAT16 volumes should use the value 512.
uint8_t FAT16::bpb_t::sectorsPerCluster |
uint16_t FAT16::bpb_t::sectorsPerFat16 |
uint32_t FAT16::bpb_t::sectorsPerFat32 |
uint16_t FAT16::bpb_t::sectorsPerTrtack |
uint16_t FAT16::bpb_t::totalSectors16 |
This field is the old 16-bit total count of sectors on the volume. This count includes the count of all sectors in all four regions of the volume. This field can be 0; if it is 0, then totalSectors32 must be non-zero. For FAT32 volumes, this field must be 0. For FAT12 and FAT16 volumes, this field contains the sector count, and totalSectors32 is 0 if the total sector count fits (is less than 0x10000).
uint32_t FAT16::bpb_t::totalSectors32 |