Browse Source

Move 3rd Party source to a new directory.
Rationalise Fatfs code and fix a couple of configuration issues.

inmarket 5 years ago
parent
commit
efa13a879d
100 changed files with 7213 additions and 7213 deletions
  1. 118 120
      src/gfile/fatfs/doc/00index_e.html
  2. 118 118
      src/gfile/fatfs/doc/00index_j.html
  3. 65 65
      src/gfile/fatfs/doc/css_e.css
  4. 68 68
      src/gfile/fatfs/doc/css_j.css
  5. 1 1
      src/gfile/fatfs/doc/css_p.css
  6. 275 274
      src/gfile/fatfs/doc/en/appnote.html
  7. 81 81
      src/gfile/fatfs/doc/en/chdir.html
  8. 60 60
      src/gfile/fatfs/doc/en/chdrive.html
  9. 89 89
      src/gfile/fatfs/doc/en/chmod.html
  10. 66 66
      src/gfile/fatfs/doc/en/close.html
  11. 64 64
      src/gfile/fatfs/doc/en/closedir.html
  12. 46 46
      src/gfile/fatfs/doc/en/dinit.html
  13. 90 90
      src/gfile/fatfs/doc/en/dioctl.html
  14. 71 71
      src/gfile/fatfs/doc/en/dread.html
  15. 48 48
      src/gfile/fatfs/doc/en/dstat.html
  16. 76 76
      src/gfile/fatfs/doc/en/dwrite.html
  17. 62 62
      src/gfile/fatfs/doc/en/eof.html
  18. 62 62
      src/gfile/fatfs/doc/en/error.html
  19. 57 57
      src/gfile/fatfs/doc/en/fattime.html
  20. 97 97
      src/gfile/fatfs/doc/en/fdisk.html
  21. 78 78
      src/gfile/fatfs/doc/en/filename.html
  22. 139 139
      src/gfile/fatfs/doc/en/forward.html
  23. 70 70
      src/gfile/fatfs/doc/en/getcwd.html
  24. 95 95
      src/gfile/fatfs/doc/en/getfree.html
  25. 82 82
      src/gfile/fatfs/doc/en/getlabel.html
  26. 65 65
      src/gfile/fatfs/doc/en/gets.html
  27. 129 129
      src/gfile/fatfs/doc/en/lseek.html
  28. 80 80
      src/gfile/fatfs/doc/en/mkdir.html
  29. 73 73
      src/gfile/fatfs/doc/en/mkfs.html
  30. 83 83
      src/gfile/fatfs/doc/en/mount.html
  31. 173 173
      src/gfile/fatfs/doc/en/open.html
  32. 75 75
      src/gfile/fatfs/doc/en/opendir.html
  33. 0 0
      3rdparty/fatfs-0.10b/doc/en/printf.html
  34. 62 62
      src/gfile/fatfs/doc/en/putc.html
  35. 62 62
      src/gfile/fatfs/doc/en/puts.html
  36. 87 87
      src/gfile/fatfs/doc/en/rc.html
  37. 74 74
      src/gfile/fatfs/doc/en/read.html
  38. 125 125
      src/gfile/fatfs/doc/en/readdir.html
  39. 85 85
      src/gfile/fatfs/doc/en/rename.html
  40. 40 40
      src/gfile/fatfs/doc/en/sdir.html
  41. 89 89
      src/gfile/fatfs/doc/en/setlabel.html
  42. 54 54
      src/gfile/fatfs/doc/en/sfatfs.html
  43. 49 49
      src/gfile/fatfs/doc/en/sfile.html
  44. 70 70
      src/gfile/fatfs/doc/en/sfileinfo.html
  45. 62 62
      src/gfile/fatfs/doc/en/size.html
  46. 74 74
      src/gfile/fatfs/doc/en/stat.html
  47. 66 66
      src/gfile/fatfs/doc/en/sync.html
  48. 62 62
      src/gfile/fatfs/doc/en/tell.html
  49. 66 66
      src/gfile/fatfs/doc/en/truncate.html
  50. 75 75
      src/gfile/fatfs/doc/en/unlink.html
  51. 99 99
      src/gfile/fatfs/doc/en/utime.html
  52. 74 74
      src/gfile/fatfs/doc/en/write.html
  53. 43 43
      src/gfile/fatfs/doc/img/app1.c
  54. 70 70
      src/gfile/fatfs/doc/img/app2.c
  55. 106 106
      src/gfile/fatfs/doc/img/app3.c
  56. 318 318
      src/gfile/fatfs/doc/img/app4.c
  57. 0 0
      3rdparty/fatfs-0.10b/doc/img/f1.png
  58. 0 0
      3rdparty/fatfs-0.10b/doc/img/f2.png
  59. 0 0
      3rdparty/fatfs-0.10b/doc/img/f3.png
  60. 0 0
      3rdparty/fatfs-0.10b/doc/img/f4.png
  61. 0 0
      3rdparty/fatfs-0.10b/doc/img/f5.png
  62. 0 0
      3rdparty/fatfs-0.10b/doc/img/f6.png
  63. 0 0
      3rdparty/fatfs-0.10b/doc/img/f7.png
  64. 0 0
      3rdparty/fatfs-0.10b/doc/img/funcs.png
  65. 0 0
      3rdparty/fatfs-0.10b/doc/img/layers.png
  66. 0 0
      3rdparty/fatfs-0.10b/doc/img/layers3.png
  67. 0 0
      3rdparty/fatfs-0.10b/doc/img/modules.png
  68. 0 0
      3rdparty/fatfs-0.10b/doc/img/rwtest.png
  69. 0 0
      3rdparty/fatfs-0.10b/doc/img/rwtest2.png
  70. 0 0
      3rdparty/fatfs-0.10b/doc/img/rwtest3.png
  71. 282 281
      src/gfile/fatfs/doc/ja/appnote.html
  72. 81 81
      src/gfile/fatfs/doc/ja/chdir.html
  73. 61 61
      src/gfile/fatfs/doc/ja/chdrive.html
  74. 83 83
      src/gfile/fatfs/doc/ja/chmod.html
  75. 66 66
      src/gfile/fatfs/doc/ja/close.html
  76. 64 64
      src/gfile/fatfs/doc/ja/closedir.html
  77. 46 46
      src/gfile/fatfs/doc/ja/dinit.html
  78. 95 95
      src/gfile/fatfs/doc/ja/dioctl.html
  79. 71 71
      src/gfile/fatfs/doc/ja/dread.html
  80. 48 48
      src/gfile/fatfs/doc/ja/dstat.html
  81. 76 76
      src/gfile/fatfs/doc/ja/dwrite.html
  82. 62 62
      src/gfile/fatfs/doc/ja/eof.html
  83. 62 62
      src/gfile/fatfs/doc/ja/error.html
  84. 57 57
      src/gfile/fatfs/doc/ja/fattime.html
  85. 97 97
      src/gfile/fatfs/doc/ja/fdisk.html
  86. 76 76
      src/gfile/fatfs/doc/ja/filename.html
  87. 140 140
      src/gfile/fatfs/doc/ja/forward.html
  88. 70 70
      src/gfile/fatfs/doc/ja/getcwd.html
  89. 95 95
      src/gfile/fatfs/doc/ja/getfree.html
  90. 82 82
      src/gfile/fatfs/doc/ja/getlabel.html
  91. 65 65
      src/gfile/fatfs/doc/ja/gets.html
  92. 129 129
      src/gfile/fatfs/doc/ja/lseek.html
  93. 80 80
      src/gfile/fatfs/doc/ja/mkdir.html
  94. 73 73
      src/gfile/fatfs/doc/ja/mkfs.html
  95. 82 82
      src/gfile/fatfs/doc/ja/mount.html
  96. 171 171
      src/gfile/fatfs/doc/ja/open.html
  97. 76 76
      src/gfile/fatfs/doc/ja/opendir.html
  98. 93 93
      src/gfile/fatfs/doc/ja/printf.html
  99. 62 62
      src/gfile/fatfs/doc/ja/putc.html
  100. 0 0
      src/gfile/fatfs/doc/ja/puts.html

+ 118 - 120
src/gfile/fatfs/doc/00index_e.html

