summaryrefslogtreecommitdiff
path: root/fatfs/doc/en/dwrite.html
diff options
context:
space:
mode:
authorLeo C2016-09-08 19:15:27 +0200
committerLeo C2016-09-08 19:15:27 +0200
commit70702af1370e44e32fb2c3c507e4759a187b4fe5 (patch)
tree5b75a408efadf5fccd8d5d481e91cce73a86897b /fatfs/doc/en/dwrite.html
parent7b78a5a287827db9e9b16286f3604aef69b37c5c (diff)
downloadz180-stamp-70702af1370e44e32fb2c3c507e4759a187b4fe5.zip
Import fatfs R0.12bfatfs-0.12b
Diffstat (limited to 'fatfs/doc/en/dwrite.html')
-rw-r--r--fatfs/doc/en/dwrite.html10
1 files changed, 5 insertions, 5 deletions
diff --git a/fatfs/doc/en/dwrite.html b/fatfs/doc/en/dwrite.html
index fd4bf48..b97f177 100644
--- a/fatfs/doc/en/dwrite.html
+++ b/fatfs/doc/en/dwrite.html
@@ -30,11 +30,11 @@ DRESULT disk_write (
<dt>pdrv</dt>
<dd>Physical drive number to identify the target device.</dd>
<dt>buff</dt>
-<dd>Pointer to the <em>byte array</em> to be written. The size of data to be written is sector size * <tt class="arg">count</tt> bytes.</dd>
+<dd>Pointer to the first item of the <em>byte array</em> to be written. The size of data to be written is sector size * <tt class="arg">count</tt> bytes.</dd>
<dt>sector</dt>
<dd>Start sector number in 32-bit LBA.</dd>
<dt>count</dt>
-<dd>Number of sectors to write in range of from 1 to 128.</dd>
+<dd>Number of sectors to write.</dd>
</dl>
</div>
@@ -58,10 +58,10 @@ DRESULT disk_write (
<div class="para desc">
<h4>Description</h4>
-<p>The specified memory address is not that always aligned to word boundary because the type of pointer is defined as <tt>BYTE*</tt>. For more information, refer to the description of <a href="dread.html"><tt>disk_read()</tt></a> function.</p>
+<p>The specified memory address is not that always aligned to word boundary because the type of pointer is defined as <tt>BYTE*</tt>. For more information, refer to the description of <a href="dread.html"><tt>disk_read</tt></a> function.</p>
<p>Generally, a multiple sector transfer request must not be split into single sector transactions to the storage device, or you will never get good write throughput.</p>
-<p>FatFs expects delayed write feature of the disk functions. The write operation to the media need not to be completed due to write operation is in progress or only stored it into the cache buffer when return from this function. But data on the <tt class="arg">buff</tt> is invalid after return from this function. The write completion request is done by <tt>CTRL_SYNC</tt> command of <tt><a href="dioctl.html">disk_ioctl()</a></tt> function. Therefore, if delayed write feature is implemented, the write throughput may be improved.</p>
-<p><em>Application program MUST NOT call this function, or FAT structure on the volume can be collapsed.</em></p>
+<p>FatFs expects delayed write function of the disk control layer. The write operation to the media does not need to be completed when return from this function by what write operation is in progress or data is only stored into the write-back cache. But write data on the <tt class="arg">buff</tt> is invalid after return from this function. The write completion request is done by <tt>CTRL_SYNC</tt> command of <tt><a href="dioctl.html">disk_ioctl</a></tt> function. Therefore, if a delayed write function is implemented, the write throughput will be improved.</p>
+<p><em>Remarks: Application program MUST NOT call this function, or FAT structure on the volume can be collapsed.</em></p>
</div>