Home
last modified time | relevance | path

Searched refs:win (Results 1 – 2 of 2) sorted by relevance

/fatfs-2.7.6/
Dff.c1033 if (disk_write(fs->pdrv, fs->win, fs->winsect, 1) == RES_OK) { /* Write it back into the volume */ in sync_window()
1036 …if (fs->n_fats == 2) disk_write(fs->pdrv, fs->win, fs->winsect + fs->fsize, 1); /* Reflect it to 2… in sync_window()
1060 if (disk_read(fs->pdrv, fs->win, sect, 1) != RES_OK) { in move_window()
1089 memset(fs->win, 0, sizeof fs->win); in sync_fs()
1090 st_word(fs->win + BS_55AA, 0xAA55); /* Boot signature */ in sync_fs()
1091 st_dword(fs->win + FSI_LeadSig, 0x41615252); /* Leading signature */ in sync_fs()
1092 st_dword(fs->win + FSI_StrucSig, 0x61417272); /* Structure signature */ in sync_fs()
1093 st_dword(fs->win + FSI_Free_Count, fs->free_clst); /* Number of free clusters */ in sync_fs()
1094 st_dword(fs->win + FSI_Nxt_Free, fs->last_clst); /* Last allocated culuster */ in sync_fs()
1096 disk_write(fs->pdrv, fs->win, fs->winsect, 1); in sync_fs()
[all …]
/fatfs-2.7.6/include/
Dff.h176 BYTE win[FF_MAX_SS]; /* Disk access window for Directory, FAT (and file data at tiny cfg) */ member