@@ -1,120 +1,118 @@
1
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
2
-<html lang="en">
3
-<head>
4
-<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
5
-<meta http-equiv="Content-Style-Type" content="text/css">
6
-<meta http-equiv="cache-control" content="no-cache">
7
-<meta name="description" content="Open source FAT file system module for embedded projects">
8
-<link rel="start" title="Site Top" href="../../">
9
-<link rel="up" title="Freewares" href="../../fsw_e.html">
10
-<link rel="alternate" hreflang="ja" title="Japanese version" href="00index_j.html">
11
-<link rel="stylesheet" href="css_e.css" type="text/css" media="screen" title="ELM Default">
12
-<title>FatFs - Generic FAT File System Module</title>
13
-</head>
14
-
15
-<body>
16
-<h1>FatFs - Generic FAT File System Module</h1>
17
-<hr>
18
-
19
-<div class="abst">
20
-<img src="img/layers.png" class="rset" width="245" height="255" alt="layer">
21
-<p>FatFs is a generic FAT file system module for small embedded systems. The FatFs is written in compliance with ANSI C and completely separated from the disk I/O layer. Therefore it is independent of hardware architecture. It can be incorporated into small microcontrollers with limited resource, such as AVR, 8051, PIC, ARM, Z80, 68k and etc... Petit FatFs module is also available <a href="http://elm-chan.org/fsw/ff/00index_p.html">here</a>↗ for tiny microcontrollers.</p>
22
-
23
-<h4>Features</h4>
24
-<ul>
25
- <li>Windows compatible FAT file system.</li>
26
- <li>Platform independent. Easy to port.</li>
27
- <li>Very small footprint for code and work area.</li>
28
- <li>Various configuration options:
29
-  <ul>
30
-   <li>Multiple volumes (physical drives and partitions).</li>
31
-   <li>Multiple ANSI/OEM code pages including DBCS.</li>
32
-   <li>Long file name support in ANSI/OEM or Unicode.</li>
33
-   <li>RTOS support.</li>
34
-   <li>Multiple sector size support.</li>
35
-   <li>Read-only, minimized API, I/O buffer and etc...</li>
36
-  </ul>
37
- </li>
38
-</ul>
39
-</div>
40
-
41
-
42
-<div class="para">
43
-<h3>Application Interface</h3>
44
-<p>FatFs module provides following functions to the applications. In other words, this list describes what FatFs can do to access the FAT volumes.</p>
45
-<ul>
46
- <li><a href="en/mount.html">f_mount</a> - Register/Unregister a work area</li>
47
- <li><a href="en/open.html">f_open</a> - Open/Create a file</li>
48
- <li><a href="en/close.html">f_close</a> - Close an open file</li>
49
- <li><a href="en/read.html">f_read</a> - Read file</li>
50
- <li><a href="en/write.html">f_write</a> - Write file</li>
51
- <li><a href="en/lseek.html">f_lseek</a> - Move read/write pointer, Expand file size</li>
52
- <li><a href="en/truncate.html">f_truncate</a> - Truncate file size</li>
53
- <li><a href="en/sync.html">f_sync</a> - Flush cached data</li>
54
- <li><a href="en/forward.html">f_forward</a> - Forward file data to the stream</li>
55
- <li><a href="en/stat.html">f_stat</a> - Check existance of a file or sub-directory</li>
56
- <li><a href="en/opendir.html">f_opendir</a> - Open a directory</li>
57
- <li><a href="en/closedir.html">f_closedir</a> - Close an open directory</li>
58
- <li><a href="en/readdir.html">f_readdir</a> - Read a directory item</li>
59
- <li><a href="en/mkdir.html">f_mkdir</a> - Create a sub-directory</li>
60
- <li><a href="en/unlink.html">f_unlink</a> - Remove a file or sub-directory</li>
61
- <li><a href="en/chmod.html">f_chmod</a> - Change attribute</li>
62
- <li><a href="en/utime.html">f_utime</a> - Change timestamp</li>
63
- <li><a href="en/rename.html">f_rename</a> - Rename/Move a file or sub-directory</li>
64
- <li><a href="en/chdir.html">f_chdir</a> - Change current directory</li>
65
- <li><a href="en/chdrive.html">f_chdrive</a> - Change current drive</li>
66
- <li><a href="en/getcwd.html">f_getcwd</a> - Retrieve the current directory</li>
67
- <li><a href="en/getfree.html">f_getfree</a> - Get free space on the volume</li>
68
- <li><a href="en/getlabel.html">f_getlabel</a> - Get volume label</li>
69
- <li><a href="en/setlabel.html">f_setlabel</a> - Set volume label</li>
70
- <li><a href="en/mkfs.html">f_mkfs</a> - Create a file system on the drive</li>
71
- <li><a href="en/fdisk.html">f_fdisk</a> - Divide a physical drive</li>
72
- <li><a href="en/gets.html">f_gets</a> - Read a string</li>
73
- <li><a href="en/putc.html">f_putc</a> - Write a character</li>
74
- <li><a href="en/puts.html">f_puts</a> - Write a string</li>
75
- <li><a href="en/printf.html">f_printf</a> - Write a formatted string</li>
76
- <li><a href="en/tell.html">f_tell</a> - Get current read/write pointer</li>
77
- <li><a href="en/eof.html">f_eof</a> - Test for end-of-file on a file</li>
78
- <li><a href="en/size.html">f_size</a> - Get size of a file</li>
79
- <li><a href="en/error.html">f_error</a> - Test for an error on a file</li>
80
-</ul>
81
-</div>
82
-
83
-
84
-<div class="para">
85
-<h3>Disk I/O Interface</h3>
86
-<p>Since the FatFs module is completely separated from disk I/O layer, it requires following functions to access the storage device. When O/S related feature is enabled, it will require process/memory functions in addition. However the low level disk I/O module is not a part of FatFs module, so that it must be provided by user. The sample implementations are also available in the downloads.</p>
87
-<ul>
88
- <li><a href="en/dstat.html">disk_status</a> - Get device status</li>
89
- <li><a href="en/dinit.html">disk_initialize</a> - Initialize device</li>
90
- <li><a href="en/dread.html">disk_read</a> - Read sector(s)</li>
91
- <li><a href="en/dwrite.html">disk_write</a> - Write sector(s)</li>
92
- <li><a href="en/dioctl.html">disk_ioctl</a> - Control device dependent features</li>
93
- <li><a href="en/fattime.html">get_fattime</a> - Get current time</li>
94
-</ul>
95
-</div>
96
-
97
-
98
-<div class="para">
99
-<h3>Resources</h3>
100
-<p>The FatFs module is a free software opened for education, research and development. You can use, modify and/or redistribute it for personal projects or commercial products without any restriction under your responsibility. For further information, refer to the application note.</p>
101
-<ul>
102
- <li><a href="http://elm-chan.org/fsw/ff/bd/"><em>FatFs User Forum</em></a>↗</li>
103
- <li>Read first: <a href="en/appnote.html">FatFs module application note</a></li>
104
- <li>Latest Information: <a href="http://elm-chan.org/fsw/ff/00index_e.html">http://elm-chan.org/fsw/ff/00index_e.html</a>↗</li>
105
- <li><a href="http://nemuisan.blog.bai.ne.jp/">Nemuisan's Blog</a>↗ (Well written implementations for STM32F/SDIO and LPC2300/MCI)</li>
106
- <li><a href="http://www.siwawi.arubi.uni-kl.de/avr_projects/arm_projects/arm_memcards/index.html">ARM-Projects by Martin THOMAS</a>↗ (Examples for LPC2000, AT91SAM and STM32)</li>
107
- <li><a href="http://www.microsoft.com/whdc/system/platform/firmware/fatgen.mspx">FAT32 Specification by Microsoft</a>↗ (The reference document on FAT file system)</li>
108
- <li><a href="http://elm-chan.org/docs/fat.html">The basics of FAT file system [ja]</a>↗</li>
109
- <li><a href="http://elm-chan.org/docs/mmc/mmc_e.html">How to Use MMC/SDC</a>↗</li>
110
- <li><a href="img/rwtest.png">Benchmark 1</a> (ATmega64/9.2MHz with MMC via SPI, HDD/CFC via GPIO)</li>
111
- <li><a href="img/rwtest2.png">Benchmark 2</a> (LPC2368/72MHz with MMC via MCI)</li>
112
- <li><a href="http://members.jcom.home.ne.jp/felm/fd.mp4">Demo movie of an application</a> (this project is in ffsample.zip/lpc23xx)</li>
113
-</ul>
114
-</div>
115
-
116
-
117
-<hr>
118
-<p class="foot"><a href="../../fsw_e.html">Return</a></p>
119
-</body>
120
-</html>
1
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
2
+<html lang="en">
3
+<head>
4
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
5
+<meta http-equiv="Content-Style-Type" content="text/css">
6
+<meta http-equiv="cache-control" content="no-cache">
7
+<meta name="description" content="Open source FAT file system module for embedded projects">
8
+<link rel="alternate" hreflang="ja" title="Japanese version" href="00index_j.html">
9
+<link rel="stylesheet" href="css_e.css" type="text/css" media="screen" title="ELM Default">
10
+<title>FatFs - Generic FAT File System Module</title>
11
+</head>
12
+
13
+<body>
14
+<h1>FatFs - Generic FAT File System Module</h1>
15
+<hr>
16
+
17
+<div class="abst">
18
+<img src="img/layers.png" class="rset" width="245" height="255" alt="layer">
19
+<p>FatFs is a generic FAT file system module for small embedded systems. The FatFs is written in compliance with ANSI C and completely separated from the disk I/O layer. Therefore it is independent of hardware architecture. It can be incorporated into small microcontrollers with limited resource, such as AVR, 8051, PIC, ARM, Z80, 68k and etc. Also Petit FatFs module for tiny microcontrollers is available <a href="http://elm-chan.org/fsw/ff/00index_p.html">here</a>.</p>
20
+
21
+<h4>Features</h4>
22
+<ul>
23
+ <li>Windows compatible FAT file system.</li>
24
+ <li>Platform independent. Easy to port.</li>
25
+ <li>Very small footprint for code and work area.</li>
26
+ <li>Various configuration options:
27
+  <ul>
28
+   <li>Multiple volumes (physical drives and partitions).</li>
29
+   <li>Multiple ANSI/OEM code pages including DBCS.</li>
30
+   <li>Long file name support in ANSI/OEM or Unicode.</li>
31
+   <li>RTOS support.</li>
32
+   <li>Multiple sector size support.</li>
33
+   <li>Read-only, minimized API, I/O buffer and etc...</li>
34
+  </ul>
35
+ </li>
36
+</ul>
37
+</div>
38
+
39
+
40
+<div class="para">
41
+<h3>Application Interface</h3>
42
+<p>FatFs module provides following functions to the applications. In other words, this list describes what FatFs can do to access the FAT volumes.</p>
43
+<ul>
44
+ <li><a href="en/mount.html">f_mount</a> - Register/Unregister a work area</li>
45
+ <li><a href="en/open.html">f_open</a> - Open/Create a file</li>
46
+ <li><a href="en/close.html">f_close</a> - Close an open file</li>
47
+ <li><a href="en/read.html">f_read</a> - Read file</li>
48
+ <li><a href="en/write.html">f_write</a> - Write file</li>
49
+ <li><a href="en/lseek.html">f_lseek</a> - Move read/write pointer, Expand file size</li>
50
+ <li><a href="en/truncate.html">f_truncate</a> - Truncate file size</li>
51
+ <li><a href="en/sync.html">f_sync</a> - Flush cached data</li>
52
+ <li><a href="en/forward.html">f_forward</a> - Forward file data to the stream</li>
53
+ <li><a href="en/stat.html">f_stat</a> - Check existance of a file or sub-directory</li>
54
+ <li><a href="en/opendir.html">f_opendir</a> - Open a directory</li>
55
+ <li><a href="en/closedir.html">f_closedir</a> - Close an open directory</li>
56
+ <li><a href="en/readdir.html">f_readdir</a> - Read a directory item</li>
57
+ <li><a href="en/mkdir.html">f_mkdir</a> - Create a sub-directory</li>
58
+ <li><a href="en/unlink.html">f_unlink</a> - Remove a file or sub-directory</li>
59
+ <li><a href="en/chmod.html">f_chmod</a> - Change attribute</li>
60
+ <li><a href="en/utime.html">f_utime</a> - Change timestamp</li>
61
+ <li><a href="en/rename.html">f_rename</a> - Rename/Move a file or sub-directory</li>
62
+ <li><a href="en/chdir.html">f_chdir</a> - Change current directory</li>
63
+ <li><a href="en/chdrive.html">f_chdrive</a> - Change current drive</li>
64
+ <li><a href="en/getcwd.html">f_getcwd</a> - Retrieve the current directory</li>
65
+ <li><a href="en/getfree.html">f_getfree</a> - Get free space on the volume</li>
66
+ <li><a href="en/getlabel.html">f_getlabel</a> - Get volume label</li>
67
+ <li><a href="en/setlabel.html">f_setlabel</a> - Set volume label</li>
68
+ <li><a href="en/mkfs.html">f_mkfs</a> - Create a file system on the drive</li>
69
+ <li><a href="en/fdisk.html">f_fdisk</a> - Divide a physical drive</li>
70
+ <li><a href="en/gets.html">f_gets</a> - Read a string</li>
71
+ <li><a href="en/putc.html">f_putc</a> - Write a character</li>
72
+ <li><a href="en/puts.html">f_puts</a> - Write a string</li>
73
+ <li><a href="en/printf.html">f_printf</a> - Write a formatted string</li>
74
+ <li><a href="en/tell.html">f_tell</a> - Get current read/write pointer</li>
75
+ <li><a href="en/eof.html">f_eof</a> - Test for end-of-file on a file</li>
76
+ <li><a href="en/size.html">f_size</a> - Get size of a file</li>
77
+ <li><a href="en/error.html">f_error</a> - Test for an error on a file</li>
78
+</ul>
79
+</div>
80
+
81
+
82
+<div class="para">
83
+<h3>Device Control Interface</h3>
84
+<p>Since the FatFs module is a file system driver, it is completely separated from physical devices, such as memory card, harddisk and any type of storage devices. The low level device control module is not a part of FatFs module. FatFs accesses the storage device via a simple interface described below. These functions are provided by implementer. Sample implementations for some platforms are also available in the downloads.</p>
85
+<ul>
86
+ <li><a href="en/dstat.html">disk_status</a> - Get device status</li>
87
+ <li><a href="en/dinit.html">disk_initialize</a> - Initialize device</li>
88
+ <li><a href="en/dread.html">disk_read</a> - Read sector(s)</li>
89
+ <li><a href="en/dwrite.html">disk_write</a> - Write sector(s)</li>
90
+ <li><a href="en/dioctl.html">disk_ioctl</a> - Control device dependent features</li>
91
+ <li><a href="en/fattime.html">get_fattime</a> - Get current time</li>
92
+</ul>
93
+</div>
94
+
95
+
96
+<div class="para">
97
+<h3>Resources</h3>
98
+<p>The FatFs module is a free software opened for education, research and development. You can use, modify and/or redistribute it for personal projects or commercial products without any restriction under your responsibility. For further information, refer to the application note.</p>
99
+<ul>
100
+ <li><a href="http://elm-chan.org/fsw/ff/bd/"><em>FatFs User Forum</em></a>↗</li>
101
+ <li>Read first: <a href="en/appnote.html">FatFs module application note</a></li>
102
+ <li>Latest Information: <a href="http://elm-chan.org/fsw/ff/00index_e.html">http://elm-chan.org/fsw/ff/00index_e.html</a>↗</li>
103
+ <li><a href="http://nemuisan.blog.bai.ne.jp/">Nemuisan's Blog</a>↗ (Well written implementations for STM32F/SDIO and LPC2300/MCI)</li>
104
+ <li><a href="http://www.siwawi.arubi.uni-kl.de/avr_projects/arm_projects/arm_memcards/index.html">ARM-Projects by Martin THOMAS</a>↗ (Examples for LPC2000, AT91SAM and STM32)</li>
105
+ <li><a href="http://www.microsoft.com/whdc/system/platform/firmware/fatgen.mspx">FAT32 Specification by Microsoft</a>↗ (The reference document on FAT file system)</li>
106
+ <li><a href="http://elm-chan.org/docs/fat.html">The basics of FAT file system [ja]</a>↗</li>
107
+ <li><a href="http://elm-chan.org/docs/mmc/mmc_e.html">How to Use MMC/SDC</a>↗</li>
108
+ <li><a href="img/rwtest.png">Benchmark 1</a> (ATmega64/9.2MHz with MMC via SPI, HDD/CFC via GPIO)</li>
109
+ <li><a href="img/rwtest2.png">Benchmark 2</a> (LPC2368/72MHz with MMC via MCI)</li>
110
+ <li><a href="http://members.jcom.home.ne.jp/felm/fd.mp4">Demo movie of an application</a> (this project is in ffsample.zip/lpc23xx)</li>
111
+</ul>
112
+</div>
113
+
114
+
115
+<hr>
116
+<p class="foot"><a href="../../fsw_e.html">Return</a></p>
117
+</body>
118
+</html>

File diff suppressed because it is too large
+ 118 - 118
src/gfile/fatfs/doc/00index_j.html


+ 65 - 65
src/gfile/fatfs/doc/css_e.css

