72 lines
2.9 KiB
HTML
72 lines
2.9 KiB
HTML
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
|
|||
|
<html lang="ja">
|
|||
|
<head>
|
|||
|
<meta http-equiv="Content-Type" content="text/html; charset=Shift_JIS">
|
|||
|
<meta http-equiv="Content-Style-Type" content="text/css">
|
|||
|
<link rel="up" title="FatFs" href="../00index_j.html">
|
|||
|
<link rel="alternate" hreflang="en" title="English" href="../en/dread.html">
|
|||
|
<link rel="stylesheet" href="../css_j.css" type="text/css" media="screen" title="ELM Default">
|
|||
|
<title>FatFs - disk_read</title>
|
|||
|
</head>
|
|||
|
|
|||
|
<body>
|
|||
|
|
|||
|
<div class="para func">
|
|||
|
<h2>disk_read</h2>
|
|||
|
<p><EFBFBD>X<EFBFBD>g<EFBFBD><EFBFBD><EFBFBD>[<5B>W<EFBFBD>E<EFBFBD>f<EFBFBD>o<EFBFBD>C<EFBFBD>X<EFBFBD><58><EFBFBD><EFBFBD><EFBFBD>Z<EFBFBD>N<EFBFBD>^<5E><><EFBFBD>ǂݏo<DD8F><6F><EFBFBD>܂<EFBFBD><DC82>B</p>
|
|||
|
<pre>
|
|||
|
DRESULT disk_read (
|
|||
|
BYTE <span class="arg">pdrv</span>, <span class="c">/* [IN] <20><><EFBFBD><EFBFBD><EFBFBD>h<EFBFBD><68><EFBFBD>C<EFBFBD>u<EFBFBD>ԍ<EFBFBD> */</span>
|
|||
|
BYTE* <span class="arg">buff</span>, <span class="c">/* [OUT] <20>ǂݏo<DD8F><6F><EFBFBD>o<EFBFBD>b<EFBFBD>t<EFBFBD>@<40>ւ̃|<7C>C<EFBFBD><43><EFBFBD>^ */</span>
|
|||
|
DWORD <span class="arg">sector</span>, <span class="c">/* [IN] <20>ǂݏo<DD8F><6F><EFBFBD>J<EFBFBD>n<EFBFBD>Z<EFBFBD>N<EFBFBD>^<5E>ԍ<EFBFBD> */</span>
|
|||
|
UINT <span class="arg">count</span> <span class="c">/* [IN] <20>ǂݏo<DD8F><6F><EFBFBD>Z<EFBFBD>N<EFBFBD>^<5E><> */</span>
|
|||
|
);
|
|||
|
</pre>
|
|||
|
</div>
|
|||
|
|
|||
|
<div class="para arg">
|
|||
|
<h4><EFBFBD><EFBFBD><EFBFBD><EFBFBD></h4>
|
|||
|
<dl class="par">
|
|||
|
<dt>pdrv</dt>
|
|||
|
<dd><EFBFBD>Ώۂ̃f<EFBFBD>o<EFBFBD>C<EFBFBD>X<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>h<EFBFBD><EFBFBD><EFBFBD>C<EFBFBD>u<EFBFBD>ԍ<EFBFBD>(0-9)<29><><EFBFBD>w<EFBFBD>肳<EFBFBD><E882B3><EFBFBD>܂<EFBFBD><DC82>B</dd>
|
|||
|
<dt>buff</dt>
|
|||
|
<dd><EFBFBD>X<EFBFBD>g<EFBFBD><EFBFBD><EFBFBD>[<5B>W<EFBFBD>E<EFBFBD>f<EFBFBD>o<EFBFBD>C<EFBFBD>X<EFBFBD><58><EFBFBD><EFBFBD><EFBFBD>ǂݏo<DD8F><6F><EFBFBD><EFBFBD><EFBFBD>f<EFBFBD>[<5B>^<5E><><EFBFBD>i<EFBFBD>[<5B><><EFBFBD><EFBFBD><em><EFBFBD>o<EFBFBD>C<EFBFBD>g<EFBFBD>z<EFBFBD><EFBFBD></em><EFBFBD><EFBFBD><EFBFBD>w<EFBFBD>肳<EFBFBD><EFBFBD><EFBFBD>܂<EFBFBD><EFBFBD>B</dd>
|
|||
|
<dt>sector</dt>
|
|||
|
<dd><EFBFBD>ǂݏo<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>J<EFBFBD>n<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Z<EFBFBD>N<EFBFBD>^<5E>ԍ<EFBFBD><D48D>BLBA<42>Ŏw<C58E>肳<EFBFBD><E882B3><EFBFBD>܂<EFBFBD><DC82>B</dd>
|
|||
|
<dt>count</dt>
|
|||
|
<dd><EFBFBD>ǂݏo<EFBFBD><EFBFBD><EFBFBD>Z<EFBFBD>N<EFBFBD>^<5E><><EFBFBD>BFatFs<46><73><EFBFBD><EFBFBD><EFBFBD>̌Ăяo<D18F><6F><EFBFBD>ł<EFBFBD>1<EFBFBD>`128<32>͈̔͂Ɍ<CD82><C98C><EFBFBD><EFBFBD><EFBFBD><EFBFBD>܂<EFBFBD><DC82>B</dd>
|
|||
|
</dl>
|
|||
|
</div>
|
|||
|
|
|||
|
|
|||
|
<div class="para ret">
|
|||
|
<h4><EFBFBD>߂<EFBFBD><EFBFBD>l</h4>
|
|||
|
<dl class="ret">
|
|||
|
<dt>RES_OK (0)</dt>
|
|||
|
<dd><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>I<EFBFBD><EFBFBD><EFBFBD>B</dd>
|
|||
|
<dt>RES_ERROR</dt>
|
|||
|
<dd><EFBFBD>ǂݍ<EFBFBD><EFBFBD>ݒ<EFBFBD><EFBFBD>ɃG<EFBFBD><EFBFBD><EFBFBD>[<5B><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>A<EFBFBD><41><EFBFBD>̉ɂ<F1959C82><C982><EFBFBD><EFBFBD>s<EFBFBD><73><EFBFBD><EFBFBD><EFBFBD>B</dd>
|
|||
|
<dt>RES_PARERR</dt>
|
|||
|
<dd><EFBFBD>p<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>[<5B>^<5E><><EFBFBD>s<EFBFBD><73><EFBFBD>B</dd>
|
|||
|
<dt>RES_NOTRDY</dt>
|
|||
|
<dd><EFBFBD>h<EFBFBD><EFBFBD><EFBFBD>C<EFBFBD>u<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\<5C><><EFBFBD>Ԃł͂Ȃ<CD82><C882>i<EFBFBD><69><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ă<EFBFBD><C482>Ȃ<EFBFBD><C882>j<EFBFBD>B</dd>
|
|||
|
</dl>
|
|||
|
</div>
|
|||
|
|
|||
|
|
|||
|
<div class="para desc">
|
|||
|
<h4><EFBFBD><EFBFBD><EFBFBD><EFBFBD></h4>
|
|||
|
<p><tt class="arg">buff</tt><EFBFBD><EFBFBD><tt>BYTE</tt><EFBFBD>^<5E>Ȃ̂ŁA<C581>w<EFBFBD>肳<EFBFBD><E882B3><EFBFBD><EFBFBD><EFBFBD>A<EFBFBD>h<EFBFBD><68><EFBFBD>X<EFBFBD><58><em><EFBFBD><EFBFBD><EFBFBD>Ƀ<EFBFBD><EFBFBD>[<5B>h<EFBFBD>E<EFBFBD>A<EFBFBD><41><EFBFBD>C<EFBFBD><43><EFBFBD><EFBFBD><EFBFBD>g<EFBFBD><67><EFBFBD><EFBFBD><EFBFBD>Ă<EFBFBD><C482><EFBFBD><EFBFBD>Ƃ͌<C682><CD8C><EFBFBD><EFBFBD>܂<EFBFBD><DC82><EFBFBD></em><EFBFBD>B<EFBFBD><EFBFBD><EFBFBD>A<EFBFBD><EFBFBD><EFBFBD>C<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>g<EFBFBD>E<EFBFBD>A<EFBFBD>h<EFBFBD><EFBFBD><EFBFBD>X<EFBFBD>ւ̓]<5D><><EFBFBD>́A<a href="appnote.html#fs1"><EFBFBD><EFBFBD><EFBFBD>ړ]<5D><></a><EFBFBD>ɂ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ĕ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>邱<EFBFBD>Ƃ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>܂<EFBFBD><EFBFBD>B<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>A<EFBFBD>n<EFBFBD>[<5B>h<EFBFBD>E<EFBFBD>F<EFBFBD>A<EFBFBD><41><EFBFBD>̐<EFBFBD><CC90><EFBFBD><EFBFBD>ł<EFBFBD><C582>̂悤<CC82>ȓ]<5D><><EFBFBD><EFBFBD><EFBFBD>s<EFBFBD>\<5C>ȂƂ<C882><C682>́A<CD81><41><EFBFBD>̊<CC8A><D690><EFBFBD><EFBFBD>œ<EFBFBD><C593>i<EFBFBD>]<5D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ȃǂ<C882><C782>ĉ<EFBFBD><C489><EFBFBD><EFBFBD><EFBFBD><EFBFBD>邩<EFBFBD>A<EFBFBD>܂<EFBFBD><DC82>͕ʂ̕<CA82><CC95>@<40>őΉ<C591><CE89><EFBFBD><EFBFBD>Ȃ<EFBFBD><C882><EFBFBD><EFBFBD>Ȃ<CE82><C882>܂<EFBFBD><DC82><EFBFBD><EFBFBD>B<EFBFBD><42><EFBFBD>ɂ<EFBFBD><C982><EFBFBD><EFBFBD><EFBFBD><C282>̑Ή<CC91><CE89><EFBFBD><EFBFBD>@<40><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>܂<EFBFBD>(<28><><EFBFBD><EFBFBD><EFBFBD>ꂩ<EFBFBD><EA82A9><EFBFBD><EFBFBD>OK)<29>B</p>
|
|||
|
<ul>
|
|||
|
<li><EFBFBD><EFBFBD><EFBFBD>̊<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʼn<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> - <20><><EFBFBD><EFBFBD></li>
|
|||
|
<li><tt>f_read()</tt><EFBFBD>ɂ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>āA<EFBFBD>Z<EFBFBD>N<EFBFBD>^<5E>S<EFBFBD>̂<EFBFBD><CC82>܂ޓ]<5D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> - <20><><EFBFBD>ړ]<5D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ȃ<EFBFBD></li>
|
|||
|
<li><tt>f_read(fp, buff, btr, &br)</tt><EFBFBD>ɂ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>āA<tt>(((UINT)buff & 3) == (f_tell(fp) & 3))</tt><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> - <tt class="arg">buff</tt><EFBFBD>̃<EFBFBD><EFBFBD>[<5B>h<EFBFBD>E<EFBFBD>A<EFBFBD><41><EFBFBD>C<EFBFBD><43><EFBFBD><EFBFBD><EFBFBD>g<EFBFBD><67><EFBFBD>ۏ<DB8F><D882><EFBFBD><EFBFBD><EFBFBD></li>
|
|||
|
</ul>
|
|||
|
<p><EFBFBD><EFBFBD><EFBFBD>ʓI<EFBFBD>ɁA<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Z<EFBFBD>N<EFBFBD>^<5E>̓]<5D><><EFBFBD>v<EFBFBD><76><EFBFBD>́A<CD81>X<EFBFBD>g<EFBFBD><67><EFBFBD>[<5B>W<EFBFBD>E<EFBFBD>f<EFBFBD>o<EFBFBD>C<EFBFBD>X<EFBFBD>ɑ<C991><CE82>ĉ\<5C>Ȍ<EFBFBD><C88C><EFBFBD><EFBFBD>}<7D><><EFBFBD>`<60>E<EFBFBD>Z<EFBFBD>N<EFBFBD>^<5E>]<5D><><EFBFBD><EFBFBD><EFBFBD>Ȃ<EFBFBD><C882><EFBFBD><EFBFBD>Ȃ<CE82><C882>܂<EFBFBD><DC82><EFBFBD><EFBFBD>B<EFBFBD><42><EFBFBD><EFBFBD><EFBFBD>̃V<CC83><56><EFBFBD>O<EFBFBD><4F><EFBFBD>E<EFBFBD>Z<EFBFBD>N<EFBFBD>^<5E>ǂݏo<DD8F><6F><EFBFBD>ɕ<EFBFBD><C995><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ꂽ<EFBFBD>ꍇ<EFBFBD>A<EFBFBD>X<EFBFBD><58><EFBFBD>[<5B>v<EFBFBD>b<EFBFBD>g<EFBFBD><67><EFBFBD>ቺ<EFBFBD><E189BA><EFBFBD>邱<EFBFBD>Ƃ<EFBFBD><C682><EFBFBD><EFBFBD><EFBFBD><EFBFBD>܂<EFBFBD><DC82>B</p>
|
|||
|
</div>
|
|||
|
|
|||
|
|
|||
|
<p class="foot"><a href="../00index_j.html"><EFBFBD>߂<EFBFBD></a></p>
|
|||
|
</body>
|
|||
|
</html>
|