Home
last modified time | relevance | path

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

/fatfs-2.7.6/include/
Dff.h307 FRESULT f_read (FIL* fp, void* buff, UINT btr, UINT* br); /* Read data from the file */
/fatfs-2.7.6/
Dff.c3853 UINT btr, /* Number of bytes to read */ argument
3871 if (btr > remain) btr = (UINT)remain; /* Truncate btr by remaining bytes */
3873 …for ( ; btr > 0; btr -= rcnt, *br += rcnt, rbuff += rcnt, fp->fptr += rcnt) { /* Repeat until btr …
3896 cc = btr / SS(fs); /* When remaining bytes >= sector size, */
3930 if (rcnt > btr) rcnt = btr; /* Clip it by btr if needed */