fat_defs.h
Vai alla documentazione di questo file.00001
00008 #ifndef __FAT_DEFS_H
00009 #define __FAT_DEFS_H
00010
00011 #define FAT_TYPE 0x46
00012 #define ROOT_IDX 0
00013 #define BLOCK_FREE 0x00000000
00014 #define LAST_BLOCK 0xFFFFFFFF
00015 #define INIT_BLOCK 0x00
00016 #define DIR_ENTRY_FREE 0x00
00017 #define DIR_ENTRY_BUSY 0x01
00018 #define MAX_LEN_NAME 8
00019 #define FILE_ENTRY 0x02
00020 #define SUB_ENTRY 0x03
00022
00023
00024
00025
00026 #define STDLIBERR -1
00027 #define ENTL -2
00028 #define ERFCD -3
00029 #define ERBD -4
00030 #define ENSFD -5
00031 #define EDAEX -6
00032 #define ENMSD -7
00033 #define EWFCD -8
00034 #define EWBD -9
00035 #define EBDP -10
00038 #endif