mirror of
https://github.com/felis/USB_Host_Shield_2.0.git
synced 2024-03-22 11:31:26 +01:00
1532 lines
69 KiB
HTML
1532 lines
69 KiB
HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
|
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
|
<meta name="generator" content="Doxygen 1.8.6"/>
|
|
<title>USB Host Shield 2.0: BulkOnly Class Reference</title>
|
|
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
|
<script type="text/javascript" src="jquery.js"></script>
|
|
<script type="text/javascript" src="dynsections.js"></script>
|
|
<link href="search/search.css" rel="stylesheet" type="text/css"/>
|
|
<script type="text/javascript" src="search/search.js"></script>
|
|
<script type="text/javascript">
|
|
$(document).ready(function() { searchBox.OnSelectItem(0); });
|
|
</script>
|
|
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
|
<link href="imageStyle.css" rel="stylesheet" type="text/css"/>
|
|
</head>
|
|
<body>
|
|
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
|
<div id="titlearea">
|
|
<table cellspacing="0" cellpadding="0">
|
|
<tbody>
|
|
<tr style="height: 56px;">
|
|
<td style="padding-left: 0.5em;">
|
|
<div id="projectname">USB Host Shield 2.0
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<!-- end header part -->
|
|
<!-- Generated by Doxygen 1.8.6 -->
|
|
<script type="text/javascript">
|
|
var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|
</script>
|
|
<div id="navrow1" class="tabs">
|
|
<ul class="tablist">
|
|
<li><a href="index.html"><span>Main Page</span></a></li>
|
|
<li><a href="pages.html"><span>Related Pages</span></a></li>
|
|
<li class="current"><a href="annotated.html"><span>Classes</span></a></li>
|
|
<li><a href="files.html"><span>Files</span></a></li>
|
|
<li>
|
|
<div id="MSearchBox" class="MSearchBoxInactive">
|
|
<span class="left">
|
|
<img id="MSearchSelect" src="search/mag_sel.png"
|
|
onmouseover="return searchBox.OnSearchSelectShow()"
|
|
onmouseout="return searchBox.OnSearchSelectHide()"
|
|
alt=""/>
|
|
<input type="text" id="MSearchField" value="Search" accesskey="S"
|
|
onfocus="searchBox.OnSearchFieldFocus(true)"
|
|
onblur="searchBox.OnSearchFieldFocus(false)"
|
|
onkeyup="searchBox.OnSearchFieldChange(event)"/>
|
|
</span><span class="right">
|
|
<a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
|
|
</span>
|
|
</div>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
<div id="navrow2" class="tabs2">
|
|
<ul class="tablist">
|
|
<li><a href="annotated.html"><span>Class List</span></a></li>
|
|
<li><a href="classes.html"><span>Class Index</span></a></li>
|
|
<li><a href="inherits.html"><span>Class Hierarchy</span></a></li>
|
|
<li><a href="functions.html"><span>Class Members</span></a></li>
|
|
</ul>
|
|
</div>
|
|
<!-- window showing the filter options -->
|
|
<div id="MSearchSelectWindow"
|
|
onmouseover="return searchBox.OnSearchSelectShow()"
|
|
onmouseout="return searchBox.OnSearchSelectHide()"
|
|
onkeydown="return searchBox.OnSearchSelectKey(event)">
|
|
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark"> </span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark"> </span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark"> </span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark"> </span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark"> </span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark"> </span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark"> </span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark"> </span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark"> </span>Macros</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark"> </span>Pages</a></div>
|
|
|
|
<!-- iframe showing the search results (closed by default) -->
|
|
<div id="MSearchResultsWindow">
|
|
<iframe src="javascript:void(0)" frameborder="0"
|
|
name="MSearchResults" id="MSearchResults">
|
|
</iframe>
|
|
</div>
|
|
|
|
</div><!-- top -->
|
|
<div class="header">
|
|
<div class="summary">
|
|
<a href="#pub-methods">Public Member Functions</a> |
|
|
<a href="#pro-methods">Protected Member Functions</a> |
|
|
<a href="#pro-attribs">Protected Attributes</a> |
|
|
<a href="#pro-static-attribs">Static Protected Attributes</a> |
|
|
<a href="class_bulk_only-members.html">List of all members</a> </div>
|
|
<div class="headertitle">
|
|
<div class="title">BulkOnly Class Reference</div> </div>
|
|
</div><!--header-->
|
|
<div class="contents">
|
|
|
|
<p><code>#include <<a class="el" href="masstorage_8h_source.html">masstorage.h</a>></code></p>
|
|
<div class="dynheader">
|
|
Inheritance diagram for BulkOnly:</div>
|
|
<div class="dyncontent">
|
|
<div class="center"><img src="class_bulk_only__inherit__graph.png" border="0" usemap="#_bulk_only_inherit__map" alt="Inheritance graph"/></div>
|
|
<map name="_bulk_only_inherit__map" id="_bulk_only_inherit__map">
|
|
<area shape="rect" id="node2" href="class_u_s_b_device_config.html" title="USBDeviceConfig" alt="" coords="5,6,133,34"/><area shape="rect" id="node3" href="class_usb_config_xtracter.html" title="UsbConfigXtracter" alt="" coords="158,6,287,34"/></map>
|
|
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
|
|
<div class="dynheader">
|
|
Collaboration diagram for BulkOnly:</div>
|
|
<div class="dyncontent">
|
|
<div class="center"><img src="class_bulk_only__coll__graph.png" border="0" usemap="#_bulk_only_coll__map" alt="Collaboration graph"/></div>
|
|
<map name="_bulk_only_coll__map" id="_bulk_only_coll__map">
|
|
<area shape="rect" id="node2" href="class_u_s_b_device_config.html" title="USBDeviceConfig" alt="" coords="5,86,133,114"/><area shape="rect" id="node3" href="class_usb_config_xtracter.html" title="UsbConfigXtracter" alt="" coords="158,86,287,114"/><area shape="rect" id="node4" href="class_u_s_b.html" title="USB" alt="" coords="312,86,360,114"/><area shape="rect" id="node5" href="class_m_a_x3421e.html" title="MAX3421E" alt="" coords="292,6,380,34"/><area shape="rect" id="node6" href="struct_ep_info.html" title="EpInfo" alt="" coords="385,86,444,114"/></map>
|
|
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
|
|
<table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
|
|
Public Member Functions</h2></td></tr>
|
|
<tr class="memitem:a530fb250b0a0c92b48bc57e2957ace25"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_bulk_only.html#a530fb250b0a0c92b48bc57e2957ace25">BulkOnly</a> (<a class="el" href="class_u_s_b.html">USB</a> *p)</td></tr>
|
|
<tr class="separator:a530fb250b0a0c92b48bc57e2957ace25"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:abe1e768a46e751e6792164334c973b44"><td class="memItemLeft" align="right" valign="top">uint8_t </td><td class="memItemRight" valign="bottom"><a class="el" href="class_bulk_only.html#abe1e768a46e751e6792164334c973b44">GetLastUsbError</a> ()</td></tr>
|
|
<tr class="separator:abe1e768a46e751e6792164334c973b44"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:af4779aa3a30058dd15eb6e612d6761af"><td class="memItemLeft" align="right" valign="top">uint8_t </td><td class="memItemRight" valign="bottom"><a class="el" href="class_bulk_only.html#af4779aa3a30058dd15eb6e612d6761af">GetbMaxLUN</a> ()</td></tr>
|
|
<tr class="separator:af4779aa3a30058dd15eb6e612d6761af"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:adfec4b466c0ba9db172d057727b07ab1"><td class="memItemLeft" align="right" valign="top">uint8_t </td><td class="memItemRight" valign="bottom"><a class="el" href="class_bulk_only.html#adfec4b466c0ba9db172d057727b07ab1">GetbTheLUN</a> ()</td></tr>
|
|
<tr class="separator:adfec4b466c0ba9db172d057727b07ab1"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ab0976e6d4f5fdeff800f3769e7b287c9"><td class="memItemLeft" align="right" valign="top">boolean </td><td class="memItemRight" valign="bottom"><a class="el" href="class_bulk_only.html#ab0976e6d4f5fdeff800f3769e7b287c9">WriteProtected</a> (uint8_t lun)</td></tr>
|
|
<tr class="separator:ab0976e6d4f5fdeff800f3769e7b287c9"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a2fc74b11c2ecce30e89f84cc1efe0c81"><td class="memItemLeft" align="right" valign="top">uint8_t </td><td class="memItemRight" valign="bottom"><a class="el" href="class_bulk_only.html#a2fc74b11c2ecce30e89f84cc1efe0c81">MediaCTL</a> (uint8_t lun, uint8_t ctl)</td></tr>
|
|
<tr class="separator:a2fc74b11c2ecce30e89f84cc1efe0c81"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a470a8f0ffd6694d9dfc834da5efa627a"><td class="memItemLeft" align="right" valign="top">uint8_t </td><td class="memItemRight" valign="bottom"><a class="el" href="class_bulk_only.html#a470a8f0ffd6694d9dfc834da5efa627a">Read</a> (uint8_t lun, uint32_t addr, uint16_t bsize, uint8_t blocks, uint8_t *buf)</td></tr>
|
|
<tr class="separator:a470a8f0ffd6694d9dfc834da5efa627a"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a52f54376dcd7f5baf17718105e8f085d"><td class="memItemLeft" align="right" valign="top">uint8_t </td><td class="memItemRight" valign="bottom"><a class="el" href="class_bulk_only.html#a52f54376dcd7f5baf17718105e8f085d">Read</a> (uint8_t lun, uint32_t addr, uint16_t bsize, uint8_t blocks, <a class="el" href="class_u_s_b_read_parser.html">USBReadParser</a> *prs)</td></tr>
|
|
<tr class="separator:a52f54376dcd7f5baf17718105e8f085d"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a45d327ddf87e01607c3a5b1849936053"><td class="memItemLeft" align="right" valign="top">uint8_t </td><td class="memItemRight" valign="bottom"><a class="el" href="class_bulk_only.html#a45d327ddf87e01607c3a5b1849936053">Write</a> (uint8_t lun, uint32_t addr, uint16_t bsize, uint8_t blocks, const uint8_t *buf)</td></tr>
|
|
<tr class="separator:a45d327ddf87e01607c3a5b1849936053"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ae7561d686d0b1374b5f9937d6ec8a035"><td class="memItemLeft" align="right" valign="top">uint8_t </td><td class="memItemRight" valign="bottom"><a class="el" href="class_bulk_only.html#ae7561d686d0b1374b5f9937d6ec8a035">LockMedia</a> (uint8_t lun, uint8_t lock)</td></tr>
|
|
<tr class="separator:ae7561d686d0b1374b5f9937d6ec8a035"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:aa6d74267dc98daeb0552fa234739ab08"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_bulk_only.html#aa6d74267dc98daeb0552fa234739ab08">LUNIsGood</a> (uint8_t lun)</td></tr>
|
|
<tr class="separator:aa6d74267dc98daeb0552fa234739ab08"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a597193e88b168e96878d383619f1377d"><td class="memItemLeft" align="right" valign="top">uint32_t </td><td class="memItemRight" valign="bottom"><a class="el" href="class_bulk_only.html#a597193e88b168e96878d383619f1377d">GetCapacity</a> (uint8_t lun)</td></tr>
|
|
<tr class="separator:a597193e88b168e96878d383619f1377d"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ac97cfb7558681af4cfaa11fcccc00170"><td class="memItemLeft" align="right" valign="top">uint16_t </td><td class="memItemRight" valign="bottom"><a class="el" href="class_bulk_only.html#ac97cfb7558681af4cfaa11fcccc00170">GetSectorSize</a> (uint8_t lun)</td></tr>
|
|
<tr class="separator:ac97cfb7558681af4cfaa11fcccc00170"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a51870da9badc037166b86da60bcda6ea"><td class="memItemLeft" align="right" valign="top">virtual uint8_t </td><td class="memItemRight" valign="bottom"><a class="el" href="class_bulk_only.html#a51870da9badc037166b86da60bcda6ea">Init</a> (uint8_t parent, uint8_t port, bool lowspeed)</td></tr>
|
|
<tr class="separator:a51870da9badc037166b86da60bcda6ea"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:aa8fe167a7af12dce9964fa5a430c53ea"><td class="memItemLeft" align="right" valign="top">virtual uint8_t </td><td class="memItemRight" valign="bottom"><a class="el" href="class_bulk_only.html#aa8fe167a7af12dce9964fa5a430c53ea">ConfigureDevice</a> (uint8_t parent, uint8_t port, bool lowspeed)</td></tr>
|
|
<tr class="separator:aa8fe167a7af12dce9964fa5a430c53ea"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a8a9b213d1800db2d8e661d242b57b195"><td class="memItemLeft" align="right" valign="top">virtual uint8_t </td><td class="memItemRight" valign="bottom"><a class="el" href="class_bulk_only.html#a8a9b213d1800db2d8e661d242b57b195">Release</a> ()</td></tr>
|
|
<tr class="separator:a8a9b213d1800db2d8e661d242b57b195"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a51b8a76f5e16697476ce2dcff2514bc6"><td class="memItemLeft" align="right" valign="top">virtual uint8_t </td><td class="memItemRight" valign="bottom"><a class="el" href="class_bulk_only.html#a51b8a76f5e16697476ce2dcff2514bc6">Poll</a> ()</td></tr>
|
|
<tr class="separator:a51b8a76f5e16697476ce2dcff2514bc6"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a376cb3367071555816e2b0c74ad7eb12"><td class="memItemLeft" align="right" valign="top">virtual uint8_t </td><td class="memItemRight" valign="bottom"><a class="el" href="class_bulk_only.html#a376cb3367071555816e2b0c74ad7eb12">GetAddress</a> ()</td></tr>
|
|
<tr class="separator:a376cb3367071555816e2b0c74ad7eb12"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a13d33906543d5d6b44620f430dc729ff"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_bulk_only.html#a13d33906543d5d6b44620f430dc729ff">EndpointXtract</a> (uint8_t conf, uint8_t iface, uint8_t alt, uint8_t proto, const <a class="el" href="struct_u_s_b___e_n_d_p_o_i_n_t___d_e_s_c_r_i_p_t_o_r.html">USB_ENDPOINT_DESCRIPTOR</a> *ep)</td></tr>
|
|
<tr class="separator:a13d33906543d5d6b44620f430dc729ff"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a509fdebcff72a9c0c8db706416f5bf23"><td class="memItemLeft" align="right" valign="top">virtual boolean </td><td class="memItemRight" valign="bottom"><a class="el" href="class_bulk_only.html#a509fdebcff72a9c0c8db706416f5bf23">DEVCLASSOK</a> (uint8_t klass)</td></tr>
|
|
<tr class="separator:a509fdebcff72a9c0c8db706416f5bf23"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:abec80bf6c8306115de66c0f87389bbd3"><td class="memItemLeft" align="right" valign="top">uint8_t </td><td class="memItemRight" valign="bottom"><a class="el" href="class_bulk_only.html#abec80bf6c8306115de66c0f87389bbd3">SCSITransaction6</a> (<a class="el" href="masstorage_8h.html#a56ab0baf4e98a591274bf8d1acf96d85">CDB6_t</a> *cdb, uint16_t buf_size, void *buf, uint8_t dir)</td></tr>
|
|
<tr class="separator:abec80bf6c8306115de66c0f87389bbd3"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:af07ab48c6b9e6bdb4f0d050adbae518d"><td class="memItemLeft" align="right" valign="top">uint8_t </td><td class="memItemRight" valign="bottom"><a class="el" href="class_bulk_only.html#af07ab48c6b9e6bdb4f0d050adbae518d">SCSITransaction10</a> (<a class="el" href="masstorage_8h.html#af952fd9270407996656ba95772511002">CDB10_t</a> *cdb, uint16_t buf_size, void *buf, uint8_t dir)</td></tr>
|
|
<tr class="separator:af07ab48c6b9e6bdb4f0d050adbae518d"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="inherit_header pub_methods_class_u_s_b_device_config"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_class_u_s_b_device_config')"><img src="closed.png" alt="-"/> Public Member Functions inherited from <a class="el" href="class_u_s_b_device_config.html">USBDeviceConfig</a></td></tr>
|
|
<tr class="memitem:a12bb63558ded5bb6661bb173b07ff391 inherit pub_methods_class_u_s_b_device_config"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_s_b_device_config.html#a12bb63558ded5bb6661bb173b07ff391">ResetHubPort</a> (uint8_t port)</td></tr>
|
|
<tr class="separator:a12bb63558ded5bb6661bb173b07ff391 inherit pub_methods_class_u_s_b_device_config"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a1cf695242e2e22893eea9c892282221b inherit pub_methods_class_u_s_b_device_config"><td class="memItemLeft" align="right" valign="top">virtual boolean </td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_s_b_device_config.html#a1cf695242e2e22893eea9c892282221b">VIDPIDOK</a> (uint16_t vid, uint16_t pid)</td></tr>
|
|
<tr class="separator:a1cf695242e2e22893eea9c892282221b inherit pub_methods_class_u_s_b_device_config"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table><table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a>
|
|
Protected Member Functions</h2></td></tr>
|
|
<tr class="memitem:ac8a1d7b2ef82d9f6da44928c78039964"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_bulk_only.html#ac8a1d7b2ef82d9f6da44928c78039964">PrintEndpointDescriptor</a> (const <a class="el" href="struct_u_s_b___e_n_d_p_o_i_n_t___d_e_s_c_r_i_p_t_o_r.html">USB_ENDPOINT_DESCRIPTOR</a> *ep_ptr)</td></tr>
|
|
<tr class="separator:ac8a1d7b2ef82d9f6da44928c78039964"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a3d253a0bc8f1ac5b7fe1c9e7078691e3"><td class="memItemLeft" align="right" valign="top">virtual uint8_t </td><td class="memItemRight" valign="bottom"><a class="el" href="class_bulk_only.html#a3d253a0bc8f1ac5b7fe1c9e7078691e3">OnInit</a> ()</td></tr>
|
|
<tr class="separator:a3d253a0bc8f1ac5b7fe1c9e7078691e3"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table><table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-attribs"></a>
|
|
Protected Attributes</h2></td></tr>
|
|
<tr class="memitem:a6b4ae384eea3aacd8bf916439621973a"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_u_s_b.html">USB</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="class_bulk_only.html#a6b4ae384eea3aacd8bf916439621973a">pUsb</a></td></tr>
|
|
<tr class="separator:a6b4ae384eea3aacd8bf916439621973a"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a9968a2119df66fa0093b020e318d8ac6"><td class="memItemLeft" align="right" valign="top">uint8_t </td><td class="memItemRight" valign="bottom"><a class="el" href="class_bulk_only.html#a9968a2119df66fa0093b020e318d8ac6">bAddress</a></td></tr>
|
|
<tr class="separator:a9968a2119df66fa0093b020e318d8ac6"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ab54f472ec9cd39abdb9f90867943d162"><td class="memItemLeft" align="right" valign="top">uint8_t </td><td class="memItemRight" valign="bottom"><a class="el" href="class_bulk_only.html#ab54f472ec9cd39abdb9f90867943d162">bConfNum</a></td></tr>
|
|
<tr class="separator:ab54f472ec9cd39abdb9f90867943d162"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ac18ad598cd9a1ee99f49d51a572a50a4"><td class="memItemLeft" align="right" valign="top">uint8_t </td><td class="memItemRight" valign="bottom"><a class="el" href="class_bulk_only.html#ac18ad598cd9a1ee99f49d51a572a50a4">bIface</a></td></tr>
|
|
<tr class="separator:ac18ad598cd9a1ee99f49d51a572a50a4"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a6cb56ebd0307845321340919e2b35952"><td class="memItemLeft" align="right" valign="top">uint8_t </td><td class="memItemRight" valign="bottom"><a class="el" href="class_bulk_only.html#a6cb56ebd0307845321340919e2b35952">bNumEP</a></td></tr>
|
|
<tr class="separator:a6cb56ebd0307845321340919e2b35952"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a2d422ee0745cd7c04afff905278c4233"><td class="memItemLeft" align="right" valign="top">uint32_t </td><td class="memItemRight" valign="bottom"><a class="el" href="class_bulk_only.html#a2d422ee0745cd7c04afff905278c4233">qNextPollTime</a></td></tr>
|
|
<tr class="separator:a2d422ee0745cd7c04afff905278c4233"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a21961ad1130480f534ef3e91f24c56a0"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_bulk_only.html#a21961ad1130480f534ef3e91f24c56a0">bPollEnable</a></td></tr>
|
|
<tr class="separator:a21961ad1130480f534ef3e91f24c56a0"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:aee2247fd0a251e4da36e8c09bbe6917f"><td class="memItemLeft" align="right" valign="top"><a class="el" href="struct_ep_info.html">EpInfo</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_bulk_only.html#aee2247fd0a251e4da36e8c09bbe6917f">epInfo</a> [<a class="el" href="masstorage_8h.html#ab4baa1ea500923e1fc59e5991f05fe99">MASS_MAX_ENDPOINTS</a>]</td></tr>
|
|
<tr class="separator:aee2247fd0a251e4da36e8c09bbe6917f"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a7ae682d50badd1386a06f30f35a32d1d"><td class="memItemLeft" align="right" valign="top">uint32_t </td><td class="memItemRight" valign="bottom"><a class="el" href="class_bulk_only.html#a7ae682d50badd1386a06f30f35a32d1d">dCBWTag</a></td></tr>
|
|
<tr class="separator:a7ae682d50badd1386a06f30f35a32d1d"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a20ff3cc4bb15c557f57a8c6200b412d1"><td class="memItemLeft" align="right" valign="top">uint8_t </td><td class="memItemRight" valign="bottom"><a class="el" href="class_bulk_only.html#a20ff3cc4bb15c557f57a8c6200b412d1">bLastUsbError</a></td></tr>
|
|
<tr class="separator:a20ff3cc4bb15c557f57a8c6200b412d1"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a6bbdd41bf6efc4060f3c36da7d6ed8b2"><td class="memItemLeft" align="right" valign="top">uint8_t </td><td class="memItemRight" valign="bottom"><a class="el" href="class_bulk_only.html#a6bbdd41bf6efc4060f3c36da7d6ed8b2">bMaxLUN</a></td></tr>
|
|
<tr class="separator:a6bbdd41bf6efc4060f3c36da7d6ed8b2"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a24c051d401f5f1a9ce65c1bc25ab02dd"><td class="memItemLeft" align="right" valign="top">uint8_t </td><td class="memItemRight" valign="bottom"><a class="el" href="class_bulk_only.html#a24c051d401f5f1a9ce65c1bc25ab02dd">bTheLUN</a></td></tr>
|
|
<tr class="separator:a24c051d401f5f1a9ce65c1bc25ab02dd"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a73c3f6b8f6f79ad60e5ba05e560b277d"><td class="memItemLeft" align="right" valign="top">uint32_t </td><td class="memItemRight" valign="bottom"><a class="el" href="class_bulk_only.html#a73c3f6b8f6f79ad60e5ba05e560b277d">CurrentCapacity</a> [<a class="el" href="settings_8h.html#a68a8c3241954d2159ff8df696dd5cff6">MASS_MAX_SUPPORTED_LUN</a>]</td></tr>
|
|
<tr class="separator:a73c3f6b8f6f79ad60e5ba05e560b277d"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:aa4e2711c6279d48c63e82a63ad458421"><td class="memItemLeft" align="right" valign="top">uint16_t </td><td class="memItemRight" valign="bottom"><a class="el" href="class_bulk_only.html#aa4e2711c6279d48c63e82a63ad458421">CurrentSectorSize</a> [<a class="el" href="settings_8h.html#a68a8c3241954d2159ff8df696dd5cff6">MASS_MAX_SUPPORTED_LUN</a>]</td></tr>
|
|
<tr class="separator:aa4e2711c6279d48c63e82a63ad458421"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a9f9d9b0925a2cb6b2fb8b10e4d581d28"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_bulk_only.html#a9f9d9b0925a2cb6b2fb8b10e4d581d28">LUNOk</a> [<a class="el" href="settings_8h.html#a68a8c3241954d2159ff8df696dd5cff6">MASS_MAX_SUPPORTED_LUN</a>]</td></tr>
|
|
<tr class="separator:a9f9d9b0925a2cb6b2fb8b10e4d581d28"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:af763ffffdd131949322d583fb4cd2737"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_bulk_only.html#af763ffffdd131949322d583fb4cd2737">WriteOk</a> [<a class="el" href="settings_8h.html#a68a8c3241954d2159ff8df696dd5cff6">MASS_MAX_SUPPORTED_LUN</a>]</td></tr>
|
|
<tr class="separator:af763ffffdd131949322d583fb4cd2737"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table><table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-static-attribs"></a>
|
|
Static Protected Attributes</h2></td></tr>
|
|
<tr class="memitem:a9e487226408578a2971570bcf7de62fe"><td class="memItemLeft" align="right" valign="top">static const uint8_t </td><td class="memItemRight" valign="bottom"><a class="el" href="class_bulk_only.html#a9e487226408578a2971570bcf7de62fe">epDataInIndex</a> = 1</td></tr>
|
|
<tr class="separator:a9e487226408578a2971570bcf7de62fe"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a8d527bdc285870f3571481a4fd982721"><td class="memItemLeft" align="right" valign="top">static const uint8_t </td><td class="memItemRight" valign="bottom"><a class="el" href="class_bulk_only.html#a8d527bdc285870f3571481a4fd982721">epDataOutIndex</a> = 2</td></tr>
|
|
<tr class="separator:a8d527bdc285870f3571481a4fd982721"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a03cd96b415990821bdce43b4004c85e4"><td class="memItemLeft" align="right" valign="top">static const uint8_t </td><td class="memItemRight" valign="bottom"><a class="el" href="class_bulk_only.html#a03cd96b415990821bdce43b4004c85e4">epInterruptInIndex</a> = 3</td></tr>
|
|
<tr class="separator:a03cd96b415990821bdce43b4004c85e4"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table>
|
|
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
|
|
<div class="textblock">
|
|
<p>Definition at line <a class="el" href="masstorage_8h_source.html#l00445">445</a> of file <a class="el" href="masstorage_8h_source.html">masstorage.h</a>.</p>
|
|
</div><h2 class="groupheader">Constructor & Destructor Documentation</h2>
|
|
<a class="anchor" id="a530fb250b0a0c92b48bc57e2957ace25"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">BulkOnly::BulkOnly </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="class_u_s_b.html">USB</a> * </td>
|
|
<td class="paramname"><em>p</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Definition at line <a class="el" href="masstorage_8cpp_source.html#l00205">205</a> of file <a class="el" href="masstorage_8cpp_source.html">masstorage.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<h2 class="groupheader">Member Function Documentation</h2>
|
|
<a class="anchor" id="ac8a1d7b2ef82d9f6da44928c78039964"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void BulkOnly::PrintEndpointDescriptor </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const <a class="el" href="struct_u_s_b___e_n_d_p_o_i_n_t___d_e_s_c_r_i_p_t_o_r.html">USB_ENDPOINT_DESCRIPTOR</a> * </td>
|
|
<td class="paramname"><em>ep_ptr</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">protected</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">ep_ptr</td><td></td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
<p>Definition at line <a class="el" href="masstorage_8cpp_source.html#l01181">1181</a> of file <a class="el" href="masstorage_8cpp_source.html">masstorage.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a3d253a0bc8f1ac5b7fe1c9e7078691e3"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">virtual uint8_t BulkOnly::OnInit </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">protected</span><span class="mlabel">virtual</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Definition at line <a class="el" href="masstorage_8h_source.html#l00475">475</a> of file <a class="el" href="masstorage_8h_source.html">masstorage.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="abe1e768a46e751e6792164334c973b44"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">uint8_t BulkOnly::GetLastUsbError </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Definition at line <a class="el" href="masstorage_8h_source.html#l00481">481</a> of file <a class="el" href="masstorage_8h_source.html">masstorage.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="af4779aa3a30058dd15eb6e612d6761af"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">uint8_t BulkOnly::GetbMaxLUN </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Definition at line <a class="el" href="masstorage_8h_source.html#l00485">485</a> of file <a class="el" href="masstorage_8h_source.html">masstorage.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="adfec4b466c0ba9db172d057727b07ab1"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">uint8_t BulkOnly::GetbTheLUN </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Definition at line <a class="el" href="masstorage_8h_source.html#l00489">489</a> of file <a class="el" href="masstorage_8h_source.html">masstorage.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ab0976e6d4f5fdeff800f3769e7b287c9"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">boolean BulkOnly::WriteProtected </td>
|
|
<td>(</td>
|
|
<td class="paramtype">uint8_t </td>
|
|
<td class="paramname"><em>lun</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Test if LUN is write protected</p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">lun</td><td>Logical Unit Number </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>cached status of write protect switch </dd></dl>
|
|
|
|
<p>Definition at line <a class="el" href="masstorage_8cpp_source.html#l00053">53</a> of file <a class="el" href="masstorage_8cpp_source.html">masstorage.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a2fc74b11c2ecce30e89f84cc1efe0c81"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">uint8_t BulkOnly::MediaCTL </td>
|
|
<td>(</td>
|
|
<td class="paramtype">uint8_t </td>
|
|
<td class="paramname"><em>lun</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">uint8_t </td>
|
|
<td class="paramname"><em>ctl</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Media control, for spindle motor and media tray or door. This includes CDROM, TAPE and anything with a media loader.</p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">lun</td><td>Logical Unit Number </td></tr>
|
|
<tr><td class="paramname">ctl</td><td>0x00 Stop Motor, 0x01 Start Motor, 0x02 Eject Media, 0x03 Load Media </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>0 on success </dd></dl>
|
|
|
|
<p>Definition at line <a class="el" href="masstorage_8cpp_source.html#l00113">113</a> of file <a class="el" href="masstorage_8cpp_source.html">masstorage.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a470a8f0ffd6694d9dfc834da5efa627a"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">uint8_t BulkOnly::Read </td>
|
|
<td>(</td>
|
|
<td class="paramtype">uint8_t </td>
|
|
<td class="paramname"><em>lun</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">uint32_t </td>
|
|
<td class="paramname"><em>addr</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">uint16_t </td>
|
|
<td class="paramname"><em>bsize</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">uint8_t </td>
|
|
<td class="paramname"><em>blocks</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">uint8_t * </td>
|
|
<td class="paramname"><em>buf</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Read data from media</p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">lun</td><td>Logical Unit Number </td></tr>
|
|
<tr><td class="paramname">addr</td><td>LBA address on media to read </td></tr>
|
|
<tr><td class="paramname">bsize</td><td>size of a block (we should probably use the cached size) </td></tr>
|
|
<tr><td class="paramname">blocks</td><td>how many blocks to read </td></tr>
|
|
<tr><td class="paramname">buf</td><td>memory that is able to hold the requested data </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>0 on success </dd></dl>
|
|
|
|
<p>Definition at line <a class="el" href="masstorage_8cpp_source.html#l00137">137</a> of file <a class="el" href="masstorage_8cpp_source.html">masstorage.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a52f54376dcd7f5baf17718105e8f085d"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">uint8_t BulkOnly::Read </td>
|
|
<td>(</td>
|
|
<td class="paramtype">uint8_t </td>
|
|
<td class="paramname"><em>lun</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">uint32_t </td>
|
|
<td class="paramname"><em>addr</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">uint16_t </td>
|
|
<td class="paramname"><em>bsize</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">uint8_t </td>
|
|
<td class="paramname"><em>blocks</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="class_u_s_b_read_parser.html">USBReadParser</a> * </td>
|
|
<td class="paramname"><em>prs</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Definition at line <a class="el" href="masstorage_8cpp_source.html#l01208">1208</a> of file <a class="el" href="masstorage_8cpp_source.html">masstorage.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a45d327ddf87e01607c3a5b1849936053"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">uint8_t BulkOnly::Write </td>
|
|
<td>(</td>
|
|
<td class="paramtype">uint8_t </td>
|
|
<td class="paramname"><em>lun</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">uint32_t </td>
|
|
<td class="paramname"><em>addr</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">uint16_t </td>
|
|
<td class="paramname"><em>bsize</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">uint8_t </td>
|
|
<td class="paramname"><em>blocks</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">const uint8_t * </td>
|
|
<td class="paramname"><em>buf</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Write data to media</p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">lun</td><td>Logical Unit Number </td></tr>
|
|
<tr><td class="paramname">addr</td><td>LBA address on media to write </td></tr>
|
|
<tr><td class="paramname">bsize</td><td>size of a block (we should probably use the cached size) </td></tr>
|
|
<tr><td class="paramname">blocks</td><td>how many blocks to write </td></tr>
|
|
<tr><td class="paramname">buf</td><td>memory that contains the data to write </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>0 on success </dd></dl>
|
|
|
|
<p>Definition at line <a class="el" href="masstorage_8cpp_source.html#l00171">171</a> of file <a class="el" href="masstorage_8cpp_source.html">masstorage.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ae7561d686d0b1374b5f9937d6ec8a035"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">uint8_t BulkOnly::LockMedia </td>
|
|
<td>(</td>
|
|
<td class="paramtype">uint8_t </td>
|
|
<td class="paramname"><em>lun</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">uint8_t </td>
|
|
<td class="paramname"><em>lock</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Lock or Unlock the tray or door on device. Caution: Some devices with buggy firmware will lock up.</p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">lun</td><td>Logical Unit Number </td></tr>
|
|
<tr><td class="paramname">lock</td><td>1 to lock, 0 to unlock </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd></dd></dl>
|
|
|
|
<p>Definition at line <a class="el" href="masstorage_8cpp_source.html#l00097">97</a> of file <a class="el" href="masstorage_8cpp_source.html">masstorage.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="aa6d74267dc98daeb0552fa234739ab08"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">bool BulkOnly::LUNIsGood </td>
|
|
<td>(</td>
|
|
<td class="paramtype">uint8_t </td>
|
|
<td class="paramname"><em>lun</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Test if LUN is ready for use</p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">lun</td><td>Logical Unit Number </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>true if LUN is ready for use </dd></dl>
|
|
|
|
<p>Definition at line <a class="el" href="masstorage_8cpp_source.html#l00043">43</a> of file <a class="el" href="masstorage_8cpp_source.html">masstorage.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a597193e88b168e96878d383619f1377d"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">uint32_t BulkOnly::GetCapacity </td>
|
|
<td>(</td>
|
|
<td class="paramtype">uint8_t </td>
|
|
<td class="paramname"><em>lun</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Get the capacity of the media</p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">lun</td><td>Logical Unit Number </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>media capacity </dd></dl>
|
|
|
|
<p>Definition at line <a class="el" href="masstorage_8cpp_source.html#l00019">19</a> of file <a class="el" href="masstorage_8cpp_source.html">masstorage.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ac97cfb7558681af4cfaa11fcccc00170"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">uint16_t BulkOnly::GetSectorSize </td>
|
|
<td>(</td>
|
|
<td class="paramtype">uint8_t </td>
|
|
<td class="paramname"><em>lun</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Get the sector (block) size used on the media</p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">lun</td><td>Logical Unit Number </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>media sector size </dd></dl>
|
|
|
|
<p>Definition at line <a class="el" href="masstorage_8cpp_source.html#l00031">31</a> of file <a class="el" href="masstorage_8cpp_source.html">masstorage.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a51870da9badc037166b86da60bcda6ea"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">uint8_t BulkOnly::Init </td>
|
|
<td>(</td>
|
|
<td class="paramtype">uint8_t </td>
|
|
<td class="paramname"><em>parent</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">uint8_t </td>
|
|
<td class="paramname"><em>port</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">bool </td>
|
|
<td class="paramname"><em>lowspeed</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">parent</td><td>(not used) </td></tr>
|
|
<tr><td class="paramname">port</td><td>(not used) </td></tr>
|
|
<tr><td class="paramname">lowspeed</td><td>true if device is low speed </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>0 for success </dd></dl>
|
|
|
|
<p>Reimplemented from <a class="el" href="class_u_s_b_device_config.html#a3706cf6b18785aff823171e280bab738">USBDeviceConfig</a>.</p>
|
|
|
|
<p>Definition at line <a class="el" href="masstorage_8cpp_source.html#l00309">309</a> of file <a class="el" href="masstorage_8cpp_source.html">masstorage.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="aa8fe167a7af12dce9964fa5a430c53ea"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">uint8_t BulkOnly::ConfigureDevice </td>
|
|
<td>(</td>
|
|
<td class="paramtype">uint8_t </td>
|
|
<td class="paramname"><em>parent</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">uint8_t </td>
|
|
<td class="paramname"><em>port</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">bool </td>
|
|
<td class="paramname"><em>lowspeed</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>USB_ERROR_CONFIG_REQUIRES_ADDITIONAL_RESET == success We need to standardize either the rcode, or change the API to return values so a signal that additional actions are required can be produced. Some of these codes do exist already.</p>
|
|
<p>TECHNICAL: We could do most of this code elsewhere, with the exception of checking the class instance. Doing so would save some program memory when using multiple drivers.</p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">parent</td><td><a class="el" href="class_u_s_b.html">USB</a> address of parent </td></tr>
|
|
<tr><td class="paramname">port</td><td>address of port on parent </td></tr>
|
|
<tr><td class="paramname">lowspeed</td><td>true if device is low speed </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd></dd></dl>
|
|
|
|
<p>Reimplemented from <a class="el" href="class_u_s_b_device_config.html#aef77a1e62f78c04a1aad53e8795ec89e">USBDeviceConfig</a>.</p>
|
|
|
|
<p>Definition at line <a class="el" href="masstorage_8cpp_source.html#l00234">234</a> of file <a class="el" href="masstorage_8cpp_source.html">masstorage.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a8a9b213d1800db2d8e661d242b57b195"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">uint8_t BulkOnly::Release </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>For driver use only.</p>
|
|
<dl class="section return"><dt>Returns</dt><dd></dd></dl>
|
|
|
|
<p>Reimplemented from <a class="el" href="class_u_s_b_device_config.html#a61e301efedae55c6ac12c6cce154e432">USBDeviceConfig</a>.</p>
|
|
|
|
<p>Definition at line <a class="el" href="masstorage_8cpp_source.html#l00558">558</a> of file <a class="el" href="masstorage_8cpp_source.html">masstorage.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a51b8a76f5e16697476ce2dcff2514bc6"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">uint8_t BulkOnly::Poll </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>For driver use only.</p>
|
|
<dl class="section return"><dt>Returns</dt><dd></dd></dl>
|
|
|
|
<p>Reimplemented from <a class="el" href="class_u_s_b_device_config.html#a893ea73deab98be837c257201e7da25a">USBDeviceConfig</a>.</p>
|
|
|
|
<p>Definition at line <a class="el" href="masstorage_8cpp_source.html#l00636">636</a> of file <a class="el" href="masstorage_8cpp_source.html">masstorage.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a376cb3367071555816e2b0c74ad7eb12"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">virtual uint8_t BulkOnly::GetAddress </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Reimplemented from <a class="el" href="class_u_s_b_device_config.html#a2bfde6c290d32888a6f4e97fa1e222f1">USBDeviceConfig</a>.</p>
|
|
|
|
<p>Definition at line <a class="el" href="masstorage_8h_source.html#l00511">511</a> of file <a class="el" href="masstorage_8h_source.html">masstorage.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a13d33906543d5d6b44620f430dc729ff"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void BulkOnly::EndpointXtract </td>
|
|
<td>(</td>
|
|
<td class="paramtype">uint8_t </td>
|
|
<td class="paramname"><em>conf</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">uint8_t </td>
|
|
<td class="paramname"><em>iface</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">uint8_t </td>
|
|
<td class="paramname"><em>alt</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">uint8_t </td>
|
|
<td class="paramname"><em>proto</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">const <a class="el" href="struct_u_s_b___e_n_d_p_o_i_n_t___d_e_s_c_r_i_p_t_o_r.html">USB_ENDPOINT_DESCRIPTOR</a> * </td>
|
|
<td class="paramname"><em>pep</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>For driver use only.</p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">conf</td><td></td></tr>
|
|
<tr><td class="paramname">iface</td><td></td></tr>
|
|
<tr><td class="paramname">alt</td><td></td></tr>
|
|
<tr><td class="paramname">proto</td><td></td></tr>
|
|
<tr><td class="paramname">pep</td><td></td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
<p>Implements <a class="el" href="class_usb_config_xtracter.html#aceb5da8339172cbb2e9ce2064e34e5ef">UsbConfigXtracter</a>.</p>
|
|
|
|
<p>Definition at line <a class="el" href="masstorage_8cpp_source.html#l00526">526</a> of file <a class="el" href="masstorage_8cpp_source.html">masstorage.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a509fdebcff72a9c0c8db706416f5bf23"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">virtual boolean BulkOnly::DEVCLASSOK </td>
|
|
<td>(</td>
|
|
<td class="paramtype">uint8_t </td>
|
|
<td class="paramname"><em>klass</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Reimplemented from <a class="el" href="class_u_s_b_device_config.html#a7f13c42ed2c8e72e1f63562576ca82d2">USBDeviceConfig</a>.</p>
|
|
|
|
<p>Definition at line <a class="el" href="masstorage_8h_source.html#l00518">518</a> of file <a class="el" href="masstorage_8h_source.html">masstorage.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="abec80bf6c8306115de66c0f87389bbd3"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">uint8_t BulkOnly::SCSITransaction6 </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="masstorage_8h.html#a56ab0baf4e98a591274bf8d1acf96d85">CDB6_t</a> * </td>
|
|
<td class="paramname"><em>cdb</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">uint16_t </td>
|
|
<td class="paramname"><em>buf_size</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">void * </td>
|
|
<td class="paramname"><em>buf</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">uint8_t </td>
|
|
<td class="paramname"><em>dir</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Wrap and execute a SCSI CDB with length of 6</p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">cdb</td><td>CDB to execute </td></tr>
|
|
<tr><td class="paramname">buf_size</td><td>Size of expected transaction </td></tr>
|
|
<tr><td class="paramname">buf</td><td>Buffer </td></tr>
|
|
<tr><td class="paramname">dir</td><td>MASS_CMD_DIR_IN | MASS_CMD_DIR_OUT </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd></dd></dl>
|
|
|
|
<p>Definition at line <a class="el" href="masstorage_8cpp_source.html#l00066">66</a> of file <a class="el" href="masstorage_8cpp_source.html">masstorage.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="af07ab48c6b9e6bdb4f0d050adbae518d"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">uint8_t BulkOnly::SCSITransaction10 </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="masstorage_8h.html#af952fd9270407996656ba95772511002">CDB10_t</a> * </td>
|
|
<td class="paramname"><em>cdb</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">uint16_t </td>
|
|
<td class="paramname"><em>buf_size</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">void * </td>
|
|
<td class="paramname"><em>buf</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">uint8_t </td>
|
|
<td class="paramname"><em>dir</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Wrap and execute a SCSI CDB with length of 10</p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">cdb</td><td>CDB to execute </td></tr>
|
|
<tr><td class="paramname">buf_size</td><td>Size of expected transaction </td></tr>
|
|
<tr><td class="paramname">buf</td><td>Buffer </td></tr>
|
|
<tr><td class="paramname">dir</td><td>MASS_CMD_DIR_IN | MASS_CMD_DIR_OUT </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd></dd></dl>
|
|
|
|
<p>Definition at line <a class="el" href="masstorage_8cpp_source.html#l00082">82</a> of file <a class="el" href="masstorage_8cpp_source.html">masstorage.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<h2 class="groupheader">Member Data Documentation</h2>
|
|
<a class="anchor" id="a9e487226408578a2971570bcf7de62fe"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">const uint8_t BulkOnly::epDataInIndex = 1</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">static</span><span class="mlabel">protected</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Definition at line <a class="el" href="masstorage_8h_source.html#l00447">447</a> of file <a class="el" href="masstorage_8h_source.html">masstorage.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a8d527bdc285870f3571481a4fd982721"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">const uint8_t BulkOnly::epDataOutIndex = 2</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">static</span><span class="mlabel">protected</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Definition at line <a class="el" href="masstorage_8h_source.html#l00448">448</a> of file <a class="el" href="masstorage_8h_source.html">masstorage.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a03cd96b415990821bdce43b4004c85e4"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">const uint8_t BulkOnly::epInterruptInIndex = 3</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">static</span><span class="mlabel">protected</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Definition at line <a class="el" href="masstorage_8h_source.html#l00449">449</a> of file <a class="el" href="masstorage_8h_source.html">masstorage.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a6b4ae384eea3aacd8bf916439621973a"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="class_u_s_b.html">USB</a>* BulkOnly::pUsb</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">protected</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Definition at line <a class="el" href="masstorage_8h_source.html#l00451">451</a> of file <a class="el" href="masstorage_8h_source.html">masstorage.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a9968a2119df66fa0093b020e318d8ac6"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">uint8_t BulkOnly::bAddress</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">protected</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Definition at line <a class="el" href="masstorage_8h_source.html#l00452">452</a> of file <a class="el" href="masstorage_8h_source.html">masstorage.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ab54f472ec9cd39abdb9f90867943d162"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">uint8_t BulkOnly::bConfNum</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">protected</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Definition at line <a class="el" href="masstorage_8h_source.html#l00453">453</a> of file <a class="el" href="masstorage_8h_source.html">masstorage.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ac18ad598cd9a1ee99f49d51a572a50a4"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">uint8_t BulkOnly::bIface</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">protected</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Definition at line <a class="el" href="masstorage_8h_source.html#l00454">454</a> of file <a class="el" href="masstorage_8h_source.html">masstorage.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a6cb56ebd0307845321340919e2b35952"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">uint8_t BulkOnly::bNumEP</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">protected</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Definition at line <a class="el" href="masstorage_8h_source.html#l00455">455</a> of file <a class="el" href="masstorage_8h_source.html">masstorage.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a2d422ee0745cd7c04afff905278c4233"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">uint32_t BulkOnly::qNextPollTime</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">protected</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Definition at line <a class="el" href="masstorage_8h_source.html#l00456">456</a> of file <a class="el" href="masstorage_8h_source.html">masstorage.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a21961ad1130480f534ef3e91f24c56a0"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">bool BulkOnly::bPollEnable</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">protected</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Definition at line <a class="el" href="masstorage_8h_source.html#l00457">457</a> of file <a class="el" href="masstorage_8h_source.html">masstorage.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="aee2247fd0a251e4da36e8c09bbe6917f"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="struct_ep_info.html">EpInfo</a> BulkOnly::epInfo[<a class="el" href="masstorage_8h.html#ab4baa1ea500923e1fc59e5991f05fe99">MASS_MAX_ENDPOINTS</a>]</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">protected</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Definition at line <a class="el" href="masstorage_8h_source.html#l00459">459</a> of file <a class="el" href="masstorage_8h_source.html">masstorage.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a7ae682d50badd1386a06f30f35a32d1d"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">uint32_t BulkOnly::dCBWTag</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">protected</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Definition at line <a class="el" href="masstorage_8h_source.html#l00461">461</a> of file <a class="el" href="masstorage_8h_source.html">masstorage.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a20ff3cc4bb15c557f57a8c6200b412d1"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">uint8_t BulkOnly::bLastUsbError</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">protected</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Definition at line <a class="el" href="masstorage_8h_source.html#l00463">463</a> of file <a class="el" href="masstorage_8h_source.html">masstorage.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a6bbdd41bf6efc4060f3c36da7d6ed8b2"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">uint8_t BulkOnly::bMaxLUN</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">protected</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Definition at line <a class="el" href="masstorage_8h_source.html#l00464">464</a> of file <a class="el" href="masstorage_8h_source.html">masstorage.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a24c051d401f5f1a9ce65c1bc25ab02dd"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">uint8_t BulkOnly::bTheLUN</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">protected</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Definition at line <a class="el" href="masstorage_8h_source.html#l00465">465</a> of file <a class="el" href="masstorage_8h_source.html">masstorage.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a73c3f6b8f6f79ad60e5ba05e560b277d"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">uint32_t BulkOnly::CurrentCapacity[<a class="el" href="settings_8h.html#a68a8c3241954d2159ff8df696dd5cff6">MASS_MAX_SUPPORTED_LUN</a>]</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">protected</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Definition at line <a class="el" href="masstorage_8h_source.html#l00466">466</a> of file <a class="el" href="masstorage_8h_source.html">masstorage.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="aa4e2711c6279d48c63e82a63ad458421"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">uint16_t BulkOnly::CurrentSectorSize[<a class="el" href="settings_8h.html#a68a8c3241954d2159ff8df696dd5cff6">MASS_MAX_SUPPORTED_LUN</a>]</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">protected</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Definition at line <a class="el" href="masstorage_8h_source.html#l00467">467</a> of file <a class="el" href="masstorage_8h_source.html">masstorage.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a9f9d9b0925a2cb6b2fb8b10e4d581d28"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">bool BulkOnly::LUNOk[<a class="el" href="settings_8h.html#a68a8c3241954d2159ff8df696dd5cff6">MASS_MAX_SUPPORTED_LUN</a>]</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">protected</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Definition at line <a class="el" href="masstorage_8h_source.html#l00468">468</a> of file <a class="el" href="masstorage_8h_source.html">masstorage.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="af763ffffdd131949322d583fb4cd2737"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">bool BulkOnly::WriteOk[<a class="el" href="settings_8h.html#a68a8c3241954d2159ff8df696dd5cff6">MASS_MAX_SUPPORTED_LUN</a>]</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">protected</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Definition at line <a class="el" href="masstorage_8h_source.html#l00469">469</a> of file <a class="el" href="masstorage_8h_source.html">masstorage.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<hr/>The documentation for this class was generated from the following files:<ul>
|
|
<li><a class="el" href="masstorage_8h_source.html">masstorage.h</a></li>
|
|
<li><a class="el" href="masstorage_8cpp_source.html">masstorage.cpp</a></li>
|
|
</ul>
|
|
</div><!-- contents -->
|
|
<!-- start footer part -->
|
|
<hr class="footer"/><address class="footer"><small>
|
|
Generated by  <a href="http://www.doxygen.org/index.html">
|
|
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
|
</a> 1.8.6
|
|
</small></address>
|
|
</body>
|
|
</html>
|