simple_fatfs/fat/
consts.rs

1/// The minimum size (in bytes) a sector is allowed to have
2pub const MIN_SECTOR_SIZE: usize = 512;
3/// The maximum size (in bytes) a sector is allowed to have
4pub const MAX_SECTOR_SIZE: usize = 4096;
5
6/// Place this in the BPB _jmpboot field to hang if a computer attempts to boot this partition
7/// The first two bytes jump to 0 on all bit modes and the third byte is just a NOP
8pub(crate) const INFINITE_LOOP: [u8; 3] = [0xEB, 0xFE, 0x90];