CARME-M4 BSP  V1.5
User defined Functions

Additional user defined functions. More...

+ Collaboration diagram for User defined Functions:

Functions

DWORD get_fattime (void)
 Get the time from the RTC.
This function is used from the FatFs and the function prototype is given by the FatFs module. More...
 
int ff_cre_syncobj (BYTE vol, _SYNC_t *sobj)
 
int ff_req_grant (_SYNC_t sobj)
 
void ff_rel_grant (_SYNC_t sobj)
 
int ff_del_syncobj (_SYNC_t sobj)
 

Detailed Description

Additional user defined functions.

Function Documentation

int ff_cre_syncobj ( BYTE  vol,
_SYNC_t sobj 
)

Create a sync object

int ff_del_syncobj ( _SYNC_t  sobj)

Delete a sync object

void ff_rel_grant ( _SYNC_t  sobj)

Unlock sync object

int ff_req_grant ( _SYNC_t  sobj)

Lock sync object

+ Here is the caller graph for this function:

DWORD get_fattime ( void  )

Get the time from the RTC.
This function is used from the FatFs and the function prototype is given by the FatFs module.

Returns
Bit 25 to 31: Year from 1980 (0..127)
Bit 21 to 24: Month (1..12)
Bit 16 to 20: Day in month (1..31)
Bit 11 to 15: Hour (0..23)
Bit 5 to 10: Minute (0..59)
Bit 1 to 4: Second / 2 (0..29)

Definition at line 326 of file rtc.c.

+ Here is the call graph for this function: