⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 fat.h

📁 gps mmc logging using z8f6421 zilog microcontroller
💻 H
字号:
/*256 MB addresses
#define start_address 0x00000000			//starting address to write the Boot/BPB sector
#define FAT1_entries_start 0x00000C00		//starting address of FAT1 
#define FAT2_entries_start 0x0001F600		//starting address of FAT2
#define root_directory_addr 0x0003E000		//starting address of root directory
#define data_region_addr 0x00042000			//starting address of data region (first sector will be reserved for patient's information)
#define last_addr 0x0F1FFFFF				//last address or 0x0F1FFFF0
*/

//512 MB addresses
#define start_address 0x00000000			//starting address to write the Boot/BPB sector
#define FAT1_entries_start 0x00001000		//starting address of FAT1 
#define FAT2_entries_start 0x0001F000		//starting address of FAT2
#define root_directory_addr 0x0003D000		//starting address of root directory
#define data_region_addr 0x00041000			//starting address of data region (first sector will be reserved for patient's information)
#define last_addr 0x1DEBF000				//exact for 512mb (capacity of 501,735,424bytes or 478 MB in the properties)

void format_to_fat16 (void);
unsigned char findlastfolder(void);
void create_folder_file(char*, char, char);
char writetommc(char *,char *,unsigned char);
void DATAfull(void);
void check_updateFAT(void);
void updateCSVsize(void);

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -