From 5366852335044c1e68a5c32548d3051cc943552f Mon Sep 17 00:00:00 2001 From: Leo C Date: Tue, 19 Aug 2014 15:31:33 +0200 Subject: Import fatfs R0.10b FatFs Module Source Files R0.10b Author: (C)ChaN, 2014 (http://elm-chan.org) URL: http://elm-chan.org/fsw/ff/ff10b.zip --- fatfs/doc/en/read.html | 74 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 74 insertions(+) create mode 100644 fatfs/doc/en/read.html (limited to 'fatfs/doc/en/read.html') diff --git a/fatfs/doc/en/read.html b/fatfs/doc/en/read.html new file mode 100644 index 0000000..de593f0 --- /dev/null +++ b/fatfs/doc/en/read.html @@ -0,0 +1,74 @@ + + +
+ + + + + +The f_read function reads data from a file.
++FRESULT f_read ( + FIL* fp, /* [IN] File object */ + void* buff, /* [OUT] Buffer to store read data */ + UINT btr, /* [IN] Number of bytes to read */ + UINT* br /* [OUT] Number of bytes read */ +); ++
+FR_OK, +FR_DISK_ERR, +FR_INT_ERR, +FR_NOT_READY, +FR_INVALID_OBJECT, +FR_TIMEOUT +
+The file read/write pointer of the file object advances number of bytes read. After the function succeeded, *br should be checked to detect end of the file. In case of *br is less than btr, it means the read/write pointer reached end of the file during read operation.
+Always available.
+