Home
last modified time | relevance | path

Searched refs:FA_READ (Results 1 – 4 of 4) sorted by relevance

/hal_espressif-3.4.0/components/fatfs/test_fatfs_host/
Dtest_fatfs.cpp53 fr_result = f_open(&file, "test.txt", FA_OPEN_ALWAYS | FA_READ | FA_WRITE);
/hal_espressif-3.4.0/components/fatfs/vfs/
Dvfs_fat.c227 res |= FA_READ; in fat_mode_conv()
231 res |= FA_READ | FA_WRITE; in fat_mode_conv()
650 res = f_open(pf1, n1, FA_READ | FA_OPEN_EXISTING); in vfs_fat_link()
/hal_espressif-3.4.0/components/fatfs/src/
Dff.h369 #define FA_READ 0x01 macro
Dff.c3242 mode &= (BYTE)~FA_READ; /* Desired access mode, write access or not */
3566 …mode &= FF_FS_READONLY ? FA_READ : FA_READ | FA_WRITE | FA_CREATE_ALWAYS | FA_CREATE_NEW | FA_OPEN…
3579 res = chk_lock(&dj, (mode & ~FA_READ) ? 1 : 0); /* Check if the file can be used */
3656 fp->obj.lockid = inc_lock(&dj, (mode & ~FA_READ) ? 1 : 0); /* Lock the file for this session */
3755 if (!(fp->flag & FA_READ)) LEAVE_FF(fs, FR_DENIED); /* Check access mode */
5478 if (!(fp->flag & FA_READ)) LEAVE_FF(fs, FR_DENIED); /* Check access mode */