Home
last modified time | relevance | path

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

/kernel/liteos_a/fs/fat/os_adapt/
Dfatfs.c1180 dfp->fno.fdate = 0; in fatfs_mount()
1374 static inline int GET_DAY(WORD fdate) in GET_DAY() argument
1376 return fdate & BITMASK5; in GET_DAY()
1378 static inline int GET_MONTH(WORD fdate) in GET_MONTH() argument
1380 return (fdate >> FTIME_MTH_OFFSET) & BITMASK4; in GET_MONTH()
1382 static inline int GET_YEAR(WORD fdate) in GET_YEAR() argument
1384 return (fdate >> FTIME_YEAR_OFFSET) & BITMASK7; in GET_YEAR()
1387 static time_t fattime_transfer(WORD fdate, WORD ftime) in fattime_transfer() argument
1393 time.tm_mday = GET_DAY(fdate); in fattime_transfer()
1394 time.tm_mon = GET_MONTH(fdate); in fattime_transfer()
[all …]