circuitpython/stmhal/fatfs/doc/ja/dioctl.html

69 lines
3.5 KiB
HTML
Raw Normal View History

<!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/dioctl.html">
<link rel="stylesheet" href="../css_j.css" type="text/css" media="screen" title="ELM Default">
<title>FatFs - disk_ioctl</title>
</head>
<body>
<div class="para func">
<h2>disk_ioctl</h2>
<p><EFBFBD>Z<EFBFBD>N<EFBFBD>^<5E>̓ǂݏ<C782><DD8F><EFBFBD><EFBFBD>ȊO<C88A>̃f<CC83>B<EFBFBD>X<EFBFBD>N<EFBFBD>E<EFBFBD>h<EFBFBD><68><EFBFBD>C<EFBFBD>u<EFBFBD><75><EFBFBD>̂ɑ΂<C991><CE82><EFBFBD><EFBFBD>l<EFBFBD>X<EFBFBD>Ȑ<EFBFBD><C890><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>܂<EFBFBD><DC82>B</p>
<pre>
DRESULT disk_ioctl (
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">cmd</span>, <span class="c">/* [IN] <20><><EFBFBD><EFBFBD><EFBFBD>R<EFBFBD>}<7D><><EFBFBD>h */</span>
void* <span class="arg">buff</span> <span class="c">/* [I/O] <20>f<EFBFBD>[<5B>^<5E>󂯓n<F382AF93><6E><EFBFBD>o<EFBFBD>b<EFBFBD>t<EFBFBD>@ */</span>
);
</pre>
</div>
<div class="para arg">
<h4><EFBFBD><EFBFBD><EFBFBD><EFBFBD></h4>
<dl class="par">
<dt>pdrv</dt>
<dd><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>cmd</dt>
<dd><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>R<EFBFBD>}<7D><><EFBFBD>h<EFBFBD>E<EFBFBD>R<EFBFBD>[<5B>h<EFBFBD><68><EFBFBD>w<EFBFBD><EFBFBD><E882B3><EFBFBD>܂<EFBFBD><DC82>B</dd>
<dt>buff</dt>
<dd><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>R<EFBFBD>}<7D><><EFBFBD>h<EFBFBD>Ɉˑ<C988><CB91><EFBFBD><EFBFBD><EFBFBD><EFBFBD>p<EFBFBD><70><EFBFBD><EFBFBD><EFBFBD>[<5B>^<5E><><EFBFBD><EFBFBD><EFBFBD>󂷂<EFBFBD><F382B782>o<EFBFBD>b<EFBFBD>t<EFBFBD>@<40><><EFBFBD>w<EFBFBD><77><EFBFBD>|<7C>C<EFBFBD><43><EFBFBD>^<5E><><EFBFBD>w<EFBFBD><EFBFBD><E882B3><EFBFBD>܂<EFBFBD><DC82>B<EFBFBD>f<EFBFBD>[<5B>^<5E>̎<EFBFBD><CC8E><EFBFBD><EFBFBD>̂Ȃ<CC82><C882>R<EFBFBD>}<7D><><EFBFBD>h<EFBFBD>̏ꍇ<CC8F>́A<CD81>l<EFBFBD>ɈӖ<C988><D396>͂<EFBFBD><CD82><EFBFBD><EFBFBD>܂<EFBFBD><DC82><EFBFBD><EFBFBD>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>̃G<EFBFBD><EFBFBD><EFBFBD>[<5B><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>B</dd>
<dt>RES_PARERR</dt>
<dd><EFBFBD>R<EFBFBD>}<7D><><EFBFBD>h<EFBFBD><68><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>A<EFBFBD>܂<EFBFBD><DC82>͏<EFBFBD><CD8F><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ă<EFBFBD><C482>Ȃ<EFBFBD><C882>B</dd>
</dl>
</div>
<div class="para desc">
<h4><EFBFBD><EFBFBD><EFBFBD><EFBFBD></h4>
<p><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>h<EFBFBD><EFBFBD><EFBFBD>C<EFBFBD>u<EFBFBD>̎<EFBFBD><EFBFBD>ނɂ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>T<EFBFBD>|<7C>[<5B>g<EFBFBD><67><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>R<EFBFBD>}<7D><><EFBFBD>h<EFBFBD>͈قȂ<D982><C882>܂<EFBFBD><DC82><EFBFBD><EFBFBD>AFatFs<46><73><EFBFBD>W<EFBFBD><57><EFBFBD>[<5B><><EFBFBD>ł́A<CD81><41><EFBFBD>̔ėp<C497>R<EFBFBD>}<7D><><EFBFBD>h<EFBFBD>̂ݎg<DD8E>p<EFBFBD><70><EFBFBD>A<EFBFBD><41><EFBFBD><EFBFBD><EFBFBD>̃n<CC83>[<5B>h<EFBFBD>E<EFBFBD>F<EFBFBD>A<EFBFBD>Ɉˑ<C988><CB91><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>͍s<CD8D><73><EFBFBD>܂<EFBFBD><DC82><EFBFBD><EFBFBD>B</p>
<table class="lst">
<tr><th><EFBFBD>R<EFBFBD>}<7D><><EFBFBD>h</th><th><EFBFBD><EFBFBD><EFBFBD><EFBFBD></th></tr>
<tr><td>CTRL_SYNC</td><td><EFBFBD>h<EFBFBD><EFBFBD><EFBFBD>C<EFBFBD>u<EFBFBD><EFBFBD><EFBFBD>̃f<EFBFBD>[<5B>^<5E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ݏ<EFBFBD><DD8F><EFBFBD><EFBFBD>̊<EFBFBD><CC8A><EFBFBD><EFBFBD>҂<EFBFBD><D282>B<EFBFBD><42><EFBFBD>C<EFBFBD>g<EFBFBD>E<EFBFBD>o<EFBFBD>b<EFBFBD>N<EFBFBD>E<EFBFBD>L<EFBFBD><4C><EFBFBD>b<EFBFBD>V<EFBFBD><56><EFBFBD>Ȃǂ<C882><C782><EFBFBD><EFBFBD>݂<EFBFBD><DD82><EFBFBD><EFBFBD><EFBFBD>́A<CD81><41><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>܂<EFBFBD><DC82>Ă<EFBFBD><C482>Ȃ<EFBFBD><C882>f<EFBFBD>[<5B>^<5E>𑦎<EFBFBD><F091A68E><EFBFBD><EFBFBD><EFBFBD><EFBFBD>߂<EFBFBD><DF82>܂<EFBFBD><DC82>B<EFBFBD><42><EFBFBD>[<5B>h<EFBFBD>E<EFBFBD>I<EFBFBD><49><EFBFBD><EFBFBD><EFBFBD>[<5B>\<5C><><EFBFBD>ł͎g<CD8E>p<EFBFBD><70><EFBFBD><EFBFBD><EFBFBD>܂<EFBFBD><DC82><EFBFBD><EFBFBD>B</td></tr>
<tr><td>GET_SECTOR_SIZE</td><td><tt class="arg">buff</tt><EFBFBD>̎w<EFBFBD><EFBFBD><tt>WORD</tt><EFBFBD>^<5E>ϐ<EFBFBD><CF90>Ƀh<C983><68><EFBFBD>C<EFBFBD>u<EFBFBD>̃Z<CC83>N<EFBFBD>^<5E>E<EFBFBD>T<EFBFBD>C<EFBFBD>Y(<28>o<EFBFBD>C<EFBFBD>g<EFBFBD>P<EFBFBD><50>)<29><><EFBFBD>Ԃ<EFBFBD><D482>܂<EFBFBD><DC82>B<EFBFBD>Z<EFBFBD>N<EFBFBD>^<5E>E<EFBFBD>T<EFBFBD>C<EFBFBD>Y<EFBFBD><59><EFBFBD>Œ<EFBFBD>(<tt>_MAX_SS</tt><EFBFBD><EFBFBD>512)<29>̂Ƃ<CC82><C682>͂<EFBFBD><CD82>̃R<CC83>}<7D><><EFBFBD>h<EFBFBD>͎g<CD8E><67><EFBFBD><EFBFBD><EFBFBD>܂<EFBFBD><DC82><EFBFBD><EFBFBD>B</td></tr>
<tr><td>GET_SECTOR_COUNT</td><td><tt class="arg">buff</tt><EFBFBD>̎w<EFBFBD><EFBFBD><tt>DWORD</tt><EFBFBD>^<5E>ϐ<EFBFBD><CF90>Ƀh<C983><68><EFBFBD>C<EFBFBD>u<EFBFBD><75><EFBFBD>̑<EFBFBD><CC91>Z<EFBFBD>N<EFBFBD>^<5E><><EFBFBD><EFBFBD><EFBFBD>Ԃ<EFBFBD><D482>܂<EFBFBD><DC82>B<tt>f_mkfs()</tt><EFBFBD><EFBFBD><EFBFBD>ŌĂяo<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>A<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>{<7B><><EFBFBD><EFBFBD><EFBFBD>[<5B><><EFBFBD>̃T<CC83>C<EFBFBD>Y<EFBFBD><59><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>߂Ɏg<C98E>p<EFBFBD><70><EFBFBD><EFBFBD><EFBFBD>܂<EFBFBD><DC82>B</td></tr>
<tr><td>GET_BLOCK_SIZE</td><td><tt class="arg">buff</tt><EFBFBD>̎w<EFBFBD><EFBFBD><tt>DWORD</tt><EFBFBD>^<5E>ϐ<EFBFBD><CF90>Ƀt<C983><74><EFBFBD>b<EFBFBD>V<EFBFBD><56><EFBFBD>E<EFBFBD><45><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>̏<EFBFBD><CC8F><EFBFBD><EFBFBD>u<EFBFBD><75><EFBFBD>b<EFBFBD>N<EFBFBD>E<EFBFBD>T<EFBFBD>C<EFBFBD>Y(<28>Z<EFBFBD>N<EFBFBD>^<5E>P<EFBFBD><50>)<29><><EFBFBD>Ԃ<EFBFBD><D482>܂<EFBFBD><DC82>B1<42><31><EFBFBD><EFBFBD>32768<36>͈̔͂<CD88>2<EFBFBD>̗ݏ<CC97><DD8F>̒l<CC92>łȂ<C582><C882><EFBFBD><EFBFBD>΂Ȃ<CE82><C882>܂<EFBFBD><DC82><EFBFBD><EFBFBD>B<EFBFBD>s<EFBFBD><73><EFBFBD>ȏꍇ<C88F>܂<EFBFBD><DC82>̓t<CD83><74><EFBFBD>b<EFBFBD>V<EFBFBD><56><EFBFBD>E<EFBFBD><45><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ȊO<C88A>̃<EFBFBD><CC83>f<EFBFBD>B<EFBFBD>A<EFBFBD>ł<EFBFBD>1<EFBFBD><31><EFBFBD>Ԃ<EFBFBD><D482>܂<EFBFBD><DC82>B<tt>f_mkfs()</tt><EFBFBD><EFBFBD><EFBFBD>ł̂ݎg<EFBFBD>p<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>A<EFBFBD>{<7B><><EFBFBD><EFBFBD><EFBFBD>[<5B><><EFBFBD>̃f<CC83>[<5B>^<5E>̈<EFBFBD><CC88>͂<EFBFBD><CD82>̋<EFBFBD><CC8B>E<EFBFBD>ɃA<C983><41><EFBFBD>C<EFBFBD><43><EFBFBD><EFBFBD><EFBFBD>g<EFBFBD><67><EFBFBD><EFBFBD><EFBFBD>܂<EFBFBD><DC82>B</td></tr>
<tr><td>CTRL_ERASE_SECTOR</td><td><EFBFBD>t<EFBFBD><EFBFBD><EFBFBD>b<EFBFBD>V<EFBFBD><EFBFBD><EFBFBD>E<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>̎w<EFBFBD><EFBFBD><EFBFBD>̈<EFBFBD><EFBFBD>̏<EFBFBD><EFBFBD><EFBFBD><EFBFBD>B<tt class="arg">buff</tt><EFBFBD>̎w<EFBFBD><EFBFBD><tt>DWORD</tt><EFBFBD>^<5E>z<EFBFBD><7A><EFBFBD>ɂ͏<C982><CD8F><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>̈<EFBFBD> {<7B>J<EFBFBD>n<EFBFBD>Z<EFBFBD>N<EFBFBD>^,<2C>I<EFBFBD><49><EFBFBD>Z<EFBFBD>N<EFBFBD>^} <20><><EFBFBD>w<EFBFBD><EFBFBD>ČĂяo<D18F><6F><EFBFBD><EFBFBD><EFBFBD>܂<EFBFBD><DC82>B<tt>_USE_ERASE</tt><EFBFBD><EFBFBD>1<EFBFBD>̂Ƃ<EFBFBD><EFBFBD>A<EFBFBD>N<EFBFBD><EFBFBD><EFBFBD>X<EFBFBD>^<5E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ƃ<EFBFBD><C682>ɌĂяo<D18F><6F><EFBFBD><EFBFBD><EFBFBD>܂<EFBFBD><DC82>B<EFBFBD><42><EFBFBD><EFBFBD><EFBFBD>́AATA<54>R<EFBFBD>}<7D><><EFBFBD>h<EFBFBD>E<EFBFBD>Z<EFBFBD>b<EFBFBD>g<EFBFBD><67>Trim<69>R<EFBFBD>}<7D><><EFBFBD>h<EFBFBD>Ɠ<EFBFBD><C693><EFBFBD><EFBFBD>ŁA<C581><41><EFBFBD>̋@<40>\<5C><><EFBFBD>T<EFBFBD>|<7C>[<5B>g<EFBFBD><67><EFBFBD>Ȃ<EFBFBD><C882><EFBFBD>͉<EFBFBD><CD89><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>K<EFBFBD>v<EFBFBD>͂<EFBFBD><CD82><EFBFBD><EFBFBD>܂<EFBFBD><DC82><EFBFBD><EFBFBD>B<EFBFBD>܂<EFBFBD><DC82>A<EFBFBD>߂<EFBFBD><DF82>l<EFBFBD>̓`<60>F<EFBFBD>b<EFBFBD>N<EFBFBD><4E><EFBFBD><EFBFBD>A<EFBFBD><41><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>S<EFBFBD>ɍs<C98D><73><EFBFBD><EFBFBD><EFBFBD>Ȃ<EFBFBD><C882><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ƃ<EFBFBD><C682>Ă<EFBFBD>FatFs<46>̓<EFBFBD><CC93><EFBFBD><EFBFBD>ɂ͉e<CD89><65><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>܂<EFBFBD><DC82><EFBFBD><EFBFBD>B</td></tr>
</table>
</div>
<p class="foot"><a href="../00index_j.html"><EFBFBD>߂<EFBFBD></a></p>
</body>
</html>