Searched refs:mode (Results 1 – 2 of 2) sorted by relevance
3404 BYTE mode /* Desiered access mode to check write protection */ argument3429 mode &= (BYTE)~FA_READ; /* Desired access mode, write access or not */3433 if (!FF_FS_READONLY && mode && (stat & STA_PROTECT)) { /* Check write protection if needed */3448 if (!FF_FS_READONLY && mode && (stat & STA_PROTECT)) { /* Check disk write protection if needed */3735 BYTE mode /* Access mode and open mode flags */ argument3752 …mode &= FF_FS_READONLY ? FA_READ : FA_READ | FA_WRITE | FA_CREATE_ALWAYS | FA_CREATE_NEW | FA_OPEN…3753 res = mount_volume(&path, &fs, mode);3765 res = chk_share(&dj, (mode & ~FA_READ) ? 1 : 0); /* Check if the file can be used */3770 if (mode & (FA_CREATE_ALWAYS | FA_OPEN_ALWAYS | FA_CREATE_NEW)) {3779 mode |= FA_CREATE_ALWAYS; /* File is created */[all …]
305 FRESULT f_open (FIL* fp, const TCHAR* path, BYTE mode); /* Open or create a file */