From 8561671cb8c8c81cca6407d47437a7238b111ada Mon Sep 17 00:00:00 2001 From: inmarket Date: Sat, 24 Jun 2017 16:35:31 +1000 Subject: Upgrade to from FATFS-0.10b to FATFS-0.13 --- 3rdparty/fatfs-0.13/documents/doc/chdrive.html | 71 ++++++++++++++++++++++++++ 1 file changed, 71 insertions(+) create mode 100644 3rdparty/fatfs-0.13/documents/doc/chdrive.html (limited to '3rdparty/fatfs-0.13/documents/doc/chdrive.html') diff --git a/3rdparty/fatfs-0.13/documents/doc/chdrive.html b/3rdparty/fatfs-0.13/documents/doc/chdrive.html new file mode 100644 index 00000000..d3bf71f5 --- /dev/null +++ b/3rdparty/fatfs-0.13/documents/doc/chdrive.html @@ -0,0 +1,71 @@ + + + + + + + + +FatFs - f_chdrive + + + + +
+

f_chdrive

+

The f_chdrive function changes the current drive.

+
+FRESULT f_chdrive (
+  const TCHAR* path  /* [IN] Logical drive number */
+);
+
+
+ +
+

Parameters

+
+
path
+
Specifies the logical drive number to be set as the current drive.
+
+
+ + +
+

Return Values

+

+FR_OK, +FR_INVALID_DRIVE +

+
+ + +
+

Description

+

The f_chdrive function changes the current drive. The initial value of the current drive number is 0. Note that the current drive is retained in a static variable so that it also affects other tasks that using the file functions.

+
+ +
+

QuickInfo

+

Available when FF_FS_RPATH >= 1 and FF_VOLUMES >= 2.

+
+ + +
+

Example

+
+    f_chdrive("2:");  /* Set current drive to drive 2 */
+
+    f_chdrive("");    /* No effect (set current drive to current drive) */
+
+
+
+ + +
+

See Also

+

f_chdir, f_getcwd

+
+ +

Return

+ + -- cgit v1.2.3