Please enable JavaScript to view this site.

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:

Value

Description

0

Positive result of the operation

EOF (code 0x1a)

Negative result of the operation

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

 

  

Keyboard Navigation

F7 for caret browsing
Hold ALT and press letter

This Info: ALT+q
Page Header: ALT+h
Topic Header: ALT+t
Topic Body: ALT+b
Contents: ALT+c
Search: ALT+s
Exit Menu/Up: ESC