fatfs v0.05 Aug 25, 2007:

- Changed arguments of f_read, f_write.
- Changed arguments of f_mkfs. (FatFs)
- Fixed f_mkfs on FAT32 creates incorrect FSInfo. (FatFs)
- Fixed f_mkdir on FAT32 creates incorrect directory. (FatFs)
This commit is contained in:
savelij13 committed 2025-09-11 09:10:56 +03:00
1 parent c0c10d0bea
commit 36c173e705
34 files changed
+461 -225

No files matched your search

+5 -5
View File
@@ -12,7 +12,7 @@
<div class="para">
<h2>disk_status</h2>
<p>The disk_status function gets the disk status.</p>
<p>The disk_status function return the current disk status.</p>
<pre>
DSTATUS disk_status (
BYTE <em>Drive</em> /* Physical drive number */
@@ -31,14 +31,14 @@ DSTATUS disk_status (
<div class="para">
<h4>Return Values</h4>
<p>The disk status is returned in combinatin of following flags.</p>
<p>The disk status is returned in combination of following flags.</p>
<dl class="ret">
<dt>STA_NOINIT</dt>
<dd>Indicates that the disk drive has not been initialiezed. This flag is set on: power-on, disk removal and disk_initialize function failed, and cleared on: disk_initialize function succeeded.</dd>
<dd>Indicates that the disk drive has not been initialiezed. This flag is set on: system reset, disk removal and disk_initialize function failed, and cleared on: disk_initialize function succeeded.</dd>
<dt>STA_NODISK</dt>
<dd>Indicates that no medium in the drive. It is always cleared on fixed disk drive.</dd>
<dd>Indicates that no medium in the drive. This is always cleared on fixed disk drive.</dd>
<dt>STA_PROTECTED</dt>
<dd>Indicates that the medium is write protected. It is always cleared on the drive that does not support write protect notch.</dd>
<dd>Indicates that the medium is write protected. This is always cleared on the drive that does not support write protect notch.</dd>
</dl>
</div>