simple-fatfs 0.1.0-alpha.2

A simple-to-use FAT filesystem library for Rust (mainly targeted at embedded systems)
Documentation
1
2
3
4
5
6
7
8
/// The minimum size (in bytes) a sector is allowed to have
pub const MIN_SECTOR_SIZE: usize = 512;
/// The maximum size (in bytes) a sector is allowed to have
pub const MAX_SECTOR_SIZE: usize = 4096;

/// Place this in the BPB _jmpboot field to hang if a computer attempts to boot this partition
/// The first two bytes jump to 0 on all bit modes and the third byte is just a NOP
pub(crate) const INFINITE_LOOP: [u8; 3] = [0xEB, 0xFE, 0x90];