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/getlabel.html | 82 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 82 insertions(+) create mode 100644 fatfs/doc/en/getlabel.html (limited to 'fatfs/doc/en/getlabel.html') diff --git a/fatfs/doc/en/getlabel.html b/fatfs/doc/en/getlabel.html new file mode 100644 index 0000000..736792f --- /dev/null +++ b/fatfs/doc/en/getlabel.html @@ -0,0 +1,82 @@ + + +
+ + + + + +The f_getlabel function returns volume label and volume serial number of a drive.
++FRESULT f_getlabel ( + const TCHAR* path, /* [IN] Drive number */ + TCHAR* label, /* [OUT] Volume label */ + DWORD* vsn /* [OUT] Volume serial number */ +); ++
+FR_OK, +FR_DISK_ERR, +FR_INT_ERR, +FR_NOT_READY, +FR_INVALID_DRIVE, +FR_NOT_ENABLED, +FR_NO_FILESYSTEM, +FR_TIMEOUT +
+Available when _USE_LABEL == 1.
++ char str[12]; + + /* Get volume label of the default drive */ + f_getlabel("", str, 0); + + /* Get volume label of the drive 2 */ + f_getlabel("2:", str, 0); ++