2014-08-13 05:48:16 +00:00
|
|
|
|
<!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><EFBFBD><EFBFBD>ʓI<EFBFBD>ȃf<EFBFBD>[<5B>^<5E>ǂݏ<C782><DD8F><EFBFBD><EFBFBD>ȊO<C88A>̃X<CC83>g<EFBFBD><67><EFBFBD>[<5B>W<EFBFBD>E<EFBFBD>f<EFBFBD>o<EFBFBD>C<EFBFBD>X<EFBFBD><58><EFBFBD>̂ɑ<C991><CE82><EFBFBD><EFBFBD>l<EFBFBD>X<EFBFBD>Ȑ<EFBFBD><C890><EFBFBD><EFBFBD><EFBFBD><EFBFBD>s<EFBFBD><73><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>Ώۂ̃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>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>p<EFBFBD><70><EFBFBD><EFBFBD><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>X<EFBFBD>g<EFBFBD><EFBFBD><EFBFBD>[<5B>W<EFBFBD>E<EFBFBD>f<EFBFBD>o<EFBFBD>C<EFBFBD>X<EFBFBD>̎<EFBFBD><CC8E>ނɂ<DE82><C982><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><EFBFBD><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>̃f<CC83>o<EFBFBD>C<EFBFBD>X<EFBFBD>Ɉˑ<C988><CB91><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>͍s<CD8D><73><EFBFBD>܂<EFBFBD><DC82><EFBFBD><EFBFBD>B</p>
|
|
|
|
|
<table class="lst">
|
|
|
|
|
<caption><EFBFBD>W<EFBFBD><EFBFBD>ioctl<EFBFBD>R<EFBFBD>}<7D><><EFBFBD>h</caption>
|
|
|
|
|
<tr><th><EFBFBD>R<EFBFBD>}<7D><><EFBFBD>h</th><th><EFBFBD><EFBFBD><EFBFBD><EFBFBD></th></tr>
|
|
|
|
|
<tr><td>CTRL_SYNC</td><td><EFBFBD>X<EFBFBD>g<EFBFBD><EFBFBD><EFBFBD>[<5B>W<EFBFBD>E<EFBFBD>f<EFBFBD>o<EFBFBD>C<EFBFBD>X<EFBFBD>̃f<CC83>[<5B>^<5E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ݏ<EFBFBD><DD8F><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>܂<EFBFBD><DC82>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><EFBFBD>݂܂<DD82><DC82>B<EFBFBD><42><EFBFBD>f<EFBFBD>B<EFBFBD>A<EFBFBD><41><EFBFBD>ւ̏<D682><CC8F><EFBFBD><EFBFBD><EFBFBD><EFBFBD>݂<EFBFBD><DD82><EFBFBD><EFBFBD>ꂼ<EFBFBD><EA82BC><tt>disk_write()</tt><EFBFBD>̓<EFBFBD><EFBFBD>Ŋ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ꍇ<EFBFBD>́A<EFBFBD><EFBFBD><EFBFBD>̃R<EFBFBD>}<7D><><EFBFBD>h<EFBFBD>ɑ<C991><CE82>Ă<EFBFBD><C482>邱<EFBFBD>Ƃ͂<C682><CD82><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><EFBFBD><EFBFBD><EFBFBD><tt>f_fdisk()</tt><EFBFBD><EFBFBD><EFBFBD><EFBFBD><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_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<EFBFBD><59><EFBFBD>Ԃ<EFBFBD><D482>܂<EFBFBD><DC82>B<EFBFBD>L<EFBFBD><4C><EFBFBD>l<EFBFBD><6C>512<31>A1024<32>A2048<34>܂<EFBFBD><DC82><EFBFBD>4096<39>ł<EFBFBD><C582>B<EFBFBD>Z<EFBFBD>N<EFBFBD>^<5E>E<EFBFBD>T<EFBFBD>C<EFBFBD>Y<EFBFBD>Œ<EFBFBD><C592>\<5C><>(<tt>_MAX_SS ==_MIN_SS</tt>)<29>̂Ƃ<CC82><C682>͂<EFBFBD><CD82>̃R<CC83>}<7D><><EFBFBD>h<EFBFBD>͎g<CD8E><67><EFBFBD><EFBFBD><EFBFBD>邱<EFBFBD>Ƃ͂Ȃ<CD82><C882>A<EFBFBD><41><EFBFBD>ɂ<EFBFBD><C982>̃Z<CC83>N<EFBFBD>^<5E>E<EFBFBD>T<EFBFBD>C<EFBFBD>Y<EFBFBD>œ<EFBFBD><C593>삵<EFBFBD>Ȃ<EFBFBD><C882><EFBFBD><EFBFBD>Ȃ<CE82><C882>܂<EFBFBD><DC82><EFBFBD><EFBFBD>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>̗̈<EFBFBD><EFBFBD>̖<EFBFBD><EFBFBD><EFBFBD><EFBFBD>I<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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><EFBFBD><EFBFBD>B</td></tr>
|
|
|
|
|
</table>
|
|
|
|
|
|
|
|
|
|
<p>FatFs<EFBFBD><EFBFBD><EFBFBD>̂̓f<EFBFBD>o<EFBFBD>C<EFBFBD>X<EFBFBD>ˑ<EFBFBD><EFBFBD>R<EFBFBD>}<7D><><EFBFBD>h<EFBFBD><EFBFBD>[<5B>U<EFBFBD><55><EFBFBD>`<60>R<EFBFBD>}<7D><><EFBFBD>h<EFBFBD>͈<EFBFBD><CD88>؎g<D88E>p<EFBFBD><70><EFBFBD>܂<EFBFBD><DC82>A<F182AA81>A<EFBFBD>v<EFBFBD><76><EFBFBD>P<EFBFBD>[<5B>V<EFBFBD><56><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>牽<EFBFBD>炩<EFBFBD>̃f<CC83>o<EFBFBD>C<EFBFBD>X<EFBFBD><58><EFBFBD>䂪<EFBFBD>s<EFBFBD><73><EFBFBD><EFBFBD><EFBFBD>ƕ֗<C695><D697>Ȃ<EFBFBD><C882>Ƃ<EFBFBD><C682><EFBFBD><EFBFBD><EFBFBD><EFBFBD>܂<EFBFBD><DC82>B<EFBFBD>A<EFBFBD>v<EFBFBD><76><EFBFBD>P<EFBFBD>[<5B>V<EFBFBD><56><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ŕW<C595><57><EFBFBD>ȊO<C88A>̐<EFBFBD><CC90>䂪<EFBFBD>K<EFBFBD>v<EFBFBD>ȂƂ<C882><C682>́A<CD81>K<EFBFBD>v<EFBFBD>ɉ<EFBFBD><C989><EFBFBD><EFBFBD>ă<EFBFBD><C483>[<5B>U<EFBFBD><55><EFBFBD>`<60>R<EFBFBD>}<7D><><EFBFBD>h<EFBFBD><68><EFBFBD>lj<EFBFBD><C789><EFBFBD><EFBFBD>ė<EFBFBD><C497>p<EFBFBD><70><EFBFBD><EFBFBD><EFBFBD>Ƃ悢<C682>ł<EFBFBD><C582>傤<EFBFBD>B<EFBFBD><42><EFBFBD>ɃR<C983>}<7D><><EFBFBD>h<EFBFBD>̗<EFBFBD><CC97><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>܂<EFBFBD><DC82>B</p>
|
|
|
|
|
<table class="lst">
|
|
|
|
|
<caption><EFBFBD><EFBFBD><EFBFBD>[<5B>U<EFBFBD><55><EFBFBD>`ioctl<74>R<EFBFBD>}<7D><><EFBFBD>h<EFBFBD>̗<EFBFBD></caption>
|
|
|
|
|
<tr><th><EFBFBD>R<EFBFBD>}<7D><><EFBFBD>h</th><th><EFBFBD><EFBFBD><EFBFBD><EFBFBD></th></tr>
|
|
|
|
|
<tr><td>CTRL_FORMAT</td><td><EFBFBD><EFBFBD><EFBFBD>f<EFBFBD>B<EFBFBD>A<EFBFBD>̕<EFBFBD><EFBFBD><EFBFBD><EFBFBD>t<EFBFBD>H<EFBFBD>[<5B>}<7D>b<EFBFBD>g<EFBFBD><67><EFBFBD>s<EFBFBD><73><EFBFBD>܂<EFBFBD><DC82>B<tt class="arg">buff</tt><EFBFBD><EFBFBD>NULL<EFBFBD>łȂ<EFBFBD><EFBFBD>Ƃ<EFBFBD><EFBFBD>A<EFBFBD>i<EFBFBD>s<EFBFBD>\<5C><><EFBFBD>̂<EFBFBD><CC82>߂̃R<CC83>[<5B><><EFBFBD>o<EFBFBD>b<EFBFBD>N<EFBFBD><EFBFBD><D690>̃A<CC83>h<EFBFBD><68><EFBFBD>X<EFBFBD><58><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>܂<EFBFBD><DC82>B</td></tr>
|
|
|
|
|
<tr><td>CTRL_POWER_IDLE</td><td><EFBFBD>f<EFBFBD>o<EFBFBD>C<EFBFBD>X<EFBFBD><EFBFBD><EFBFBD>A<EFBFBD>C<EFBFBD>h<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ԃɂ<EFBFBD><EFBFBD>܂<EFBFBD><EFBFBD>B<EFBFBD>ʏ<EFBFBD><EFBFBD>̓ǂݏ<EFB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><EFBFBD><EFBFBD><EFBFBD>֎~<7E><><EFBFBD>܂<EFBFBD><DC82>B</td></tr>
|
|
|
|
|
<tr><td>CTRL_UNLOCK</td><td><EFBFBD><EFBFBD><EFBFBD>[<5B>U<EFBFBD>ɂ<EFBFBD><C982>郁<EFBFBD>f<EFBFBD>B<EFBFBD>A<EFBFBD>̎<EFBFBD><CC8E><EFBFBD><EFBFBD>o<EFBFBD><6F><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><C282>܂<EFBFBD><DC82>B</td></tr>
|
|
|
|
|
<tr><td>CTRL_EJECT</td><td><EFBFBD><EFBFBD><EFBFBD>f<EFBFBD>B<EFBFBD>A<EFBFBD><EFBFBD><EFBFBD>r<EFBFBD>o<EFBFBD><EFBFBD><EFBFBD>܂<EFBFBD><EFBFBD>B<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>A<tt>STA_NOINIT</tt><EFBFBD><EFBFBD><tt>STA_NODISK</tt><EFBFBD>t<EFBFBD><EFBFBD><EFBFBD>O<EFBFBD>̓Z<EFBFBD>b<EFBFBD>g<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>܂<EFBFBD><EFBFBD>B</td></tr>
|
|
|
|
|
<tr><td>MMC_GET_TYPE</td><td><EFBFBD>J<EFBFBD>[<5B>h<EFBFBD>E<EFBFBD>^<5E>C<EFBFBD>v<EFBFBD><76><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>t<EFBFBD><74><EFBFBD>O(b0:MMCv3, b1:SDv1, b2:SDv2+, b3:LBA)<29><><tt class="arg">buff</tt><EFBFBD>̎<EFBFBD><EFBFBD><EFBFBD><tt>BYTE</tt><EFBFBD>ϐ<EFBFBD><EFBFBD>ɓǂݏo<EFBFBD><EFBFBD><EFBFBD>܂<EFBFBD><EFBFBD>B(MMC/SD<53>J<EFBFBD>[<5B>h<EFBFBD><68><EFBFBD>p)</td></tr>
|
|
|
|
|
<tr><td>MMC_GET_CSD</td><td>CSD<EFBFBD><EFBFBD><EFBFBD>W<EFBFBD>X<EFBFBD>^<5E>̓<EFBFBD><CC93>e<EFBFBD><65><tt class="arg">buff</tt><EFBFBD>̎<EFBFBD><EFBFBD><EFBFBD>16<EFBFBD>o<EFBFBD>C<EFBFBD>g<EFBFBD>̃o<EFBFBD>b<EFBFBD>t<EFBFBD>@<40>ɓǂݏo<DD8F><6F><EFBFBD>܂<EFBFBD><DC82>B(MMC/SD<53>J<EFBFBD>[<5B>h<EFBFBD><68><EFBFBD>p)</td></tr>
|
|
|
|
|
<tr><td>MMC_GET_CID</td><td>CID<EFBFBD><EFBFBD><EFBFBD>W<EFBFBD>X<EFBFBD>^<5E>̓<EFBFBD><CC93>e<EFBFBD><65><tt class="arg">buff</tt><EFBFBD>̎<EFBFBD><EFBFBD><EFBFBD>16<EFBFBD>o<EFBFBD>C<EFBFBD>g<EFBFBD>̃o<EFBFBD>b<EFBFBD>t<EFBFBD>@<40>ɓǂݏo<DD8F><6F><EFBFBD>܂<EFBFBD><DC82>B(MMC/SD<53>J<EFBFBD>[<5B>h<EFBFBD><68><EFBFBD>p)</td></tr>
|
|
|
|
|
<tr><td>MMC_GET_OCR</td><td>OCR<EFBFBD><EFBFBD><EFBFBD>W<EFBFBD>X<EFBFBD>^<5E>̓<EFBFBD><CC93>e<EFBFBD><65><tt class="arg">buff</tt><EFBFBD>̎<EFBFBD><EFBFBD><EFBFBD>4<EFBFBD>o<EFBFBD>C<EFBFBD>g<EFBFBD>̃o<EFBFBD>b<EFBFBD>t<EFBFBD>@<40>ɓǂݏo<DD8F><6F><EFBFBD>܂<EFBFBD><DC82>B(MMC/SD<53>J<EFBFBD>[<5B>h<EFBFBD><68><EFBFBD>p)</td></tr>
|
|
|
|
|
<tr><td>MMC_GET_SDSTAT</td><td>SD STATUS<55><53><EFBFBD>W<EFBFBD>X<EFBFBD>^<5E>̓<EFBFBD><CC93>e<EFBFBD><65><tt class="arg">buff</tt><EFBFBD>̎<EFBFBD><EFBFBD><EFBFBD>64<EFBFBD>o<EFBFBD>C<EFBFBD>g<EFBFBD>̃o<EFBFBD>b<EFBFBD>t<EFBFBD>@<40>ɓǂݏo<DD8F><6F><EFBFBD>܂<EFBFBD><DC82>B(SD<53>J<EFBFBD>[<5B>h<EFBFBD><68><EFBFBD>p)</td></tr>
|
|
|
|
|
<tr><td>ATA_GET_REV</td><td><EFBFBD><EFBFBD><EFBFBD>r<EFBFBD>W<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>E<EFBFBD>R<EFBFBD>[<5B>h<EFBFBD><68><tt class="arg">buff</tt><EFBFBD>̎<EFBFBD><EFBFBD><EFBFBD>16<EFBFBD>o<EFBFBD>C<EFBFBD>g<EFBFBD>̃o<EFBFBD>b<EFBFBD>t<EFBFBD>@<40>ɓǂݏo<DD8F><6F><EFBFBD>܂<EFBFBD><DC82>B(ATA/CF<43>J<EFBFBD>[<5B>h<EFBFBD><68><EFBFBD>p)</td></tr>
|
|
|
|
|
<tr><td>ATA_GET_MODEL</td><td><EFBFBD><EFBFBD><EFBFBD>f<EFBFBD><EFBFBD><EFBFBD>E<EFBFBD>R<EFBFBD>[<5B>h<EFBFBD><68><tt class="arg">buff</tt><EFBFBD>̎<EFBFBD><EFBFBD><EFBFBD>40<EFBFBD>o<EFBFBD>C<EFBFBD>g<EFBFBD>̃o<EFBFBD>b<EFBFBD>t<EFBFBD>@<40>ɓǂݏo<DD8F><6F><EFBFBD>܂<EFBFBD><DC82>B(ATA/CF<43>J<EFBFBD>[<5B>h<EFBFBD><68><EFBFBD>p)</td></tr>
|
|
|
|
|
<tr><td>ATA_GET_SN</td><td><EFBFBD>V<EFBFBD><EFBFBD><EFBFBD>A<EFBFBD><EFBFBD><EFBFBD>ԍ<EFBFBD><EFBFBD><EFBFBD><tt class="arg">buff</tt><EFBFBD>̎<EFBFBD><EFBFBD><EFBFBD>20<EFBFBD>o<EFBFBD>C<EFBFBD>g<EFBFBD>̃o<EFBFBD>b<EFBFBD>t<EFBFBD>@<40>ɓǂݏo<DD8F><6F><EFBFBD>܂<EFBFBD><DC82>B(ATA/CF<43>J<EFBFBD>[<5B>h<EFBFBD><68><EFBFBD>p)</td></tr>
|
|
|
|
|
</table>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div class="para comp">
|
|
|
|
|
<h4><EFBFBD>Ή<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD></h4>
|
|
|
|
|
<p><EFBFBD><EFBFBD><EFBFBD>[<5B>h<EFBFBD>E<EFBFBD>I<EFBFBD><49><EFBFBD><EFBFBD><EFBFBD>[<5B>\<5C><><EFBFBD>ŁA<C581><41><EFBFBD>Z<C283>N<EFBFBD>^<5E>E<EFBFBD>T<EFBFBD>C<EFBFBD>Y<EFBFBD>Œ<EFBFBD><C592>\<5C><><EFBFBD>̂Ƃ<CC82><C682>́A<CD81><41><EFBFBD>̊<CC8A><D690>͕K<CD95>v<EFBFBD>Ƃ<EFBFBD><C682><EFBFBD><EFBFBD>܂<EFBFBD><DC82><EFBFBD><EFBFBD>B</p>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<p class="foot"><a href="../00index_j.html"><EFBFBD>߂<EFBFBD></a></p>
|
|
|
|
|
</body>
|
|
|
|
|
</html>
|