Home
last modified time | relevance | path

Searched refs:FF_MAX_SS (Results 1 – 3 of 3) sorted by relevance

/fatfs-latest/include/
Dff.h143 #if FF_MAX_SS != FF_MIN_SS
174 BYTE win[FF_MAX_SS]; /* Disk access window for Directory, FAT (and file data at tiny cfg) */
219 BYTE buf[FF_MAX_SS]; /* File private data read/write window */
Dffconf.h197 #define FF_MAX_SS 512 macro
/fatfs-latest/
Dff.c260 #if (FF_MAX_SS < FF_MIN_SS) || (FF_MAX_SS != 512 && FF_MAX_SS != 1024 && FF_MAX_SS != 2048 && FF_MA…
263 #if FF_MAX_SS == FF_MIN_SS
264 #define SS(fs) ((UINT)FF_MAX_SS) /* Fixed sector size */
3330 …if ((w & (w - 1)) == 0 && w >= FF_MIN_SS && w <= FF_MAX_SS /* Properness of sector size (512-4096 …
3451 #if FF_MAX_SS != FF_MIN_SS /* Get sector size (multiple sector size cfg only) */
3453 if (SS(fs) > FF_MAX_SS || SS(fs) < FF_MIN_SS || (SS(fs) & (SS(fs) - 1))) return FR_DISK_ERR;
5781 #if FF_MAX_SS != FF_MIN_SS
5783 if (ss > FF_MAX_SS || ss < FF_MIN_SS || (ss & (ss - 1))) return FR_DISK_ERR;
5785 ss = FF_MAX_SS;
5862 memset(buf, 0, FF_MAX_SS); /* Clear MBR */
[all …]