Home
last modified time | relevance | path

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

/fatfs-2.7.6/include/
Dff.h321 FRESULT f_chmod (const TCHAR* path, BYTE attr, BYTE mask); /* Change attribute of a file/dir */
/fatfs-2.7.6/
Dff.c5183 BYTE mask /* Attribute mask to change */ argument
5199 mask &= AM_RDO|AM_HID|AM_SYS|AM_ARC; /* Valid attribute mask */
5202 …fs->dirbuf[XDIR_Attr] = (attr & mask) | (fs->dirbuf[XDIR_Attr] & (BYTE)~mask); /* Apply attribute …
5207 … dj.dir[DIR_Attr] = (attr & mask) | (dj.dir[DIR_Attr] & (BYTE)~mask); /* Apply attribute change */