Home
last modified time | relevance | path

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

/hal_espressif-2.7.6/components/fatfs/src/
Dff.h285 FRESULT f_read (FIL* fp, void* buff, UINT btr, UINT* br); /* Read data from the file */
Dff.c3740 UINT btr, /* Number of bytes to read */ argument
3757 if (btr > remain) btr = (UINT)remain; /* Truncate btr by remaining bytes */
3759 for ( ; btr; /* Repeat until btr bytes read */
3760 btr -= rcnt, *br += rcnt, rbuff += rcnt, fp->fptr += rcnt) {
3783 cc = btr / SS(fs); /* When remaining bytes >= sector size, */
3817 if (rcnt > btr) rcnt = btr; /* Clip it by btr if needed */
D00history.txt84 Fixed btr in f_read() can be mistruncated.