This function allows you to close a file on flash eprom previously opened by the instruction f_open().
Syntax |
i32 f_close (stru_filehnd stru) |
||||||
---|---|---|---|---|---|---|---|
stru |
Variable of type stru_filehnd that contains the handle obtained via the f_open() function |
||||||
Result |
Returns:
|
||||||
Validity |
Task |
||||||
Note |
If functions regarding compact flash management are used, it is recommended that bit 14 of the sys_cfg variable (0x00004000) be imposed to 1 to enable the use of safety routines for flash write/read |
Example of use:
|