From dd38d907244bc0e483c3d760f2ba464a394ec229 Mon Sep 17 00:00:00 2001 From: Dave Hylands Date: Tue, 11 Mar 2014 23:55:41 -0700 Subject: Initial checkin with STM HAL This compiles and links, but hasn't been tested on a board yet and even if it was run, it doesn't currently do anything. --- stmhal/fatfs/doc/en/error.html | 62 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 62 insertions(+) create mode 100644 stmhal/fatfs/doc/en/error.html (limited to 'stmhal/fatfs/doc/en/error.html') diff --git a/stmhal/fatfs/doc/en/error.html b/stmhal/fatfs/doc/en/error.html new file mode 100644 index 000000000..7405d9e0e --- /dev/null +++ b/stmhal/fatfs/doc/en/error.html @@ -0,0 +1,62 @@ + + +
+ + + + + +The f_error tests for an error on a file.
++int f_error ( + FIL* fp /* [IN] File object */ +); ++
Returns a non-zero value if a hard error has occured; otherwise it returns a zero.
+In this revision, this function is implemented as a macro.
+
+#define f_error(fp) (((fp)->flag & FA__ERROR) ? 1 : 0)
+
+Always available.
+