Home
last modified time | relevance | path

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

/fatfs-2.7.6/
Dff.c3335 BYTE mode /* !=0: Check write protection for write access */ argument
3360 mode &= (BYTE)~FA_READ; /* Desired access mode, write access or not */
3364 if (!FF_FS_READONLY && mode && (stat & STA_PROTECT)) { /* Check write protection if needed */
3380 if (!FF_FS_READONLY && mode && (stat & STA_PROTECT)) { /* Check disk write protection if needed */
3656 BYTE mode /* Access mode and open mode flags */ argument
3673mode &= FF_FS_READONLY ? FA_READ : FA_READ | FA_WRITE | FA_CREATE_ALWAYS | FA_CREATE_NEW | FA_OPEN…
3674 res = mount_volume(&path, &fs, mode);
3686 res = chk_lock(&dj, (mode & ~FA_READ) ? 1 : 0); /* Check if the file can be used */
3691 if (mode & (FA_CREATE_ALWAYS | FA_OPEN_ALWAYS | FA_CREATE_NEW)) {
3700 mode |= FA_CREATE_ALWAYS; /* File is created */
[all …]
/fatfs-2.7.6/include/
Dff.h305 FRESULT f_open (FIL* fp, const TCHAR* path, BYTE mode); /* Open or create a file */