FatFs + 0/7 examples
CodeScope will show references to FATFS::csize from the following samples and libraries:
Examples
STM32446E_EVAL
Demonstrations
STM32469I-Discovery
Demonstrations
STM32469I_EVAL
Demonstrations
STM324xG_EVAL
Demonstrations
STM32F429I-Discovery
Demonstrations
STM324x9I_EVAL
Demonstrations
STemWin
 
Symbols
loading...
Files
loading...

FATFS::csize field

Syntax

from ff.h:93
WORD csize;

Examples

FATFS::csize is referenced by 7 libraries and example projects.

References

LocationReferrerText
ff.h:93
WORD csize; /* Cluster size [sectors] */
ff.c:990clust2sect()
return clst * fs->csize + fs->database;
ff.c:1450clmt_clust()
cl = (DWORD)(ofs / SS(fs) / fs->csize); /* Cluster order from top of the file */
ff.c:1494dir_sdi()
csz = (DWORD)fs->csize * SS(fs); /* Bytes per cluster */
ff.c:1542dir_next()
if ((ofs / SS(fs) & (fs->csize - 1)) == 0) { /* Cluster changed? */
ff.c:1559dir_next()
for (n = 0, fs->winsect = clust2sect(fs, clst); n < fs->csize; n++, fs->winsect++) { /* Fill the new cluster with 0 */
ff.c:3126find_volume()
fs->csize = fs->win[BPB_SecPerClus]; /* Cluster size */
ff.c:3127find_volume()
if (fs->csize == 0 || (fs->csize & (fs->csize - 1))) return FR_NO_FILESYSTEM; /* (Must be power of 2) */
ff.c:3141find_volume()
nclst = (tsect - sysect) / fs->csize; /* Number of clusters */
ff.c:3474f_open()
bcs = (DWORD)fs->csize * SS(fs); /* Cluster size in byte */
ff.c:3536f_read()
csect = (UINT)(fp->fptr / SS(fs) & (fs->csize - 1)); /* Sector offset in the cluster */
ff.c:3559f_read()
if (csect + cc > fs->csize) { /* Clip at cluster boundary */
ff.c:3560f_read()
cc = fs->csize - csect;
ff.c:3638f_write()
csect = (UINT)(fp->fptr / SS(fs)) & (fs->csize - 1); /* Sector offset in the cluster */
ff.c:3674f_write()
if (csect + cc > fs->csize) { /* Clip at cluster boundary */
ff.c:3675f_write()
cc = fs->csize - csect;
ff.c:4057f_lseek()
dsc += (DWORD)((ofs - 1) / SS(fs)) & (fs->csize - 1);
ff.c:4086f_lseek()
bcs = (DWORD)fs->csize * SS(fs); /* Cluster size (byte) */
ff.c:4645f_mkdir()
dj.obj.objsize = (DWORD)fs->csize * SS(fs);
ff.c:4667f_mkdir()
for (n = fs->csize; n; n--) { /* Write dot entries and clear following sectors */

Data Use

Functions writing FATFS::csize
Functions reading FATFS::csize
all items filtered out
FATFS::csize
Type of FATFS::csize
FATFS::csize
all items filtered out