@@ -1,65 +1,65 @@
1
-* {margin: 0; padding: 0; border-width: 0;}
2
-body {margin: 8px; background-color: #e0ffff; font-color: black; font-family: serif; line-height: 133%; max-width: 1024px;}
3
-a:link {color: blue;}
4
-a:visited {color: darkmagenta;}
5
-a:hover {background-color: #a0ffff;}
6
-a:active {color: darkmagenta; overflow: hidden; outline:none; position: relative; top: 1px; left: 1px;}
7
-abbr {border-width: 1px;}
8
-
9
-p {margin: 0 0 0.3em 1em;}
10
-i {margin: 0 0.3em 0 0;}
11
-b {margin: 0 0.1em;}
12
-em {font-style: normal; font-weight: bold; margin: 0 0.1em;}
13
-strong {}
14
-pre {border: 1px dashed gray; margin: 0.5em 1em; padding: 0.5em; line-height: 1.2em; font-size: 85%; font-family: "Consolas", "Courier New", monospace; background-color: white;}
15
-pre span.c {color: green;}
16
-pre span.k {color: blue;}
17
-pre span.arg {font-style: italic;}
18
-tt {margin: 0 0.2em; font-size: 0.85em; font-family: "Consolas", "Courier New", monospace; }
19
-tt.arg {font-style: italic;}
20
-ol {margin: 0.5em 2.5em;}
21
-ul {margin: 0.5em 2em;}
22
-dl {margin: 0.5em 1em;}
23
-dd {margin: 0 2em;}
24
-dt {font-size: 0.85em; font-family: "Consolas", "Courier New", monospace;}
25
-dl.par dt {margin: 0.5em 0 0 0 ; font-style: italic; }
26
-dl.ret dt {margin: 0.5em 0 0 0 ; font-size: 0.85em; font-family: "Consolas", "Courier New", monospace;}
27
-hr {border-width: 1px; margin: 1em;}
28
-div.abst {font-family: sans-serif;}
29
-div.para {clear: both; font-family: serif;}
30
-div.ret a {font-size: 0.85em; font-family: "Consolas", "Courier New", monospace; }
31
-.equ {text-indent: 0; margin: 1em 2em 1em;}
32
-.indent {margin-left: 2em;}
33
-.rset {float: right; margin: 0.3em 0 0.5em 0.5em;}
34
-.lset {float: left; margin: 0.3em 0.5em 0.5em 0.5em;}
35
-ul.flat li {list-style-type: none; margin: 0;}
36
-a.imglnk img {border: 1px solid;}
37
-.iequ {white-space: nowrap; font-weight: bold;}
38
-.clr {clear: both;}
39
-.it {font-style: italic;}
40
-.mfd {font-size: 0.7em; padding: 0 1px; border: 1px solid; white-space : nowrap}
41
-.ral {text-align: right; }
42
-.lal {text-align: left; }
43
-.cal {text-align: center; }
44
-
45
-h1 {line-height: 1em; font-size: 2em; font-family: sans-serif; padding: 0.3em 0 0.3em;}
46
-p.hdd {float: right; text-align: right; margin-top: 0.5em;}
47
-hr.hds {clear: both; margin-bottom: 1em;}
48
-
49
-h2 {font-size: 2em; font-family: sans-serif; background-color: #d8d8FF; padding: 0.5em 0.5em; margin: 0 0 0.5em;}
50
-h3 {font-size: 1.5em; font-family: sans-serif; margin: 1.5em 0 0.5em;}
51
-h4 {font-size: 1.2em; font-family: sans-serif; margin: 1em 0 0.2em;}
52
-h5 {font-size: 1em; font-family: sans-serif; margin: 0.5em 0 0em;}
53
-small {font-size: 80%;}
54
-.indent {margin-left: 2em;}
55
-
56
-/* Tables */
57
-table {margin: 0.5em 1em; border-collapse: collapse; border: 2px solid black; }
58
-th {background-color: white; border-style: solid; border-width: 1px 1px 2px; border-color: black; padding: 0 3px; vertical-align: top; white-space: nowrap;}
59
-td {background-color: white; border: 1px solid black; padding: 0 3px; vertical-align: top; line-height: 1.3em;}
60
-table.lst td:first-child {font-size: 0.85em; font-family: "Consolas", "Courier New", monospace;}
61
-table.lst2 td {font-size: 0.85em; font-family: "Consolas", "Courier New", monospace;}
62
-table caption {font-family: sans-serif; font-weight: bold;}
63
-tr.lst3 td { border-width: 2px 1px 1px; }
64
-
65
-p.foot {clear: both; text-indent: 0; margin: 1em 0.5em 1em;}
1
+* {margin: 0; padding: 0; border-width: 0;}
2
+body {margin: 8px; background-color: #e0ffff; font-color: black; font-family: serif; line-height: 133%; max-width: 1024px;}
3
+a:link {color: blue;}
4
+a:visited {color: darkmagenta;}
5
+a:hover {background-color: #a0ffff;}
6
+a:active {color: darkmagenta; overflow: hidden; outline:none; position: relative; top: 1px; left: 1px;}
7
+abbr {border-width: 1px;}
8
+
9
+p {margin: 0 0 0.3em 1em;}
10
+i {margin: 0 0.3em 0 0;}
11
+b {margin: 0 0.1em;}
12
+em {font-style: normal; font-weight: bold; margin: 0 0.1em;}
13
+strong {}
14
+pre {border: 1px dashed gray; margin: 0.5em 1em; padding: 0.5em; line-height: 1.2em; font-size: 85%; font-family: "Consolas", "Courier New", monospace; background-color: white;}
15
+pre span.c {color: green;}
16
+pre span.k {color: blue;}
17
+pre span.arg {font-style: italic;}
18
+tt {margin: 0 0.2em; font-size: 0.85em; font-family: "Consolas", "Courier New", monospace; }
19
+tt.arg {font-style: italic;}
20
+ol {margin: 0.5em 2.5em;}
21
+ul {margin: 0.5em 2em;}
22
+dl {margin: 0.5em 1em;}
23
+dd {margin: 0 2em;}
24
+dt {font-size: 0.85em; font-family: "Consolas", "Courier New", monospace;}
25
+dl.par dt {margin: 0.5em 0 0 0 ; font-style: italic; }
26
+dl.ret dt {margin: 0.5em 0 0 0 ; font-size: 0.85em; font-family: "Consolas", "Courier New", monospace;}
27
+hr {border-width: 1px; margin: 1em;}
28
+div.abst {font-family: sans-serif;}
29
+div.para {clear: both; font-family: serif;}
30
+div.ret a {font-size: 0.85em; font-family: "Consolas", "Courier New", monospace; }
31
+.equ {text-indent: 0; margin: 1em 2em 1em;}
32
+.indent {margin-left: 2em;}
33
+.rset {float: right; margin: 0.3em 0 0.5em 0.5em;}
34
+.lset {float: left; margin: 0.3em 0.5em 0.5em 0.5em;}
35
+ul.flat li {list-style-type: none; margin: 0;}
36
+a.imglnk img {border: 1px solid;}
37
+.iequ {white-space: nowrap; font-weight: bold;}
38
+.clr {clear: both;}
39
+.it {font-style: italic;}
40
+.mfd {font-size: 0.7em; padding: 0 1px; border: 1px solid; white-space : nowrap}
41
+.ral {text-align: right; }
42
+.lal {text-align: left; }
43
+.cal {text-align: center; }
44
+
45
+h1 {line-height: 1em; font-size: 2em; font-family: sans-serif; padding: 0.3em 0 0.3em;}
46
+p.hdd {float: right; text-align: right; margin-top: 0.5em;}
47
+hr.hds {clear: both; margin-bottom: 1em;}
48
+
49
+h2 {font-size: 2em; font-family: sans-serif; background-color: #d8d8FF; padding: 0.5em 0.5em; margin: 0 0 0.5em;}
50
+h3 {font-size: 1.5em; font-family: sans-serif; margin: 1.5em 0 0.5em;}
51
+h4 {font-size: 1.2em; font-family: sans-serif; margin: 1em 0 0.2em;}
52
+h5 {font-size: 1em; font-family: sans-serif; margin: 0.5em 0 0em;}
53
+small {font-size: 80%;}
54
+.indent {margin-left: 2em;}
55
+
56
+/* Tables */
57
+table {margin: 0.5em 1em; border-collapse: collapse; border: 2px solid black; }
58
+th {background-color: white; border-style: solid; border-width: 1px 1px 2px; border-color: black; padding: 0 3px; vertical-align: top; white-space: nowrap;}
59
+td {background-color: white; border: 1px solid black; padding: 0 3px; vertical-align: top; line-height: 1.3em;}
60
+table.lst td:first-child {font-size: 0.85em; font-family: "Consolas", "Courier New", monospace;}
61
+table.lst2 td {font-size: 0.85em; font-family: "Consolas", "Courier New", monospace;}
62
+table caption {font-family: sans-serif; font-weight: bold;}
63
+tr.lst3 td { border-width: 2px 1px 1px; }
64
+
65
+p.foot {clear: both; text-indent: 0; margin: 1em 0.5em 1em;}

+ 68 - 68
src/gfile/fatfs/doc/css_j.css

@@ -1,68 +1,68 @@
1
-@charset "Shift_JIS";
2
-/* Common style sheet for Tech Notes */
3
-
4
-* {margin: 0; padding: 0; border-width: 0;}
5
-body {margin: 8px; background-color: #e0ffff; font-color: black; font-family:"MS P明朝", serif; line-height: 150%; letter-spacing: 1px; max-width: 1024px;}
6
-a:link {color: blue;}
7
-a:visited {color: darkmagenta;}
8
-a:hover {background-color: #a0ffff;}
9
-a:active {color: darkmagenta; overflow: hidden; outline:none; position: relative; top: 1px; left: 1px;}
10
-abbr {border-width: 1px;}
11
-
12
-p {text-indent: 1em; margin: 0 0 0.3em 0.5em;}
13
-i {margin: 0 0.3em 0 0;}
14
-b {margin: 0 0.1em;}
15
-em {font-style: normal; font-weight: bold; margin: 0 0.1em;}
16
-strong {}
17
-pre {border: 1px dashed gray; margin: 0.5em 1em; padding: 0.5em; line-height: 1.2em; letter-spacing: 0; font-size: 0.85em; font-family: "Consolas", "Courier New", "MS ゴシック", monospace; background-color: white;}
18
-pre span.c {color: green;}
19
-pre span.k {color: blue;}
20
-pre span.arg {font-style: italic;}
21
-tt {margin: 0 0.2em; letter-spacing: 0; font-size: 0.85em; font-family: "Consolas", "Courier New", "MS ゴシック", monospace;}
22
-tt.arg {font-style: italic;}
23
-ol {margin: 0.5em 2.5em;}
24
-ul {margin: 0.5em 2em;}
25
-dl {margin: 0.5em 1em;}
26
-dd {margin: 0em   2em;}
27
-dt {font-size: 0.85em; font-family: "Consolas", "Courier New", "MS ゴシック", monospace;}
28
-dl.par dt {margin: 0.5em 0 0 0 ; font-style: italic; letter-spacing: 0;}
29
-dl.ret dt {margin: 0.5em 0 0 0 ; font-size: 0.85em; font-family: "Consolas", "Courier New", "MS ゴシック", monospace; letter-spacing: 0; }
30
-hr {border-width: 1px; margin: 1em;}
31
-div.abst {font-family: "MS Pゴシック",sans-serif;}
32
-div.para {clear: both; font-family: "MS P明朝",serif;}
33
-div.ret a {font-size: 0.85em; font-family: "Consolas", "Courier New", monospace; }
34
-.equ {text-indent: 0; margin: 1em 2em 1em;}
35
-.indent {margin-left: 2em;}
36
-.rset {float: right; margin: 0.3em 0 0.5em 0.5em;}
37
-.lset {float: left; margin: 0.3em 0.5em 0.5em 0.5em;}
38
-ul.flat li {list-style-type: none; margin: 0;}
39
-a.imglnk img {border: 1px solid;}
40
-.iequ {white-space: nowrap; font-weight: bold;}
41
-.clr {clear: both;}
42
-.it {font-style: italic;}
43
-.mfd {font-size: 0.7em; padding: 0 1px; border: 1px solid; white-space : nowrap}
44
-.ral {text-align: right; }
45
-.lal {text-align: left; }
46
-.cal {text-align: center; }
47
-
48
-h1 {line-height: 1em; font-size: 2em; font-family: sans-serif; padding: 0.3em 0 0.3em;}
49
-p.hdd {float: right; text-align: right; margin-top: 0.5em;}
50
-hr.hds {clear: both; margin-bottom: 1em;}
51
-
52
-h2 {font-size: 2em; font-family: "MS Pゴシック",sans-serif; background-color: #d8d8FF; padding: 0.5em 0.5em; margin: 0 0 0.5em;}
53
-h3 {font-size: 1.5em; font-family: "MS Pゴシック",sans-serif; margin: 1.5em 0 0.5em;}
54
-h4 {font-size: 1.2em; font-family: "MS Pゴシック",sans-serif; margin: 1em 0 0.2em;}
55
-h5 {font-size: 1em; font-family: "MS Pゴシック",sans-serif; margin: 0.5em 0 0em;}
56
-small {font-size: 80%;}
57
-.indent {margin-left: 2em;}
58
-
59
-/* Tables */
60
-table {margin: 0.5em 1em; border-collapse: collapse; border: 2px solid black; letter-spacing: 0;}
61
-th {background-color: white; border-style: solid; border-width: 1px 1px 2px; border-color: black; padding: 0 3px; vertical-align: top;}
62
-td {background-color: white; border: 1px solid black; padding: 0 3px; vertical-align: top; line-height: 1.3em;}
63
-table.lst td:first-child {font-size: 0.85em; font-family: "Consolas", "Courier New", monospace; white-space: nowrap;}
64
-table.lst2 td {font-size: 0.85em; font-family: "Consolas", "Courier New", monospace; white-space: nowrap;}
65
-table caption {font-family: sans-serif; font-weight: bold;}
66
-tr.lst3 td {border-width: 2px 1px 1px; }
67
-
68
-p.foot {clear: both; text-indent: 0; margin: 1em 0.5em 1em;}
1
+@charset "Shift_JIS";
2
+/* Common style sheet for Tech Notes */
3
+
4
+* {margin: 0; padding: 0; border-width: 0;}
5
+body {margin: 8px; background-color: #e0ffff; font-color: black; font-family:"MS P明朝", serif; line-height: 150%; letter-spacing: 1px; max-width: 1024px;}
6
+a:link {color: blue;}
7
+a:visited {color: darkmagenta;}
8
+a:hover {background-color: #a0ffff;}
9
+a:active {color: darkmagenta; overflow: hidden; outline:none; position: relative; top: 1px; left: 1px;}
10
+abbr {border-width: 1px;}
11
+
12
+p {text-indent: 1em; margin: 0 0 0.3em 0.5em;}
13
+i {margin: 0 0.3em 0 0;}
14
+b {margin: 0 0.1em;}
15
+em {font-style: normal; font-weight: bold; margin: 0 0.1em;}
16
+strong {}
17
+pre {border: 1px dashed gray; margin: 0.5em 1em; padding: 0.5em; line-height: 1.2em; letter-spacing: 0; font-size: 0.85em; font-family: "Consolas", "Courier New", "MS ゴシック", monospace; background-color: white;}
18
+pre span.c {color: green;}
19
+pre span.k {color: blue;}
20
+pre span.arg {font-style: italic;}
21
+tt {margin: 0 0.2em; letter-spacing: 0; font-size: 0.85em; font-family: "Consolas", "Courier New", "MS ゴシック", monospace;}
22
+tt.arg {font-style: italic;}
23
+ol {margin: 0.5em 2.5em;}
24
+ul {margin: 0.5em 2em;}
25
+dl {margin: 0.5em 1em;}
26
+dd {margin: 0em   2em;}
27
+dt {font-size: 0.85em; font-family: "Consolas", "Courier New", "MS ゴシック", monospace;}
28
+dl.par dt {margin: 0.5em 0 0 0 ; font-style: italic; letter-spacing: 0;}
29
+dl.ret dt {margin: 0.5em 0 0 0 ; font-size: 0.85em; font-family: "Consolas", "Courier New", "MS ゴシック", monospace; letter-spacing: 0; }
30
+hr {border-width: 1px; margin: 1em;}
31
+div.abst {font-family: "MS Pゴシック",sans-serif;}
32
+div.para {clear: both; font-family: "MS P明朝",serif;}
33
+div.ret a {font-size: 0.85em; font-family: "Consolas", "Courier New", monospace; }
34
+.equ {text-indent: 0; margin: 1em 2em 1em;}
35
+.indent {margin-left: 2em;}
36
+.rset {float: right; margin: 0.3em 0 0.5em 0.5em;}
37
+.lset {float: left; margin: 0.3em 0.5em 0.5em 0.5em;}
38
+ul.flat li {list-style-type: none; margin: 0;}
39
+a.imglnk img {border: 1px solid;}
40
+.iequ {white-space: nowrap; font-weight: bold;}
41
+.clr {clear: both;}
42
+.it {font-style: italic;}
43
+.mfd {font-size: 0.7em; padding: 0 1px; border: 1px solid; white-space : nowrap}
44
+.ral {text-align: right; }
45
+.lal {text-align: left; }
46
+.cal {text-align: center; }
47
+
48
+h1 {line-height: 1em; font-size: 2em; font-family: sans-serif; padding: 0.3em 0 0.3em;}
49
+p.hdd {float: right; text-align: right; margin-top: 0.5em;}
50
+hr.hds {clear: both; margin-bottom: 1em;}
51
+
52
+h2 {font-size: 2em; font-family: "MS Pゴシック",sans-serif; background-color: #d8d8FF; padding: 0.5em 0.5em; margin: 0 0 0.5em;}
53
+h3 {font-size: 1.5em; font-family: "MS Pゴシック",sans-serif; margin: 1.5em 0 0.5em;}
54
+h4 {font-size: 1.2em; font-family: "MS Pゴシック",sans-serif; margin: 1em 0 0.2em;}
55
+h5 {font-size: 1em; font-family: "MS Pゴシック",sans-serif; margin: 0.5em 0 0em;}
56
+small {font-size: 80%;}
57
+.indent {margin-left: 2em;}
58
+
59
+/* Tables */
60
+table {margin: 0.5em 1em; border-collapse: collapse; border: 2px solid black; letter-spacing: 0;}
61
+th {background-color: white; border-style: solid; border-width: 1px 1px 2px; border-color: black; padding: 0 3px; vertical-align: top;}
62
+td {background-color: white; border: 1px solid black; padding: 0 3px; vertical-align: top; line-height: 1.3em;}
63
+table.lst td:first-child {font-size: 0.85em; font-family: "Consolas", "Courier New", monospace; white-space: nowrap;}
64
+table.lst2 td {font-size: 0.85em; font-family: "Consolas", "Courier New", monospace; white-space: nowrap;}
65
+table caption {font-family: sans-serif; font-weight: bold;}
66
+tr.lst3 td {border-width: 2px 1px 1px; }
67
+
68
+p.foot {clear: both; text-indent: 0; margin: 1em 0.5em 1em;}

+ 1 - 1
src/gfile/fatfs/doc/css_p.css

@@ -1 +1 @@
1
-body {margin: 8px; background-color: #ffecf0; font-color: black; font-family: serif; line-height: 133%; max-width: 1024px;}
1
+body {margin: 8px; background-color: #ffecf0; font-color: black; font-family: serif; line-height: 133%; max-width: 1024px;}

File diff suppressed because it is too large
+ 275 - 274
src/gfile/fatfs/doc/en/appnote.html


+ 81 - 81
src/gfile/fatfs/doc/en/chdir.html

@@ -1,81 +1,81 @@
1
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
2
-<html lang="en">
3
-<head>
4
-<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
5
-<meta http-equiv="Content-Style-Type" content="text/css">
6
-<link rel="up" title="FatFs" href="../00index_e.html">
7
-<link rel="alternate" hreflang="ja" title="Japanese" href="../ja/chdir.html">
8
-<link rel="stylesheet" href="../css_e.css" type="text/css" media="screen" title="ELM Default">
9
-<title>FatFs - f_chdir</title>
10
-</head>
11
-
12
-<body>
13
-
14
-<div class="para func">
15
-<h2>f_chdir</h2>
16
-<p>The f_chdir function changes the current directory of a drive.</p>
17
-<pre>
18
-FRESULT f_chdir (
19
-  const TCHAR* <span class="arg">path</span> <span class="c">/* [IN] Path name */</span>
20
-);
21
-</pre>
22
-</div>
23
-
24
-<div class="para arg">
25
-<h4>Parameters</h4>
26
-<dl class="par">
27
-<dt>path</dt>
28
-<dd>Pointer to the null-terminated string that specifies a <a href="filename.html">directory</a> to go.</dd>
29
-</dl>
30
-</div>
31
-
32
-
33
-<div class="para ret">
34
-<h4>Return Values</h4>
35
-<p>
36
-<a href="rc.html#ok">FR_OK</a>,
37
-<a href="rc.html#de">FR_DISK_ERR</a>,
38
-<a href="rc.html#ie">FR_INT_ERR</a>,
39
-<a href="rc.html#nr">FR_NOT_READY</a>,
40
-<a href="rc.html#np">FR_NO_PATH</a>,
41
-<a href="rc.html#in">FR_INVALID_NAME</a>,
42
-<a href="rc.html#id">FR_INVALID_DRIVE</a>,
43
-<a href="rc.html#ne">FR_NOT_ENABLED</a>,
44
-<a href="rc.html#ns">FR_NO_FILESYSTEM</a>,
45
-<a href="rc.html#tm">FR_TIMEOUT</a>,
46
-<a href="rc.html#nc">FR_NOT_ENOUGH_CORE</a>
47
-</p>
48
-</div>
49
-
50
-
51
-<div class="para desc">
52
-<h4>Description</h4>
53
-<p>The <tt>f_chdir()</tt> function changes the current directory of the logical drive. The current directory of a drive is initialized to the root directory when the drive is auto-mounted. Note that the current directory is retained in the each file system object so that it also affects other tasks that using the volume.</p>
54
-</div>
55
-
56
-
57
-<div class="para comp">
58
-<h4>QuickInfo</h4>
59
-<p>Available when <tt>_FS_RPATH >= 1</tt>.</p>
60
-</div>
61
-
62
-
63
-<div class="para use">
64
-<h4>Example</h4>
65
-<pre>
66
-    <span class="c">/* Change current direcoty of the current drive (dir1 under root dir) */</span>
67
-    f_chdir("/dir1");
68
-
69
-    <span class="c">/* Change current direcoty of drive 2 (parent dir) */</span>
70
-    f_chdir("2:..");
71
-</pre>
72
-</div>
73
-
74
-<div class="para ref">
75
-<h4>See Also</h4>
76
-<p><tt><a href="chdrive.html">f_chdrive</a>, <a href="getcwd.html">f_getcwd</a></tt></p>
77
-</div>
78
-
79
-<p class="foot"><a href="../00index_e.html">Return</a></p>
80
-</body>
81
-</html>
1
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
2
+<html lang="en">
3
+<head>
4
+<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
5
+<meta http-equiv="Content-Style-Type" content="text/css">
6
+<link rel="up" title="FatFs" href="../00index_e.html">
7
+<link rel="alternate" hreflang="ja" title="Japanese" href="../ja/chdir.html">
8
+<link rel="stylesheet" href="../css_e.css" type="text/css" media="screen" title="ELM Default">
9
+<title>FatFs - f_chdir</title>
10
+</head>
11
+
12
+<body>
13
+
14
+<div class="para func">
15
+<h2>f_chdir</h2>
16
+<p>The f_chdir function changes the current directory of a drive.</p>
17
+<pre>
18
+FRESULT f_chdir (
19
+  const TCHAR* <span class="arg">path</span> <span class="c">/* [IN] Path name */</span>
20
+);
21
+</pre>
22
+</div>
23
+
24
+<div class="para arg">
25
+<h4>Parameters</h4>
26
+<dl class="par">
27
+<dt>path</dt>
28
+<dd>Pointer to the null-terminated string that specifies a <a href="filename.html">directory</a> to go.</dd>
29
+</dl>
30
+</div>
31
+
32
+
33
+<div class="para ret">
34
+<h4>Return Values</h4>
35
+<p>
36
+<a href="rc.html#ok">FR_OK</a>,
37
+<a href="rc.html#de">FR_DISK_ERR</a>,
38
+<a href="rc.html#ie">FR_INT_ERR</a>,
39
+<a href="rc.html#nr">FR_NOT_READY</a>,
40
+<a href="rc.html#np">FR_NO_PATH</a>,
41
+<a href="rc.html#in">FR_INVALID_NAME</a>,
42
+<a href="rc.html#id">FR_INVALID_DRIVE</a>,
43
+<a href="rc.html#ne">FR_NOT_ENABLED</a>,
44
+<a href="rc.html#ns">FR_NO_FILESYSTEM</a>,
45
+<a href="rc.html#tm">FR_TIMEOUT</a>,
46
+<a href="rc.html#nc">FR_NOT_ENOUGH_CORE</a>
47
+</p>
48
+</div>
49
+
50
+
51
+<div class="para desc">
52
+<h4>Description</h4>
53
+<p>The <tt>f_chdir()</tt> function changes the current directory of the logical drive. The current directory of a drive is initialized to the root directory when the drive is auto-mounted. Note that the current directory is retained in the each file system object so that it also affects other tasks that using the volume.</p>
54
+</div>
55
+
56
+
57
+<div class="para comp">
58
+<h4>QuickInfo</h4>
59
+<p>Available when <tt>_FS_RPATH >= 1</tt>.</p>
60
+</div>
61
+
62
+
63
+<div class="para use">
64
+<h4>Example</h4>
65
+<pre>
66
+    <span class="c">/* Change current direcoty of the current drive (dir1 under root dir) */</span>
67
+    f_chdir("/dir1");
68
+
69
+    <span class="c">/* Change current direcoty of drive 2 (parent dir) */</span>
70
+    f_chdir("2:..");
71
+</pre>
72
+</div>
73
+
74
+<div class="para ref">
75
+<h4>See Also</h4>
76
+<p><tt><a href="chdrive.html">f_chdrive</a>, <a href="getcwd.html">f_getcwd</a></tt></p>
77
+</div>
78
+
79
+<p class="foot"><a href="../00index_e.html">Return</a></p>
80
+</body>
81
+</html>

+ 60 - 60
src/gfile/fatfs/doc/en/chdrive.html

@@ -1,60 +1,60 @@
1
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
2
-<html lang="en">
3
-<head>
4
-<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
5
-<meta http-equiv="Content-Style-Type" content="text/css">
6
-<link rel="up" title="FatFs" href="../00index_e.html">
7
-<link rel="alternate" hreflang="ja" title="Japanese" href="../ja/chdrive.html">
8
-<link rel="stylesheet" href="../css_e.css" type="text/css" media="screen" title="ELM Default">
9
-<title>FatFs - f_chdrive</title>
10
-</head>
11
-
12
-<body>
13
-
14
-<div class="para func">
15
-<h2>f_chdrive</h2>
16
-<p>The f_chdrive function changes the current drive.</p>
17
-<pre>
18
-FRESULT f_chdrive (
19
-  const TCHAR* <span class="arg">path</span>  <span class="c">/* [IN] Logical drive number */</span>
20
-);
21
-</pre>
22
-</div>
23
-
24
-<div class="para arg">
25
-<h4>Parameters</h4>
26
-<dl class="par">
27
-<dt>path</dt>
28
-<dd>Specifies the <a href="filename.html">logical drive number</a> to be set as the current drive.</dd>
29
-</dl>
30
-</div>
31
-
32
-
33
-<div class="para ret">
34
-<h4>Return Values</h4>
35
-<p>
36
-<a href="rc.html#ok">FR_OK</a>,
37
-<a href="rc.html#id">FR_INVALID_DRIVE</a>
38
-</p>
39
-</div>
40
-
41
-
42
-<div class="para desc">
43
-<h4>Description</h4>
44
-<p>The <tt>f_chdrive()</tt> 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.</p>
45
-</div>
46
-
47
-<div class="para comp">
48
-<h4>QuickInfo</h4>
49
-<p>Available when <tt>_FS_RPATH >= 1</tt> and <tt>_VOLUMES >= 2</tt>.</p>
50
-</div>
51
-
52
-
53
-<div class="para ref">
54
-<h4>See Also</h4>
55
-<p><tt><a href="chdir.html">f_chdir</a>, <a href="getcwd.html">f_getcwd</a></tt></p>
56
-</div>
57
-
58
-<p class="foot"><a href="../00index_e.html">Return</a></p>
59
-</body>
60
-</html>
1
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
2
+<html lang="en">
3
+<head>
4
+<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
5
+<meta http-equiv="Content-Style-Type" content="text/css">
6
+<link rel="up" title="FatFs" href="../00index_e.html">
7
+<link rel="alternate" hreflang="ja" title="Japanese" href="../ja/chdrive.html">
8
+<link rel="stylesheet" href="../css_e.css" type="text/css" media="screen" title="ELM Default">
9
+<title>FatFs - f_chdrive</title>
10
+</head>
11
+
12
+<body>
13
+
14
+<div class="para func">
15
+<h2>f_chdrive</h2>
16
+<p>The f_chdrive function changes the current drive.</p>
17
+<pre>
18
+FRESULT f_chdrive (
19
+  const TCHAR* <span class="arg">path</span>  <span class="c">/* [IN] Logical drive number */</span>
20
+);
21
+</pre>
22
+</div>
23
+
24
+<div class="para arg">
25
+<h4>Parameters</h4>
26
+<dl class="par">
27
+<dt>path</dt>
28
+<dd>Specifies the <a href="filename.html">logical drive number</a> to be set as the current drive.</dd>
29
+</dl>
30
+</div>
31
+
32
+
33
+<div class="para ret">
34
+<h4>Return Values</h4>
35
+<p>
36
+<a href="rc.html#ok">FR_OK</a>,
37
+<a href="rc.html#id">FR_INVALID_DRIVE</a>
38
+</p>
39
+</div>
40
+
41
+
42
+<div class="para desc">
43
+<h4>Description</h4>
44
+<p>The <tt>f_chdrive()</tt> 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.</p>
45
+</div>
46
+
47
+<div class="para comp">
48
+<h4>QuickInfo</h4>
49
+<p>Available when <tt>_FS_RPATH >= 1</tt> and <tt>_VOLUMES >= 2</tt>.</p>
50
+</div>
51
+
52
+
53
+<div class="para ref">
54
+<h4>See Also</h4>
55
+<p><tt><a href="chdir.html">f_chdir</a>, <a href="getcwd.html">f_getcwd</a></tt></p>
56
+</div>
57
+
58
+<p class="foot"><a href="../00index_e.html">Return</a></p>
59
+</body>
60
+</html>

+ 89 - 89
src/gfile/fatfs/doc/en/chmod.html

@@ -1,89 +1,89 @@
1
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
2
-<html lang="en">
3
-<head>
4
-<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
5
-<meta http-equiv="Content-Style-Type" content="text/css">
6
-<link rel="up" title="FatFs" href="../00index_e.html">
7
-<link rel="alternate" hreflang="ja" title="Japanese" href="../ja/chmod.html">
8
-<link rel="stylesheet" href="../css_e.css" type="text/css" media="screen" title="ELM Default">
9
-<title>FatFs - f_chmod</title>
10
-</head>
11
-
12
-<body>
13
-
14
-<div class="para func">
15
-<h2>f_chmod</h2>
16
-<p>The f_chmod function changes the attribute of a file or sub-directory.</p>
17
-<pre>
18
-FRESULT f_chmod (
19
-  const TCHAR* <span class="arg">path</span>, <span class="c">/* [IN] Object name */</span>
20
-  BYTE <span class="arg">attr</span>,         <span class="c">/* [IN] Attribute flags */</span>
21
-  BYTE <span class="arg">mask</span>          <span class="c">/* [IN] Attribute masks */</span>
22
-);
23
-</pre>
24
-</div>
25
-
26
-<div class="para arg">
27
-<h4>Parameters</h4>
28
-<dl class="par">
29
-<dt>path</dt>
30
-<dd>Pointer to the null-terminated string that specifies an <a href="filename.html">object</a> to be changed</dd>
31
-<dt>attr</dt>
32
-<dd>Attribute flags to be set in one or more combination of the following flags. The specified flags are set and others are cleard.<br>
33
-<table class="lst">
34
-<tr><th>Attribute</th><th>Description</th></tr>
35
-<tr><td>AM_RDO</td><td>Read only</td></tr>
36
-<tr><td>AM_ARC</td><td>Archive</td></tr>
37
-<tr><td>AM_SYS</td><td>System</td></tr>
38
-<tr><td>AM_HID</td><td>Hidden</td></tr>
39
-</table>
40
-</dd>
41
-<dt>mask</dt>
42
-<dd>Attribute mask that specifies which attribute is changed. The specified attributes are set or cleard and others are left unchanged.</dd>
43
-</dl>
44
-</div>
45
-
46
-
47
-<div class="para ret">
48
-<h4>Return Values</h4>
49
-<p>
50
-<a href="rc.html#ok">FR_OK</a>,
51
-<a href="rc.html#de">FR_DISK_ERR</a>,
52
-<a href="rc.html#ie">FR_INT_ERR</a>,
53
-<a href="rc.html#nr">FR_NOT_READY</a>,
54
-<a href="rc.html#ok">FR_NO_FILE</a>,
55
-<a href="rc.html#np">FR_NO_PATH</a>,
56
-<a href="rc.html#in">FR_INVALID_NAME</a>,
57
-<a href="rc.html#wp">FR_WRITE_PROTECTED</a>,
58
-<a href="rc.html#id">FR_INVALID_DRIVE</a>,
59
-<a href="rc.html#ne">FR_NOT_ENABLED</a>,
60
-<a href="rc.html#ns">FR_NO_FILESYSTEM</a>,
61
-<a href="rc.html#tm">FR_TIMEOUT</a>,
62
-<a href="rc.html#nc">FR_NOT_ENOUGH_CORE</a>
63
-</p>
64
-</div>
65
-
66
-
67
-<div class="para desc">
68
-<h4>Description</h4>
69
-<p>The <tt>f_chmod()</tt> function changes the attribute of a file or sub-directory.</p>
70
-</div>
71
-
72
-
73
-<div class="para comp">
74
-<h4>QuickInfo</h4>
75
-<p>Available when <tt>_FS_READONLY == 0</tt> and <tt>_FS_MINIMIZE == 0</tt>.</p>
76
-</div>
77
-
78
-
79
-<div class="para use">
80
-<h4>Example</h4>
81
-<pre>
82
-    <span class="c">/* Set read-only flag, clear archive flag and others are left unchanged. */</span>
83
-    f_chmod("file.txt", AR_RDO, AR_RDO | AR_ARC);
84
-</pre>
85
-</div>
86
-
87
-<p class="foot"><a href="../00index_e.html">Return</a></p>
88
-</body>
89
-</html>
1
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
2
+<html lang="en">
3
+<head>
4
+<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
5
+<meta http-equiv="Content-Style-Type" content="text/css">
6
+<link rel="up" title="FatFs" href="../00index_e.html">
7
+<link rel="alternate" hreflang="ja" title="Japanese" href="../ja/chmod.html">
8
+<link rel="stylesheet" href="../css_e.css" type="text/css" media="screen" title="ELM Default">
9
+<title>FatFs - f_chmod</title>
10
+</head>
11
+
12
+<body>
13
+
14
+<div class="para func">
15
+<h2>f_chmod</h2>
16
+<p>The f_chmod function changes the attribute of a file or sub-directory.</p>
17
+<pre>
18
+FRESULT f_chmod (
19
+  const TCHAR* <span class="arg">path</span>, <span class="c">/* [IN] Object name */</span>
20
+  BYTE <span class="arg">attr</span>,         <span class="c">/* [IN] Attribute flags */</span>
21
+  BYTE <span class="arg">mask</span>          <span class="c">/* [IN] Attribute masks */</span>
22
+);
23
+</pre>
24
+</div>
25
+
26
+<div class="para arg">
27
+<h4>Parameters</h4>
28
+<dl class="par">
29
+<dt>path</dt>
30
+<dd>Pointer to the null-terminated string that specifies an <a href="filename.html">object</a> to be changed</dd>
31
+<dt>attr</dt>
32
+<dd>Attribute flags to be set in one or more combination of the following flags. The specified flags are set and others are cleard.<br>
33
+<table class="lst">
34
+<tr><th>Attribute</th><th>Description</th></tr>
35
+<tr><td>AM_RDO</td><td>Read only</td></tr>
36
+<tr><td>AM_ARC</td><td>Archive</td></tr>
37
+<tr><td>AM_SYS</td><td>System</td></tr>
38
+<tr><td>AM_HID</td><td>Hidden</td></tr>
39
+</table>
40
+</dd>
41
+<dt>mask</dt>
42
+<dd>Attribute mask that specifies which attribute is changed. The specified attributes are set or cleard and others are left unchanged.</dd>
43
+</dl>
44
+</div>
45
+
46
+
47
+<div class="para ret">
48
+<h4>Return Values</h4>
49
+<p>
50
+<a href="rc.html#ok">FR_OK</a>,
51
+<a href="rc.html#de">FR_DISK_ERR</a>,
52
+<a href="rc.html#ie">FR_INT_ERR</a>,
53
+<a href="rc.html#nr">FR_NOT_READY</a>,
54
+<a href="rc.html#ok">FR_NO_FILE</a>,
55
+<a href="rc.html#np">FR_NO_PATH</a>,
56
+<a href="rc.html#in">FR_INVALID_NAME</a>,
57
+<a href="rc.html#wp">FR_WRITE_PROTECTED</a>,
58
+<a href="rc.html#id">FR_INVALID_DRIVE</a>,
59
+<a href="rc.html#ne">FR_NOT_ENABLED</a>,
60
+<a href="rc.html#ns">FR_NO_FILESYSTEM</a>,
61
+<a href="rc.html#tm">FR_TIMEOUT</a>,
62
+<a href="rc.html#nc">FR_NOT_ENOUGH_CORE</a>
63
+</p>
64
+</div>
65
+
66
+
67
+<div class="para desc">
68
+<h4>Description</h4>
69
+<p>The <tt>f_chmod()</tt> function changes the attribute of a file or sub-directory.</p>
70
+</div>
71
+
72
+
73
+<div class="para comp">
74
+<h4>QuickInfo</h4>
75
+<p>Available when <tt>_FS_READONLY == 0</tt> and <tt>_FS_MINIMIZE == 0</tt>.</p>
76
+</div>
77
+
78
+
79
+<div class="para use">
80
+<h4>Example</h4>
81
+<pre>
82
+    <span class="c">/* Set read-only flag, clear archive flag and others are left unchanged. */</span>
83
+    f_chmod("file.txt", AR_RDO, AR_RDO | AR_ARC);
84
+</pre>
85
+</div>
86
+
87
+<p class="foot"><a href="../00index_e.html">Return</a></p>
88
+</body>
89
+</html>

+ 66 - 66
src/gfile/fatfs/doc/en/close.html

@@ -1,66 +1,66 @@
1
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
2
-<html lang="en">
3
-<head>
4
-<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
5
-<meta http-equiv="Content-Style-Type" content="text/css">
6
-<link rel="up" title="FatFs" href="../00index_e.html">
7
-<link rel="alternate" hreflang="ja" title="Japanese" href="../ja/close.html">
8
-<link rel="stylesheet" href="../css_e.css" type="text/css" media="screen" title="ELM Default">
9
-<title>FatFs - f_close</title>
10
-</head>
11
-
12
-<body>
13
-
14
-<div class="para func">
15
-<h2>f_close</h2>
16
-<p>The f_close function closes an open file.</p>
17
-<pre>
18
-FRESULT f_close (
19
-  FIL* <span class="arg">fp</span>     <span class="c">/* [IN] Pointer to the file object */</span>
20
-);
21
-</pre>
22
-</div>
23
-
24
-<div class="para arg">
25
-<h4>Parameter</h4>
26
-<dl class="par">
27
-<dt>fp</dt>
28
-<dd>Pointer to the open file object structure to be closed.</dd>
29
-</dl>
30
-</div>
31
-
32
-
33
-<div class="para ret">
34
-<h4>Return Values</h4>
35
-<p>
36
-<a href="rc.html#ok">FR_OK</a>,
37
-<a href="rc.html#de">FR_DISK_ERR</a>,
38
-<a href="rc.html#ie">FR_INT_ERR</a>,
39
-<a href="rc.html#nr">FR_NOT_READY</a>,
40
-<a href="rc.html#io">FR_INVALID_OBJECT</a>,
41
-<a href="rc.html#tm">FR_TIMEOUT</a>
42
-</p>
43
-</div>
44
-
45
-
46
-<div class="para desc">
47
-<h4>Description</h4>
48
-<p>The <tt>f_close()</tt> function closes an open file object. If any data has been written to the file, the cached information of the file is written back to the volume. After the function succeeded, the file object is no longer valid and it can be discarded.</p>
49
-<p>Note that if the file object is in read-only mode and <tt>_FS_LOCK</tt> option is not enabled, the file object can also be discarded without this process. However this is not recommended for future compatibility.</p>
50
-</div>
51
-
52
-
53
-<div class="para comp">
54
-<h4>QuickInfo</h4>
55
-<p>Always available.</p>
56
-</div>
57
-
58
-
59
-<div class="para ref">
60
-<h4>See Also</h4>
61
-<p><tt><a href="open.html">f_open</a>, <a href="read.html">f_read</a>, <a href="write.html">f_write</a>,  <a href="sync.html">f_sync</a>, <a href="sfile.html">FIL</a>, <a href="sfatfs.html">FATFS</a></tt></p>
62
-</div>
63
-
64
-<p class="foot"><a href="../00index_e.html">Return</a></p>
65
-</body>
66
-</html>
1
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
2
+<html lang="en">
3
+<head>
4
+<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
5
+<meta http-equiv="Content-Style-Type" content="text/css">
6
+<link rel="up" title="FatFs" href="../00index_e.html">
7
+<link rel="alternate" hreflang="ja" title="Japanese" href="../ja/close.html">
8
+<link rel="stylesheet" href="../css_e.css" type="text/css" media="screen" title="ELM Default">
9
+<title>FatFs - f_close</title>
10
+</head>
11
+
12
+<body>
13
+
14
+<div class="para func">
15
+<h2>f_close</h2>
16
+<p>The f_close function closes an open file.</p>
17
+<pre>
18
+FRESULT f_close (
19
+  FIL* <span class="arg">fp</span>     <span class="c">/* [IN] Pointer to the file object */</span>
20
+);
21
+</pre>
22
+</div>
23
+
24
+<div class="para arg">
25
+<h4>Parameter</h4>
26
+<dl class="par">
27
+<dt>fp</dt>
28
+<dd>Pointer to the open file object structure to be closed.</dd>
29
+</dl>
30
+</div>
31
+
32
+
33
+<div class="para ret">
34
+<h4>Return Values</h4>
35
+<p>
36
+<a href="rc.html#ok">FR_OK</a>,
37
+<a href="rc.html#de">FR_DISK_ERR</a>,
38
+<a href="rc.html#ie">FR_INT_ERR</a>,
39
+<a href="rc.html#nr">FR_NOT_READY</a>,
40
+<a href="rc.html#io">FR_INVALID_OBJECT</a>,
41
+<a href="rc.html#tm">FR_TIMEOUT</a>
42
+</p>
43
+</div>
44
+
45
+
46
+<div class="para desc">
47
+<h4>Description</h4>
48
+<p>The <tt>f_close()</tt> function closes an open file object. If any data has been written to the file, the cached information of the file is written back to the volume. After the function succeeded, the file object is no longer valid and it can be discarded.</p>
49
+<p>Note that if the file object is in read-only mode and <tt>_FS_LOCK</tt> option is not enabled, the file object can also be discarded without this process. However this is not recommended for future compatibility.</p>
50
+</div>
51
+
52
+
53
+<div class="para comp">
54
+<h4>QuickInfo</h4>
55
+<p>Always available.</p>
56
+</div>
57
+
58
+
59
+<div class="para ref">
60
+<h4>See Also</h4>
61
+<p><tt><a href="open.html">f_open</a>, <a href="read.html">f_read</a>, <a href="write.html">f_write</a>,  <a href="sync.html">f_sync</a>, <a href="sfile.html">FIL</a>, <a href="sfatfs.html">FATFS</a></tt></p>
62
+</div>
63
+
64
+<p class="foot"><a href="../00index_e.html">Return</a></p>
65
+</body>
66
+</html>

+ 64 - 64
src/gfile/fatfs/doc/en/closedir.html

@@ -1,64 +1,64 @@
1
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
2
-<html lang="en">
3
-<head>
4
-<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
5
-<meta http-equiv="Content-Style-Type" content="text/css">
6
-<link rel="up" title="FatFs" href="../00index_e.html">
7
-<link rel="alternate" hreflang="ja" title="Japanese" href="../ja/close.html">
8
-<link rel="stylesheet" href="../css_e.css" type="text/css" media="screen" title="ELM Default">
9
-<title>FatFs - f_closedir</title>
10
-</head>
11
-
12
-<body>
13
-
14
-<div class="para func">
15
-<h2>f_closedir</h2>
16
-<p>The f_closedir function closes an open directory.</p>
17
-<pre>
18
-FRESULT f_closedir (
19
-  DIR* <span class="arg">dp</span>     <span class="c">/* [IN] Pointer to the directory object */</span>
20
-);
21
-</pre>
22
-</div>
23
-
24
-<div class="para arg">
25
-<h4>Parameter</h4>
26
-<dl class="par">
27
-<dt>dp</dt>
28
-<dd>Pointer to the open directory object structure to be closed.</dd>
29
-</dl>
30
-</div>
31
-
32
-
33
-<div class="para ret">
34
-<h4>Return Values</h4>
35
-<p>
36
-<a href="rc.html#ok">FR_OK</a>,
37
-<a href="rc.html#ie">FR_INT_ERR</a>,
38
-<a href="rc.html#io">FR_INVALID_OBJECT</a>,
39
-<a href="rc.html#tm">FR_TIMEOUT</a>
40
-</p>
41
-</div>
42
-
43
-
44
-<div class="para desc">
45
-<h4>Description</h4>
46
-<p>The <tt>f_closedir()</tt> function closes an open directory object. After the function succeeded, the directory object is no longer valid and it can be discarded.</p>
47
-<p>Note that the directory object can also be discarded without this process if <tt>_FS_LOCK</tt> option is not enabled. However this is not recommended for future compatibility.</p>
48
-</div>
49
-
50
-
51
-<div class="para comp">
52
-<h4>QuickInfo</h4>
53
-<p>Available when <tt>_FS_MINIMIZE &lt;= 1</tt>.</p>
54
-</div>
55
-
56
-
57
-<div class="para ref">
58
-<h4>See Also</h4>
59
-<p><tt><a href="opendir.html">f_opendir</a>, <a href="readdir.html">f_readdir</a>, <a href="sdir.html">DIR</a></tt></p>
60
-</div>
61
-
62
-<p class="foot"><a href="../00index_e.html">Return</a></p>
63
-</body>
64
-</html>
1
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
2
+<html lang="en">
3
+<head>
4
+<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
5
+<meta http-equiv="Content-Style-Type" content="text/css">
6
+<link rel="up" title="FatFs" href="../00index_e.html">
7
+<link rel="alternate" hreflang="ja" title="Japanese" href="../ja/close.html">
8
+<link rel="stylesheet" href="../css_e.css" type="text/css" media="screen" title="ELM Default">
9
+<title>FatFs - f_closedir</title>
10
+</head>
11
+
12
+<body>
13
+
14
+<div class="para func">
15
+<h2>f_closedir</h2>
16
+<p>The f_closedir function closes an open directory.</p>
17
+<pre>
18
+FRESULT f_closedir (
19
+  DIR* <span class="arg">dp</span>     <span class="c">/* [IN] Pointer to the directory object */</span>
20
+);
21
+</pre>
22
+</div>
23
+
24
+<div class="para arg">
25
+<h4>Parameter</h4>
26
+<dl class="par">
27
+<dt>dp</dt>
28
+<dd>Pointer to the open directory object structure to be closed.</dd>
29
+</dl>
30
+</div>
31
+
32
+
33
+<div class="para ret">
34
+<h4>Return Values</h4>
35
+<p>
36
+<a href="rc.html#ok">FR_OK</a>,
37
+<a href="rc.html#ie">FR_INT_ERR</a>,
38
+<a href="rc.html#io">FR_INVALID_OBJECT</a>,
39
+<a href="rc.html#tm">FR_TIMEOUT</a>
40
+</p>
41
+</div>
42
+
43
+
44
+<div class="para desc">
45
+<h4>Description</h4>
46
+<p>The <tt>f_closedir()</tt> function closes an open directory object. After the function succeeded, the directory object is no longer valid and it can be discarded.</p>
47
+<p>Note that the directory object can also be discarded without this process if <tt>_FS_LOCK</tt> option is not enabled. However this is not recommended for future compatibility.</p>
48
+</div>
49
+
50
+
51
+<div class="para comp">
52
+<h4>QuickInfo</h4>
53
+<p>Available when <tt>_FS_MINIMIZE &lt;= 1</tt>.</p>
54
+</div>
55
+
56
+
57
+<div class="para ref">
58
+<h4>See Also</h4>
59
+<p><tt><a href="opendir.html">f_opendir</a>, <a href="readdir.html">f_readdir</a>, <a href="sdir.html">DIR</a></tt></p>
60
+</div>
61
+
62
+<p class="foot"><a href="../00index_e.html">Return</a></p>
63
+</body>
64
+</html>

+ 46 - 46
src/gfile/fatfs/doc/en/dinit.html

@@ -1,46 +1,46 @@
1
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
2
-<html lang="en">
3
-<head>
4
-<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
5
-<meta http-equiv="Content-Style-Type" content="text/css">
6
-<link rel="up" title="FatFs" href="../00index_e.html">
7
-<link rel="alternate" hreflang="ja" title="Japanese" href="../ja/dinit.html">
8
-<link rel="stylesheet" href="../css_e.css" type="text/css" media="screen" title="ELM Default">
9
-<title>FatFs - disk_initialize</title>
10
-</head>
11
-
12
-<body>
13
-
14
-<div class="para func">
15
-<h2>disk_initialize</h2>
16
-<p>The disk_initialize function initializes the storage device.</p>
17
-<pre>
18
-DSTATUS disk_initialize (
19
-  BYTE <span class="arg">pdrv</span>           <span class="c">/* [IN] Physical drive number */</span>
20
-);
21
-</pre>
22
-</div>
23
-
24
-<div class="para arg">
25
-<h4>Parameter</h4>
26
-<dl class="par">
27
-<dt>pdrv</dt>
28
-<dd>Physical drive number to identify the target device.</dd>
29
-</dl>
30
-</div>
31
-
32
-
33
-<div class="para ret">
34
-<h4>Return Values</h4>
35
-<p>This function returns a disk status as the result. For details of the disk status, refer to the <a href="dstat.html">disk_status()</a> function.</p>
36
-</div>
37
-
38
-<div class="para desc">
39
-<h4>Description</h4>
40
-<p>This function initializes a storage device and put it ready to generic read/write data. When the function succeeded, <tt>STA_NOINIT</tt> flag in the return value is cleared.</p>
41
-<p><em>Application program MUST NOT call this function, or FAT structure on the volume can be broken. To re-initialize the file system, use <tt>f_mount()</tt> function instead.</em> This function is called at volume mount process by FatFs module to manage the media change.</p>
42
-</div>
43
-
44
-<p class="foot"><a href="../00index_e.html">Return</a></p>
45
-</body>
46
-</html>
1
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
2
+<html lang="en">
3
+<head>
4
+<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
5
+<meta http-equiv="Content-Style-Type" content="text/css">
6
+<link rel="up" title="FatFs" href="../00index_e.html">
7
+<link rel="alternate" hreflang="ja" title="Japanese" href="../ja/dinit.html">
8
+<link rel="stylesheet" href="../css_e.css" type="text/css" media="screen" title="ELM Default">
9
+<title>FatFs - disk_initialize</title>
10
+</head>
11
+
12
+<body>
13
+
14
+<div class="para func">
15
+<h2>disk_initialize</h2>
16
+<p>The disk_initialize function initializes the storage device.</p>
17
+<pre>
18
+DSTATUS disk_initialize (
19
+  BYTE <span class="arg">pdrv</span>           <span class="c">/* [IN] Physical drive number */</span>
20
+);
21
+</pre>
22
+</div>
23
+
24
+<div class="para arg">
25
+<h4>Parameter</h4>
26
+<dl class="par">
27
+<dt>pdrv</dt>
28
+<dd>Physical drive number to identify the target device.</dd>
29
+</dl>
30
+</div>
31
+
32
+
33
+<div class="para ret">
34
+<h4>Return Values</h4>
35
+<p>This function returns a disk status as the result. For details of the disk status, refer to the <a href="dstat.html">disk_status()</a> function.</p>
36
+</div>
37
+
38
+<div class="para desc">
39
+<h4>Description</h4>
40
+<p>This function initializes a storage device and put it ready to generic read/write data. When the function succeeded, <tt>STA_NOINIT</tt> flag in the return value is cleared.</p>
41
+<p><em>Application program MUST NOT call this function, or FAT structure on the volume can be broken. To re-initialize the file system, use <tt>f_mount()</tt> function instead.</em> This function is called at volume mount process by FatFs module to manage the media change.</p>
42
+</div>
43
+
44
+<p class="foot"><a href="../00index_e.html">Return</a></p>
45
+</body>
46
+</html>

File diff suppressed because it is too large
+ 90 - 90
src/gfile/fatfs/doc/en/dioctl.html


+ 71 - 71
src/gfile/fatfs/doc/en/dread.html

@@ -1,71 +1,71 @@
1
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
2
-<html lang="en">
3
-<head>
4
-<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
5
-<meta http-equiv="Content-Style-Type" content="text/css">
6
-<link rel="up" title="FatFs" href="../00index_e.html">
7
-<link rel="alternate" hreflang="ja" title="Japanese" href="../ja/dread.html">
8
-<link rel="stylesheet" href="../css_e.css" type="text/css" media="screen" title="ELM Default">
9
-<title>FatFs - disk_read</title>
10
-</head>
11
-
12
-<body>
13
-
14
-<div class="para func">
15
-<h2>disk_read</h2>
16
-<p>The disk_read function reads sector(s) from the storage device.</p>
17
-<pre>
18
-DRESULT disk_read (
19
-  BYTE <span class="arg">pdrv</span>,     <span class="c">/* [IN] Physical drive number */</span>
20
-  BYTE* <span class="arg">buff</span>,    <span class="c">/* [OUT] Pointer to the read data buffer */</span>
21
-  DWORD <span class="arg">sector</span>,  <span class="c">/* [IN] Start sector number */</span>
22
-  UINT <span class="arg">count</span>     <span class="c">/* [IN] Number of sectros to read */</span>
23
-);
24
-</pre>
25
-</div>
26
-
27
-<div class="para arg">
28
-<h4>Parameters</h4>
29
-<dl class="par">
30
-<dt>pdrv</dt>
31
-<dd>Physical drive number to identify the target device.</dd>
32
-<dt>buff</dt>
33
-<dd>Pointer to the <em>byte array</em> to store the read data.</dd>
34
-<dt>sector</dt>
35
-<dd>Start sector number in logical block address (LBA).</dd>
36
-<dt>count</dt>
37
-<dd>Number of sectors to read. FatFs specifis it in range of from 1 to 128.</dd>
38
-</dl>
39
-</div>
40
-
41
-
42
-<div class="para ret">
43
-<h4>Return Value</h4>
44
-<dl class="ret">
45
-<dt>RES_OK (0)</dt>
46
-<dd>The function succeeded.</dd>
47
-<dt>RES_ERROR</dt>
48
-<dd>Any hard error occured during the read operation and could not recover it.</dd>
49
-<dt>RES_PARERR</dt>
50
-<dd>Invalid parameter.</dd>
51
-<dt>RES_NOTRDY</dt>
52
-<dd>The device has not been initialized.</dd>
53
-</dl>
54
-</div>
55
-
56
-
57
-<div class="para desc">
58
-<h4>Description</h4>
59
-<p>The memory address specified by <tt class="arg">buff</tt> is not that always aligned to word boundary because the type of argument is defined as <tt>BYTE*</tt>. The misaligned read/write request can occure at <a href="appnote.html#fs1">direct transfer</a>. If the bus architecture, especially DMA controller, does not allow misaligned memory access, it should be solved in this function. There are some workarounds described below to avoid this issue.</p>
60
-<ul>
61
-<li>Convert word transfer to byte transfer in this function. - Recommended.</li>
62
-<li>For <tt>f_read()</tt>, avoid long read request that includes a whole of sector. - Direct transfer will never occure.</li>
63
-<li>For <tt>f_read(fp, buff, btr, &amp;br)</tt>, make sure that <tt>(((UINT)buff &amp; 3) == (f_tell(fp) &amp; 3))</tt> is true. - Word aligned direct transfer is guaranteed.</li>
64
-</ul>
65
-<p>Generally, a multiple sector transfer request must not be split into single sector transactions to the storage device, or you will not get good read throughput.</p>
66
-</div>
67
-
68
-
69
-<p class="foot"><a href="../00index_e.html">Return</a></p>
70
-</body>
71
-</html>
1
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
2
+<html lang="en">
3
+<head>
4
+<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
5
+<meta http-equiv="Content-Style-Type" content="text/css">
6
+<link rel="up" title="FatFs" href="../00index_e.html">
7
+<link rel="alternate" hreflang="ja" title="Japanese" href="../ja/dread.html">
8
+<link rel="stylesheet" href="../css_e.css" type="text/css" media="screen" title="ELM Default">
9
+<title>FatFs - disk_read</title>
10
+</head>
11
+
12
+<body>
13
+
14
+<div class="para func">
15
+<h2>disk_read</h2>
16
+<p>The disk_read function reads sector(s) from the storage device.</p>
17
+<pre>
18
+DRESULT disk_read (
19
+  BYTE <span class="arg">pdrv</span>,     <span class="c">/* [IN] Physical drive number */</span>
20
+  BYTE* <span class="arg">buff</span>,    <span class="c">/* [OUT] Pointer to the read data buffer */</span>
21
+  DWORD <span class="arg">sector</span>,  <span class="c">/* [IN] Start sector number */</span>
22
+  UINT <span class="arg">count</span>     <span class="c">/* [IN] Number of sectros to read */</span>
23
+);
24
+</pre>
25
+</div>
26
+
27
+<div class="para arg">
28
+<h4>Parameters</h4>
29
+<dl class="par">
30
+<dt>pdrv</dt>
31
+<dd>Physical drive number to identify the target device.</dd>
32
+<dt>buff</dt>
33
+<dd>Pointer to the <em>byte array</em> to store the read data.</dd>
34
+<dt>sector</dt>
35
+<dd>Start sector number in logical block address (LBA).</dd>
36
+<dt>count</dt>
37
+<dd>Number of sectors to read. FatFs specifis it in range of from 1 to 128.</dd>
38
+</dl>
39
+</div>
40
+
41
+
42
+<div class="para ret">
43
+<h4>Return Value</h4>
44
+<dl class="ret">
45
+<dt>RES_OK (0)</dt>
46
+<dd>The function succeeded.</dd>
47
+<dt>RES_ERROR</dt>
48
+<dd>Any hard error occured during the read operation and could not recover it.</dd>
49
+<dt>RES_PARERR</dt>
50
+<dd>Invalid parameter.</dd>
51
+<dt>RES_NOTRDY</dt>
52
+<dd>The device has not been initialized.</dd>
53
+</dl>
54
+</div>
55
+
56
+
57
+<div class="para desc">
58
+<h4>Description</h4>
59
+<p>The memory address specified by <tt class="arg">buff</tt> is not that always aligned to word boundary because the type of argument is defined as <tt>BYTE*</tt>. The misaligned read/write request can occure at <a href="appnote.html#fs1">direct transfer</a>. If the bus architecture, especially DMA controller, does not allow misaligned memory access, it should be solved in this function. There are some workarounds described below to avoid this issue.</p>
60
+<ul>
61
+<li>Convert word transfer to byte transfer in this function. - Recommended.</li>
62
+<li>For <tt>f_read()</tt>, avoid long read request that includes a whole of sector. - Direct transfer will never occure.</li>
63
+<li>For <tt>f_read(fp, buff, btr, &amp;br)</tt>, make sure that <tt>(((UINT)buff &amp; 3) == (f_tell(fp) &amp; 3))</tt> is true. - Word aligned direct transfer is guaranteed.</li>
64
+</ul>
65
+<p>Generally, a multiple sector transfer request must not be split into single sector transactions to the storage device, or you will not get good read throughput.</p>
66
+</div>
67
+
68
+
69
+<p class="foot"><a href="../00index_e.html">Return</a></p>
70
+</body>
71
+</html>

File diff suppressed because it is too large
+ 48 - 48
src/gfile/fatfs/doc/en/dstat.html


File diff suppressed because it is too large
+ 76 - 76
src/gfile/fatfs/doc/en/dwrite.html


+ 62 - 62
src/gfile/fatfs/doc/en/eof.html

@@ -1,62 +1,62 @@
1
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
2
-<html lang="en">
3
-<head>
4
-<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
5
-<meta http-equiv="Content-Style-Type" content="text/css">
6
-<link rel="up" title="FatFs" href="../00index_e.html">
7
-<link rel="alternate" hreflang="ja" title="Japanese" href="../ja/eof.html">
8
-<link rel="stylesheet" href="../css_e.css" type="text/css" media="screen" title="ELM Default">
9
-<title>FatFs - f_eof</title>
10
-</head>
11
-
12
-<body>
13
-
14
-<div class="para func">
15
-<h2>f_eof</h2>
16
-<p>The f_eof function tests for end-of-file on a file.</p>
17
-<pre>
18
-int f_eof (
19
-  FIL* <span class="arg">fp</span>   <span class="c">/* [IN] File object */</span>
20
-);
21
-</pre>
22
-</div>
23
-
24
-
25
-<div class="para arg">
26
-<h4>Parameters</h4>
27
-<dl class="par">
28
-<dt>fp</dt>
29
-<dd>Pointer to the open file object structure.</dd>
30
-</dl>
31
-</div>
32
-
33
-
34
-<div class="para ret">
35
-<h4>Return Values</h4>
36
-<p>The <tt>f_eof()</tt> function returns a non-zero value if the read/write pointer has reached end of the file; otherwise it returns a zero.</p>
37
-</div>
38
-
39
-
40
-<div class="para desc">
41
-<h4>Description</h4>
42
-<p>In this revision, this function is implemented as a macro.</p>
43
-<pre>
44
-<span class="k">#define</span> f_eof(fp) (((fp)->fptr) == ((fp)->fsize) ? 1 : 0)
45
-</pre>
46
-</div>
47
-
48
-
49
-<div class="para comp">
50
-<h4>QuickInfo</h4>
51
-<p>Always available.</p>
52
-</div>
53
-
54
-
55
-<div class="para ref">
56
-<h4>See Also</h4>
57
-<p><tt><a href="open.html">f_open</a>, <a href="lseek.html">f_lseek</a>, <a href="sfile.html">FIL</a></tt></p>
58
-</div>
59
-
60
-<p class="foot"><a href="../00index_e.html">Return</a></p>
61
-</body>
62
-</html>
1
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
2
+<html lang="en">
3
+<head>
4
+<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
5
+<meta http-equiv="Content-Style-Type" content="text/css">
6
+<link rel="up" title="FatFs" href="../00index_e.html">
7
+<link rel="alternate" hreflang="ja" title="Japanese" href="../ja/eof.html">
8
+<link rel="stylesheet" href="../css_e.css" type="text/css" media="screen" title="ELM Default">
9
+<title>FatFs - f_eof</title>
10
+</head>
11
+
12
+<body>
13
+
14
+<div class="para func">
15
+<h2>f_eof</h2>
16
+<p>The f_eof function tests for end-of-file on a file.</p>
17
+<pre>
18
+int f_eof (
19
+  FIL* <span class="arg">fp</span>   <span class="c">/* [IN] File object */</span>
20
+);
21
+</pre>
22
+</div>
23
+
24
+
25
+<div class="para arg">
26
+<h4>Parameters</h4>
27
+<dl class="par">
28
+<dt>fp</dt>
29
+<dd>Pointer to the open file object structure.</dd>
30
+</dl>
31
+</div>
32
+
33
+
34
+<div class="para ret">
35
+<h4>Return Values</h4>
36
+<p>The <tt>f_eof()</tt> function returns a non-zero value if the read/write pointer has reached end of the file; otherwise it returns a zero.</p>
37
+</div>
38
+
39
+
40
+<div class="para desc">
41
+<h4>Description</h4>
42
+<p>In this revision, this function is implemented as a macro.</p>
43
+<pre>
44
+<span class="k">#define</span> f_eof(fp) (((fp)->fptr) == ((fp)->fsize) ? 1 : 0)
45
+</pre>
46
+</div>
47
+
48
+
49
+<div class="para comp">
50
+<h4>QuickInfo</h4>
51
+<p>Always available.</p>
52
+</div>
53
+
54
+
55
+<div class="para ref">
56
+<h4>See Also</h4>
57
+<p><tt><a href="open.html">f_open</a>, <a href="lseek.html">f_lseek</a>, <a href="sfile.html">FIL</a></tt></p>
58
+</div>
59
+
60
+<p class="foot"><a href="../00index_e.html">Return</a></p>
61
+</body>
62
+</html>

+ 62 - 62
src/gfile/fatfs/doc/en/error.html

@@ -1,62 +1,62 @@
1
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
2
-<html lang="en">
3
-<head>
4
-<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
5
-<meta http-equiv="Content-Style-Type" content="text/css">
6
-<link rel="up" title="FatFs" href="../00index_e.html">
7
-<link rel="alternate" hreflang="ja" title="Japanese" href="../ja/error.html">
8
-<link rel="stylesheet" href="../css_e.css" type="text/css" media="screen" title="ELM Default">
9
-<title>FatFs - f_error</title>
10
-</head>
11
-
12
-<body>
13
-
14
-<div class="para func">
15
-<h2>f_error</h2>
16
-<p>The f_error tests for an error on a file.</p>
17
-<pre>
18
-int f_error (
19
-  FIL* <span class="arg">fp</span>   <span class="c">/* [IN] File object */</span>
20
-);
21
-</pre>
22
-</div>
23
-
24
-
25
-<div class="para arg">
26
-<h4>Parameters</h4>
27
-<dl class="par">
28
-<dt>fp</dt>
29
-<dd>Pointer to the open file object structure.</dd>
30
-</dl>
31
-</div>
32
-
33
-
34
-<div class="para ret">
35
-<h4>Return Values</h4>
36
-<p>Returns a non-zero value if a hard error has occured; otherwise it returns a zero.</p>
37
-</div>
38
-
39
-
40
-<div class="para desc">
41
-<h4>Description</h4>
42
-<p>In this revision, this function is implemented as a macro.</p>
43
-<pre>
44
-<span class="k">#define</span> f_error(fp) (((fp)->flag & FA__ERROR) ? 1 : 0)
45
-</pre>
46
-</div>
47
-
48
-
49
-<div class="para comp">
50
-<h4>QuickInfo</h4>
51
-<p>Always available.</p>
52
-</div>
53
-
54
-
55
-<div class="para ref">
56
-<h4>See Also</h4>
57
-<p><tt><a href="open.html">f_open</a>, <a href="sfile.html">FIL</a></tt></p>
58
-</div>
59
-
60
-<p class="foot"><a href="../00index_e.html">Return</a></p>
61
-</body>
62
-</html>
1
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
2
+<html lang="en">
3
+<head>
4
+<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
5
+<meta http-equiv="Content-Style-Type" content="text/css">
6
+<link rel="up" title="FatFs" href="../00index_e.html">
7
+<link rel="alternate" hreflang="ja" title="Japanese" href="../ja/error.html">
8
+<link rel="stylesheet" href="../css_e.css" type="text/css" media="screen" title="ELM Default">
9
+<title>FatFs - f_error</title>
10
+</head>
11
+
12
+<body>
13
+
14
+<div class="para func">
15
+<h2>f_error</h2>
16
+<p>The f_error tests for an error on a file.</p>
17
+<pre>
18
+int f_error (
19
+  FIL* <span class="arg">fp</span>   <span class="c">/* [IN] File object */</span>
20
+);
21
+</pre>
22
+</div>
23
+
24
+
25
+<div class="para arg">
26
+<h4>Parameters</h4>
27
+<dl class="par">
28
+<dt>fp</dt>
29
+<dd>Pointer to the open file object structure.</dd>
30
+</dl>
31
+</div>
32
+
33
+
34
+<div class="para ret">
35
+<h4>Return Values</h4>
36
+<p>Returns a non-zero value if a hard error has occured; otherwise it returns a zero.</p>
37
+</div>
38
+
39
+
40
+<div class="para desc">
41
+<h4>Description</h4>
42
+<p>In this revision, this function is implemented as a macro.</p>
43
+<pre>
44
+<span class="k">#define</span> f_error(fp) (((fp)->flag & FA__ERROR) ? 1 : 0)
45
+</pre>
46
+</div>
47
+
48
+
49
+<div class="para comp">
50
+<h4>QuickInfo</h4>
51
+<p>Always available.</p>
52
+</div>
53
+
54
+
55
+<div class="para ref">
56
+<h4>See Also</h4>
57
+<p><tt><a href="open.html">f_open</a>, <a href="sfile.html">FIL</a></tt></p>
58
+</div>
59
+
60
+<p class="foot"><a href="../00index_e.html">Return</a></p>
61
+</body>
62
+</html>

+ 57 - 57
src/gfile/fatfs/doc/en/fattime.html

@@ -1,57 +1,57 @@
1
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
2
-<html lang="en">
3
-<head>
4
-<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
5
-<meta http-equiv="Content-Style-Type" content="text/css">
6
-<link rel="up" title="FatFs" href="../00index_e.html">
7
-<link rel="alternate" hreflang="ja" title="Japanese" href="../ja/fattime.html">
8
-<link rel="stylesheet" href="../css_e.css" type="text/css" media="screen" title="ELM Default">
9
-<title>FatFs - get_fattime</title>
10
-</head>
11
-
12
-<body>
13
-
14
-<div class="para func">
15
-<h2>get_fattime</h2>
16
-<p>The get_fattime function gets current time.</p>
17
-<pre>
18
-DWORD get_fattime (void);
19
-</pre>
20
-</div>
21
-
22
-
23
-<div class="para ret">
24
-<h4>Return Value</h4>
25
-<p>Currnet time is returned with packed into a <tt>DWORD</tt> value. The bit field is as follows:</p>
26
-<dl class="ret">
27
-<dt>bit31:25</dt>
28
-<dd>Year origin from the 1980 (0..127)</dd>
29
-<dt>bit24:21</dt>
30
-<dd>Month (1..12)</dd>
31
-<dt>bit20:16</dt>
32
-<dd>Day of the month(1..31)</dd>
33
-<dt>bit15:11</dt>
34
-<dd>Hour (0..23)</dd>
35
-<dt>bit10:5</dt>
36
-<dd>Minute (0..59)</dd>
37
-<dt>bit4:0</dt>
38
-<dd>Second / 2 (0..29)</dd>
39
-</dl>
40
-</div>
41
-
42
-
43
-<div class="para desc">
44
-<h4>Description</h4>
45
-<p>The <tt>get_fattime()</tt> function shall return any valid time even if the system does not support a real time clock. If a zero is returned, the file will not have a valid timestamp.</p>
46
-</div>
47
-
48
-
49
-<div class="para comp">
50
-<h4>QuickInfo</h4>
51
-<p>This function is not needed when <tt>_FS_READONLY == 1</tt>.</p>
52
-</div>
53
-
54
-
55
-<p class="foot"><a href="../00index_e.html">Return</a></p>
56
-</body>
57
-</html>
1
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
2
+<html lang="en">
3
+<head>
4
+<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
5
+<meta http-equiv="Content-Style-Type" content="text/css">
6
+<link rel="up" title="FatFs" href="../00index_e.html">
7
+<link rel="alternate" hreflang="ja" title="Japanese" href="../ja/fattime.html">
8
+<link rel="stylesheet" href="../css_e.css" type="text/css" media="screen" title="ELM Default">
9
+<title>FatFs - get_fattime</title>
10
+</head>
11
+
12
+<body>
13
+
14
+<div class="para func">
15
+<h2>get_fattime</h2>
16
+<p>The get_fattime function gets current time.</p>
17
+<pre>
18
+DWORD get_fattime (void);
19
+</pre>
20
+</div>
21
+
22
+
23
+<div class="para ret">
24
+<h4>Return Value</h4>
25
+<p>Currnet time is returned with packed into a <tt>DWORD</tt> value. The bit field is as follows:</p>
26
+<dl class="ret">
27
+<dt>bit31:25</dt>
28
+<dd>Year origin from the 1980 (0..127)</dd>
29
+<dt>bit24:21</dt>
30
+<dd>Month (1..12)</dd>
31
+<dt>bit20:16</dt>
32
+<dd>Day of the month(1..31)</dd>
33
+<dt>bit15:11</dt>
34
+<dd>Hour (0..23)</dd>
35
+<dt>bit10:5</dt>
36
+<dd>Minute (0..59)</dd>
37
+<dt>bit4:0</dt>
38
+<dd>Second / 2 (0..29)</dd>
39
+</dl>
40
+</div>
41
+
42
+
43
+<div class="para desc">
44
+<h4>Description</h4>
45
+<p>The <tt>get_fattime()</tt> function shall return any valid time even if the system does not support a real time clock. If a zero is returned, the file will not have a valid timestamp.</p>
46
+</div>
47
+
48
+
49
+<div class="para comp">
50
+<h4>QuickInfo</h4>
51
+<p>This function is not needed when <tt>_FS_READONLY == 1</tt>.</p>
52
+</div>
53
+
54
+
55
+<p class="foot"><a href="../00index_e.html">Return</a></p>
56
+</body>
57
+</html>

File diff suppressed because it is too large
+ 97 - 97
src/gfile/fatfs/doc/en/fdisk.html


File diff suppressed because it is too large
+ 78 - 78
src/gfile/fatfs/doc/en/filename.html


File diff suppressed because it is too large
+ 139 - 139
src/gfile/fatfs/doc/en/forward.html


+ 70 - 70
src/gfile/fatfs/doc/en/getcwd.html

@@ -1,70 +1,70 @@
1
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
2
-<html lang="en">
3
-<head>
4
-<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
5
-<meta http-equiv="Content-Style-Type" content="text/css">
6
-<link rel="up" title="FatFs" href="../00index_e.html">
7
-<link rel="alternate" hreflang="ja" title="Japanese" href="../ja/getcwd.html">
8
-<link rel="stylesheet" href="../css_e.css" type="text/css" media="screen" title="ELM Default">
9
-<title>FatFs - f_getcwd</title>
10
-</head>
11
-
12
-<body>
13
-
14
-<div class="para func">
15
-<h2>f_getcwd</h2>
16
-<p>The f_getcwd function retrieves the current directory.</p>
17
-<pre>
18
-FRESULT f_getcwd (
19
-  TCHAR* <span class="arg">buff</span>, <span class="c">/* [OUT] Buffer to return path name */</span>
20
-  UINT <span class="arg">len</span>     <span class="c">/* [IN] The length of the buffer */</span>
21
-);
22
-</pre>
23
-</div>
24
-
25
-<div class="para arg">
26
-<h4>Parameters</h4>
27
-<dl class="par">
28
-<dt>buff</dt>
29
-<dd>Pointer to the buffer to receive the current directory string.</dd>
30
-<dt>len</dt>
31
-<dd>Size of the buffer in unit of TCHAR.</dd>
32
-</dl>
33
-</div>
34
-
35
-
36
-<div class="para ret">
37
-<h4>Return Values</h4>
38
-<p>
39
-<a href="rc.html#ok">FR_OK</a>,
40
-<a href="rc.html#de">FR_DISK_ERR</a>,
41
-<a href="rc.html#ie">FR_INT_ERR</a>,
42
-<a href="rc.html#nr">FR_NOT_READY</a>,
43
-<a href="rc.html#ne">FR_NOT_ENABLED</a>,
44
-<a href="rc.html#ns">FR_NO_FILESYSTEM</a>,
45
-<a href="rc.html#tm">FR_TIMEOUT</a>,
46
-<a href="rc.html#nc">FR_NOT_ENOUGH_CORE</a>
47
-</p>
48
-</div>
49
-
50
-
51
-<div class="para desc">
52
-<h4>Description</h4>
53
-<p>The <tt>f_getcwd()</tt> function retrieves full path name of the current directory of the current drive. When <tt>_VOLUMES</tt> is larger than 1, a logical drive number is added to top of the path name.</p>
54
-</div>
55
-
56
-
57
-<div class="para comp">
58
-<h4>QuickInfo</h4>
59
-<p>Available when <tt>_FS_RPATH == 2</tt>.</p>
60
-</div>
61
-
62
-
63
-<div class="para ref">
64
-<h4>See Also</h4>
65
-<p><tt><a href="chdrive.html">f_chdrive</a>, <a href="chdir.html">f_chdir</a></tt></p>
66
-</div>
67
-
68
-<p class="foot"><a href="../00index_e.html">Return</a></p>
69
-</body>
70
-</html>
1
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
2
+<html lang="en">
3
+<head>
4
+<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
5
+<meta http-equiv="Content-Style-Type" content="text/css">
6
+<link rel="up" title="FatFs" href="../00index_e.html">
7
+<link rel="alternate" hreflang="ja" title="Japanese" href="../ja/getcwd.html">
8
+<link rel="stylesheet" href="../css_e.css" type="text/css" media="screen" title="ELM Default">
9
+<title>FatFs - f_getcwd</title>
10
+</head>
11
+
12
+<body>
13
+
14
+<div class="para func">
15
+<h2>f_getcwd</h2>
16
+<p>The f_getcwd function retrieves the current directory.</p>
17
+<pre>
18
+FRESULT f_getcwd (
19
+  TCHAR* <span class="arg">buff</span>, <span class="c">/* [OUT] Buffer to return path name */</span>
20
+  UINT <span class="arg">len</span>     <span class="c">/* [IN] The length of the buffer */</span>
21
+);
22
+</pre>
23
+</div>
24
+
25
+<div class="para arg">
26
+<h4>Parameters</h4>
27
+<dl class="par">
28
+<dt>buff</dt>
29
+<dd>Pointer to the buffer to receive the current directory string.</dd>
30
+<dt>len</dt>
31
+<dd>Size of the buffer in unit of TCHAR.</dd>
32
+</dl>
33
+</div>
34
+
35
+
36
+<div class="para ret">
37
+<h4>Return Values</h4>
38
+<p>
39
+<a href="rc.html#ok">FR_OK</a>,
40
+<a href="rc.html#de">FR_DISK_ERR</a>,
41
+<a href="rc.html#ie">FR_INT_ERR</a>,
42
+<a href="rc.html#nr">FR_NOT_READY</a>,
43
+<a href="rc.html#ne">FR_NOT_ENABLED</a>,
44
+<a href="rc.html#ns">FR_NO_FILESYSTEM</a>,
45
+<a href="rc.html#tm">FR_TIMEOUT</a>,
46
+<a href="rc.html#nc">FR_NOT_ENOUGH_CORE</a>
47
+</p>
48
+</div>
49
+
50
+
51
+<div class="para desc">
52
+<h4>Description</h4>
53
+<p>The <tt>f_getcwd()</tt> function retrieves full path name of the current directory of the current drive. When <tt>_VOLUMES</tt> is larger than 1, a logical drive number is added to top of the path name.</p>
54
+</div>
55
+
56
+
57
+<div class="para comp">
58
+<h4>QuickInfo</h4>
59
+<p>Available when <tt>_FS_RPATH == 2</tt>.</p>
60
+</div>
61
+
62
+
63
+<div class="para ref">
64
+<h4>See Also</h4>
65
+<p><tt><a href="chdrive.html">f_chdrive</a>, <a href="chdir.html">f_chdir</a></tt></p>
66
+</div>
67
+
68
+<p class="foot"><a href="../00index_e.html">Return</a></p>
69
+</body>
70
+</html>

+ 95 - 95
src/gfile/fatfs/doc/en/getfree.html

@@ -1,95 +1,95 @@
1
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
2
-<html lang="en">
3
-<head>
4
-<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
5
-<meta http-equiv="Content-Style-Type" content="text/css">
6
-<link rel="up" title="FatFs" href="../00index_e.html">
7
-<link rel="alternate" hreflang="ja" title="Japanese" href="../ja/getfree.html">
8
-<link rel="stylesheet" href="../css_e.css" type="text/css" media="screen" title="ELM Default">
9
-<title>FatFs - f_getfree</title>
10
-</head>
11
-
12
-<body>
13
-
14
-<div class="para func">
15
-<h2>f_getfree</h2>
16
-<p>The f_getfree function gets number of the free clusters on the volume.</p>
17
-<pre>
18
-FRESULT f_getfree (
19
-  const TCHAR* <span class="arg">path</span>,  <span class="c">/* [IN] Logical drive number */</span>
20
-  DWORD* <span class="arg">nclst</span>,       <span class="c">/* [OUT] Number of free clusters */</span>
21
-  FATFS** <span class="arg">fatfs</span>       <span class="c">/* [OUT] Corresponding file system object */</span>
22
-);
23
-</pre>
24
-</div>
25
-
26
-<div class="para arg">
27
-<h4>Parameters</h4>
28
-<dl class="par">
29
-<dt>path</dt>
30
-<dd>Pinter to the null-terminated string that specifies the <a href="filename.html">logical drive</a>. A null-string means the default drive.</dd>
31
-<dt>nclst</dt>
32
-<dd>Pointer to the <tt>DWORD</tt> variable to store number of free clusters.</dd>
33
-<dt>fatfs</dt>
34
-<dd>Pointer to pointer that to store a pointer to the corresponding file system object.</dd>
35
-</dl>
36
-</div>
37
-
38
-
39
-<div class="para ret">
40
-<h4>Return Values</h4>
41
-<p>
42
-<a href="rc.html#ok">FR_OK</a>,
43
-<a href="rc.html#de">FR_DISK_ERR</a>,
44
-<a href="rc.html#ie">FR_INT_ERR</a>,
45
-<a href="rc.html#nr">FR_NOT_READY</a>,
46
-<a href="rc.html#id">FR_INVALID_DRIVE</a>,
47
-<a href="rc.html#ne">FR_NOT_ENABLED</a>,
48
-<a href="rc.html#ns">FR_NO_FILESYSTEM</a>,
49
-<a href="rc.html#tm">FR_TIMEOUT</a>
50
-</p>
51
-</div>
52
-
53
-
54
-<div class="para desc">
55
-<h4>Descriptions</h4>
56
-<p>The <tt>f_getfree()</tt> function gets number of free clusters on the volume. The member <tt>csize</tt> in the file system object indicates number of sectors per cluster, so that the free space in unit of sector can be calcurated with this information. When FSINFO structure on the FAT32 volume is not in sync, this function can return an incorrect free cluster count. To avoid this problem, FatFs can be forced full FAT scan by <tt>_FS_NOFSINFO</tt> option.</p>
57
-</div>
58
-
59
-
60
-<div class="para comp">
61
-<h4>QuickInfo</h4>
62
-<p>Available when <tt>_FS_READONLY == 0</tt> and <tt>_FS_MINIMIZE == 0</tt>.</p>
63
-</div>
64
-
65
-
66
-<div class="para use">
67
-<h4>Example</h4>
68
-<pre>
69
-    FATFS *fs;
70
-    DWORD fre_clust, fre_sect, tot_sect;
71
-
72
-
73
-    <span class="c">/* Get volume information and free clusters of drive 1 */</span>
74
-    res = f_getfree("1:", &amp;fre_clust, &amp;fs);
75
-    if (res) die(res);
76
-
77
-    <span class="c">/* Get total sectors and free sectors */</span>
78
-    tot_sect = (fs->n_fatent - 2) * fs->csize;
79
-    fre_sect = fre_clust * fs->csize;
80
-
81
-    <span class="c">/* Print the free space (assuming 512 bytes/sector) */</span>
82
-    printf("%10lu KiB total drive space.\n%10lu KiB available.\n",
83
-           tot_sect / 2, fre_sect / 2);
84
-</pre>
85
-</div>
86
-
87
-
88
-<div class="para ref">
89
-<h4>See Also</h4>
90
-<p><tt><a href="sfatfs.html">FATFS</a></tt></p>
91
-</div>
92
-
93
-<p class="foot"><a href="../00index_e.html">Return</a></p>
94
-</body>
95
-</html>
1
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
2
+<html lang="en">
3
+<head>
4
+<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
5
+<meta http-equiv="Content-Style-Type" content="text/css">
6
+<link rel="up" title="FatFs" href="../00index_e.html">
7
+<link rel="alternate" hreflang="ja" title="Japanese" href="../ja/getfree.html">
8
+<link rel="stylesheet" href="../css_e.css" type="text/css" media="screen" title="ELM Default">
9
+<title>FatFs - f_getfree</title>
10
+</head>
11
+
12
+<body>
13
+
14
+<div class="para func">
15
+<h2>f_getfree</h2>
16
+<p>The f_getfree function gets number of the free clusters on the volume.</p>
17
+<pre>
18
+FRESULT f_getfree (
19
+  const TCHAR* <span class="arg">path</span>,  <span class="c">/* [IN] Logical drive number */</span>
20
+  DWORD* <span class="arg">nclst</span>,       <span class="c">/* [OUT] Number of free clusters */</span>
21
+  FATFS** <span class="arg">fatfs</span>       <span class="c">/* [OUT] Corresponding file system object */</span>
22
+);
23
+</pre>
24
+</div>
25
+
26
+<div class="para arg">
27
+<h4>Parameters</h4>
28
+<dl class="par">
29
+<dt>path</dt>
30
+<dd>Pinter to the null-terminated string that specifies the <a href="filename.html">logical drive</a>. A null-string means the default drive.</dd>
31
+<dt>nclst</dt>
32
+<dd>Pointer to the <tt>DWORD</tt> variable to store number of free clusters.</dd>
33
+<dt>fatfs</dt>
34
+<dd>Pointer to pointer that to store a pointer to the corresponding file system object.</dd>
35
+</dl>
36
+</div>
37
+
38
+
39
+<div class="para ret">
40
+<h4>Return Values</h4>
41
+<p>
42
+<a href="rc.html#ok">FR_OK</a>,
43
+<a href="rc.html#de">FR_DISK_ERR</a>,
44
+<a href="rc.html#ie">FR_INT_ERR</a>,
45
+<a href="rc.html#nr">FR_NOT_READY</a>,
46
+<a href="rc.html#id">FR_INVALID_DRIVE</a>,
47
+<a href="rc.html#ne">FR_NOT_ENABLED</a>,
48
+<a href="rc.html#ns">FR_NO_FILESYSTEM</a>,
49
+<a href="rc.html#tm">FR_TIMEOUT</a>
50
+</p>
51
+</div>
52
+
53
+
54
+<div class="para desc">
55
+<h4>Descriptions</h4>
56
+<p>The <tt>f_getfree()</tt> function gets number of free clusters on the volume. The member <tt>csize</tt> in the file system object indicates number of sectors per cluster, so that the free space in unit of sector can be calcurated with this information. When FSINFO structure on the FAT32 volume is not in sync, this function can return an incorrect free cluster count. To avoid this problem, FatFs can be forced full FAT scan by <tt>_FS_NOFSINFO</tt> option.</p>
57
+</div>
58
+
59
+
60
+<div class="para comp">
61
+<h4>QuickInfo</h4>
62
+<p>Available when <tt>_FS_READONLY == 0</tt> and <tt>_FS_MINIMIZE == 0</tt>.</p>
63
+</div>
64
+
65
+
66
+<div class="para use">
67
+<h4>Example</h4>
68
+<pre>
69
+    FATFS *fs;
70
+    DWORD fre_clust, fre_sect, tot_sect;
71
+
72
+
73
+    <span class="c">/* Get volume information and free clusters of drive 1 */</span>
74
+    res = f_getfree("1:", &amp;fre_clust, &amp;fs);
75
+    if (res) die(res);
76
+
77
+    <span class="c">/* Get total sectors and free sectors */</span>
78
+    tot_sect = (fs->n_fatent - 2) * fs->csize;
79
+    fre_sect = fre_clust * fs->csize;
80
+
81
+    <span class="c">/* Print the free space (assuming 512 bytes/sector) */</span>
82
+    printf("%10lu KiB total drive space.\n%10lu KiB available.\n",
83
+           tot_sect / 2, fre_sect / 2);
84
+</pre>
85
+</div>
86
+
87
+
88
+<div class="para ref">
89
+<h4>See Also</h4>
90
+<p><tt><a href="sfatfs.html">FATFS</a></tt></p>
91
+</div>
92
+
93
+<p class="foot"><a href="../00index_e.html">Return</a></p>
94
+</body>
95
+</html>

+ 82 - 82
src/gfile/fatfs/doc/en/getlabel.html

@@ -1,82 +1,82 @@
1
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
2
-<html lang="en">
3
-<head>
4
-<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
5
-<meta http-equiv="Content-Style-Type" content="text/css">
6
-<link rel="up" title="FatFs" href="../00index_e.html">
7
-<link rel="alternate" hreflang="ja" title="Japanese" href="../ja/getlabel.html">
8
-<link rel="stylesheet" href="../css_e.css" type="text/css" media="screen" title="ELM Default">
9
-<title>FatFs - f_getlabel</title>
10
-</head>
11
-
12
-<body>
13
-
14
-<div class="para func">
15
-<h2>f_getlabel</h2>
16
-<p>The f_getlabel function returns volume label and volume serial number of a drive.</p>
17
-<pre>
18
-FRESULT f_getlabel (
19
-  const TCHAR* <span class="arg">path</span>,  <span class="c">/* [IN] Drive number */</span>
20
-  TCHAR* <span class="arg">label</span>,       <span class="c">/* [OUT] Volume label */</span>
21
-  DWORD* <span class="arg">vsn</span>          <span class="c">/* [OUT] Volume serial number */</span>
22
-);
23
-</pre>
24
-</div>
25
-
26
-<div class="para arg">
27
-<h4>Parameters</h4>
28
-<dl class="par">
29
-<dt>path</dt>
30
-<dd>Pointer to the null-terminated string that specifies the <a href="filename.html">logical drive</a>. Null-string specifies the default drive.</dd>
31
-<dt>label</dt>
32
-<dd>Pointer to the buffer to store the volume label. The buffer size must be at least 12 items. If the volume has no label, a null-string will be returned. Set null pointer if this information is not needed.</dd>
33
-<dt>vsn</dt>
34
-<dd>Pointer to the <tt>DWORD</tt> variable to store the volume serial number. Set null pointer if this information is not needed.</dd>
35
-</dl>
36
-</div>
37
-
38
-
39
-<div class="para ret">
40
-<h4>Return Values</h4>
41
-<p>
42
-<a href="rc.html#ok">FR_OK</a>,
43
-<a href="rc.html#de">FR_DISK_ERR</a>,
44
-<a href="rc.html#ie">FR_INT_ERR</a>,
45
-<a href="rc.html#nr">FR_NOT_READY</a>,
46
-<a href="rc.html#id">FR_INVALID_DRIVE</a>,
47
-<a href="rc.html#ne">FR_NOT_ENABLED</a>,
48
-<a href="rc.html#ns">FR_NO_FILESYSTEM</a>,
49
-<a href="rc.html#tm">FR_TIMEOUT</a>
50
-</p>
51
-</div>
52
-
53
-
54
-<div class="para comp">
55
-<h4>QuickInfo</h4>
56
-<p>Available when <tt>_USE_LABEL == 1</tt>.</p>
57
-</div>
58
-
59
-
60
-<div class="para use">
61
-<h4>Example</h4>
62
-<pre>
63
-    char str[12];
64
-
65
-    <span class="c">/* Get volume label of the default drive */</span>
66
-    f_getlabel("", str, 0);
67
-
68
-    <span class="c">/* Get volume label of the drive 2 */</span>
69
-    f_getlabel("2:", str, 0);
70
-</pre>
71
-</div>
72
-
73
-
74
-<div class="para ref">
75
-<h4>See Also</h4>
76
-<tt><a href="setlabel.html">f_setlabel</a></tt>
77
-</div>
78
-
79
-
80
-<p class="foot"><a href="../00index_e.html">Return</a></p>
81
-</body>
82
-</html>
1
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
2
+<html lang="en">
3
+<head>
4
+<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
5
+<meta http-equiv="Content-Style-Type" content="text/css">
6
+<link rel="up" title="FatFs" href="../00index_e.html">
7
+<link rel="alternate" hreflang="ja" title="Japanese" href="../ja/getlabel.html">
8
+<link rel="stylesheet" href="../css_e.css" type="text/css" media="screen" title="ELM Default">
9
+<title>FatFs - f_getlabel</title>
10
+</head>
11
+
12
+<body>
13
+
14
+<div class="para func">
15
+<h2>f_getlabel</h2>
16
+<p>The f_getlabel function returns volume label and volume serial number of a drive.</p>
17
+<pre>
18
+FRESULT f_getlabel (
19
+  const TCHAR* <span class="arg">path</span>,  <span class="c">/* [IN] Drive number */</span>
20
+  TCHAR* <span class="arg">label</span>,       <span class="c">/* [OUT] Volume label */</span>
21
+  DWORD* <span class="arg">vsn</span>          <span class="c">/* [OUT] Volume serial number */</span>
22
+);
23
+</pre>
24
+</div>
25
+
26
+<div class="para arg">
27
+<h4>Parameters</h4>
28
+<dl class="par">
29
+<dt>path</dt>
30
+<dd>Pointer to the null-terminated string that specifies the <a href="filename.html">logical drive</a>. Null-string specifies the default drive.</dd>
31
+<dt>label</dt>
32
+<dd>Pointer to the buffer to store the volume label. The buffer size must be at least 12 items. If the volume has no label, a null-string will be returned. Set null pointer if this information is not needed.</dd>
33
+<dt>vsn</dt>
34
+<dd>Pointer to the <tt>DWORD</tt> variable to store the volume serial number. Set null pointer if this information is not needed.</dd>
35
+</dl>
36
+</div>
37
+
38
+
39
+<div class="para ret">
40
+<h4>Return Values</h4>
41
+<p>
42
+<a href="rc.html#ok">FR_OK</a>,
43
+<a href="rc.html#de">FR_DISK_ERR</a>,
44
+<a href="rc.html#ie">FR_INT_ERR</a>,
45
+<a href="rc.html#nr">FR_NOT_READY</a>,
46
+<a href="rc.html#id">FR_INVALID_DRIVE</a>,
47
+<a href="rc.html#ne">FR_NOT_ENABLED</a>,
48
+<a href="rc.html#ns">FR_NO_FILESYSTEM</a>,
49
+<a href="rc.html#tm">FR_TIMEOUT</a>
50
+</p>
51
+</div>
52
+
53
+
54
+<div class="para comp">
55
+<h4>QuickInfo</h4>
56
+<p>Available when <tt>_USE_LABEL == 1</tt>.</p>
57
+</div>
58
+
59
+
60
+<div class="para use">
61
+<h4>Example</h4>
62
+<pre>
63
+    char str[12];
64
+
65
+    <span class="c">/* Get volume label of the default drive */</span>
66
+    f_getlabel("", str, 0);
67
+
68
+    <span class="c">/* Get volume label of the drive 2 */</span>
69
+    f_getlabel("2:", str, 0);
70
+</pre>
71
+</div>
72
+
73
+
74
+<div class="para ref">
75
+<h4>See Also</h4>
76
+<tt><a href="setlabel.html">f_setlabel</a></tt>
77
+</div>
78
+
79
+
80
+<p class="foot"><a href="../00index_e.html">Return</a></p>
81
+</body>
82
+</html>

File diff suppressed because it is too large
+ 65 - 65
src/gfile/fatfs/doc/en/gets.html


File diff suppressed because it is too large
+ 129 - 129
src/gfile/fatfs/doc/en/lseek.html


+ 80 - 80
src/gfile/fatfs/doc/en/mkdir.html

@@ -1,80 +1,80 @@
1
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
2
-<html lang="en">
3
-<head>
4
-<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
5
-<meta http-equiv="Content-Style-Type" content="text/css">
6
-<link rel="up" title="FatFs" href="../00index_e.html">
7
-<link rel="alternate" hreflang="ja" title="Japanese" href="../ja/mkdir.html">
8
-<link rel="stylesheet" href="../css_e.css" type="text/css" media="screen" title="ELM Default">
9
-<title>FatFs - f_mkdir</title>
10
-</head>
11
-
12
-<body>
13
-
14
-<div class="para func">
15
-<h2>f_mkdir</h2>
16
-<p>The f_mkdir function creates a new directory.</p>
17
-<pre>
18
-FRESULT f_mkdir (
19
-  const TCHAR* <span class="arg">path</span> <span class="c">/* [IN] Directory name */</span>
20
-);
21
-</pre>
22
-</div>
23
-
24
-<div class="para arg">
25
-<h4>Parameter</h4>
26
-<dl class="par">
27
-<dt>path</dt>
28
-<dd>Pointer to the null-terminated string that specifies the <a href="filename.html">directory name</a> to create. </dd>
29
-</dl>
30
-</div>
31
-
32
-
33
-<div class="para ret">
34
-<h4>Return Value</h4>
35
-<p>
36
-<a href="rc.html#ok">FR_OK</a>,
37
-<a href="rc.html#de">FR_DISK_ERR</a>,
38
-<a href="rc.html#ie">FR_INT_ERR</a>,
39
-<a href="rc.html#nr">FR_NOT_READY</a>,
40
-<a href="rc.html#np">FR_NO_PATH</a>,
41
-<a href="rc.html#in">FR_INVALID_NAME</a>,
42
-<a href="rc.html#de">FR_DENIED</a>,
43
-<a href="rc.html#ex">FR_EXIST</a>,
44
-<a href="rc.html#wp">FR_WRITE_PROTECTED</a>,
45
-<a href="rc.html#id">FR_INVALID_DRIVE</a>,
46
-<a href="rc.html#ne">FR_NOT_ENABLED</a>,
47
-<a href="rc.html#ns">FR_NO_FILESYSTEM</a>,
48
-<a href="rc.html#tm">FR_TIMEOUT</a>,
49
-<a href="rc.html#nc">FR_NOT_ENOUGH_CORE</a>
50
-</p>
51
-</div>
52
-
53
-
54
-<div class="para desc">
55
-<h4>Description</h4>
56
-<p>This function creates a new directory.</p>