USB_Host_Shield_2.0/class_bulk_only.html

1604 lines
73 KiB
HTML
Raw Normal View History

2013-01-30 22:00:18 +01:00
<!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.13"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>USB Host Shield 2.0: BulkOnly Class Reference</title>
2013-01-30 22:00:18 +01:00
<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/searchdata.js"></script>
2013-01-30 22:00:18 +01:00
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="imageStyle.css" rel="stylesheet" type="text/css"/>
2013-01-30 22:00:18 +01:00
</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 id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">USB Host Shield 2.0
2013-01-30 22:00:18 +01:00
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
2013-01-30 22:00:18 +01:00
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
2013-01-30 22:00:18 +01:00
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>
2013-01-30 22:00:18 +01:00
<!-- 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> &#124;
<a href="#pro-methods">Protected Member Functions</a> &#124;
<a href="#pro-attribs">Protected Attributes</a> &#124;
<a href="#pro-static-attribs">Static Protected Attributes</a> &#124;
<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 &lt;<a class="el" href="masstorage_8h_source.html">masstorage.h</a>&gt;</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,5,135,32"/>
<area shape="rect" id="node3" href="class_usb_config_xtracter.html" title="UsbConfigXtracter" alt="" coords="159,5,290,32"/>
</map>
2013-01-30 22:00:18 +01:00
<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,81,135,108"/>
<area shape="rect" id="node3" href="class_usb_config_xtracter.html" title="UsbConfigXtracter" alt="" coords="159,81,290,108"/>
<area shape="rect" id="node4" href="class_u_s_b.html" title="USB" alt="" coords="314,81,365,108"/>
<area shape="rect" id="node5" href="class_m_a_x3421e.html" title="MAX3421E" alt="" coords="295,5,383,32"/>
<area shape="rect" id="node6" href="struct_ep_info.html" title="EpInfo" alt="" coords="389,81,449,108"/>
</map>
2013-01-30 22:00:18 +01:00
<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">&#160;</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">&#160;</td></tr>
<tr class="memitem:abe1e768a46e751e6792164334c973b44"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</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">&#160;</td></tr>
2013-04-01 22:52:24 +02:00
<tr class="memitem:af4779aa3a30058dd15eb6e612d6761af"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</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">&#160;</td></tr>
<tr class="memitem:adfec4b466c0ba9db172d057727b07ab1"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</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">&#160;</td></tr>
2015-04-07 16:07:33 +02:00
<tr class="memitem:a85d034c7da25090c36c9bdeb85338009"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_bulk_only.html#a85d034c7da25090c36c9bdeb85338009">WriteProtected</a> (uint8_t lun)</td></tr>
<tr class="separator:a85d034c7da25090c36c9bdeb85338009"><td class="memSeparator" colspan="2">&#160;</td></tr>
2013-04-01 22:52:24 +02:00
<tr class="memitem:a2fc74b11c2ecce30e89f84cc1efe0c81"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</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">&#160;</td></tr>
<tr class="memitem:a470a8f0ffd6694d9dfc834da5efa627a"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</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">&#160;</td></tr>
<tr class="memitem:a52f54376dcd7f5baf17718105e8f085d"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</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">&#160;</td></tr>
<tr class="memitem:a45d327ddf87e01607c3a5b1849936053"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</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">&#160;</td></tr>
2013-06-17 20:33:24 +02:00
<tr class="memitem:ae7561d686d0b1374b5f9937d6ec8a035"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</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">&#160;</td></tr>
<tr class="memitem:aa6d74267dc98daeb0552fa234739ab08"><td class="memItemLeft" align="right" valign="top">bool&#160;</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">&#160;</td></tr>
<tr class="memitem:a597193e88b168e96878d383619f1377d"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</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">&#160;</td></tr>
<tr class="memitem:ac97cfb7558681af4cfaa11fcccc00170"><td class="memItemLeft" align="right" valign="top">uint16_t&#160;</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">&#160;</td></tr>
2015-04-07 16:07:33 +02:00
<tr class="memitem:a51870da9badc037166b86da60bcda6ea"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</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>
2013-01-30 22:00:18 +01:00
<tr class="separator:a51870da9badc037166b86da60bcda6ea"><td class="memSeparator" colspan="2">&#160;</td></tr>
2015-04-07 16:07:33 +02:00
<tr class="memitem:aa8fe167a7af12dce9964fa5a430c53ea"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</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>
2013-06-17 20:33:24 +02:00
<tr class="separator:aa8fe167a7af12dce9964fa5a430c53ea"><td class="memSeparator" colspan="2">&#160;</td></tr>
2015-04-07 16:07:33 +02:00
<tr class="memitem:a8a9b213d1800db2d8e661d242b57b195"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_bulk_only.html#a8a9b213d1800db2d8e661d242b57b195">Release</a> ()</td></tr>
2013-01-30 22:00:18 +01:00
<tr class="separator:a8a9b213d1800db2d8e661d242b57b195"><td class="memSeparator" colspan="2">&#160;</td></tr>
2015-04-07 16:07:33 +02:00
<tr class="memitem:a51b8a76f5e16697476ce2dcff2514bc6"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_bulk_only.html#a51b8a76f5e16697476ce2dcff2514bc6">Poll</a> ()</td></tr>
2013-01-30 22:00:18 +01:00
<tr class="separator:a51b8a76f5e16697476ce2dcff2514bc6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a376cb3367071555816e2b0c74ad7eb12"><td class="memItemLeft" align="right" valign="top">virtual uint8_t&#160;</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">&#160;</td></tr>
2015-04-07 16:07:33 +02:00
<tr class="memitem:a13d33906543d5d6b44620f430dc729ff"><td class="memItemLeft" align="right" valign="top">void&#160;</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>
2013-01-30 22:00:18 +01:00
<tr class="separator:a13d33906543d5d6b44620f430dc729ff"><td class="memSeparator" colspan="2">&#160;</td></tr>
2015-04-07 16:07:33 +02:00
<tr class="memitem:a878110a3df287aae4f95807865d18819"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_bulk_only.html#a878110a3df287aae4f95807865d18819">DEVCLASSOK</a> (uint8_t klass)</td></tr>
<tr class="separator:a878110a3df287aae4f95807865d18819"><td class="memSeparator" colspan="2">&#160;</td></tr>
2013-10-21 21:15:43 +02:00
<tr class="memitem:abec80bf6c8306115de66c0f87389bbd3"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</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">&#160;</td></tr>
<tr class="memitem:af07ab48c6b9e6bdb4f0d050adbae518d"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</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">&#160;</td></tr>
2013-06-27 20:03:16 +02:00
<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="-"/>&#160;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&#160;</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">&#160;</td></tr>
2015-04-07 16:07:33 +02:00
<tr class="memitem:af920743379d8c133dda4335d11601141 inherit pub_methods_class_u_s_b_device_config"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_s_b_device_config.html#af920743379d8c133dda4335d11601141">VIDPIDOK</a> (uint16_t vid, uint16_t pid)</td></tr>
<tr class="separator:af920743379d8c133dda4335d11601141 inherit pub_methods_class_u_s_b_device_config"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad2d535af92d0b97e4445a6bd51d35c57 inherit pub_methods_class_u_s_b_device_config"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_s_b_device_config.html#ad2d535af92d0b97e4445a6bd51d35c57">DEVSUBCLASSOK</a> (uint8_t subklass)</td></tr>
<tr class="separator:ad2d535af92d0b97e4445a6bd51d35c57 inherit pub_methods_class_u_s_b_device_config"><td class="memSeparator" colspan="2">&#160;</td></tr>
2013-01-30 22:00:18 +01:00
</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&#160;</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">&#160;</td></tr>
2013-04-01 22:52:24 +02:00
<tr class="memitem:a3d253a0bc8f1ac5b7fe1c9e7078691e3"><td class="memItemLeft" align="right" valign="top">virtual uint8_t&#160;</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">&#160;</td></tr>
2013-01-30 22:00:18 +01:00
</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> *&#160;</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">&#160;</td></tr>
<tr class="memitem:a9968a2119df66fa0093b020e318d8ac6"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</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">&#160;</td></tr>
<tr class="memitem:ab54f472ec9cd39abdb9f90867943d162"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</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">&#160;</td></tr>
<tr class="memitem:ac18ad598cd9a1ee99f49d51a572a50a4"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</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">&#160;</td></tr>
<tr class="memitem:a6cb56ebd0307845321340919e2b35952"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</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">&#160;</td></tr>
<tr class="memitem:a2d422ee0745cd7c04afff905278c4233"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</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">&#160;</td></tr>
<tr class="memitem:a21961ad1130480f534ef3e91f24c56a0"><td class="memItemLeft" align="right" valign="top">bool&#160;</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">&#160;</td></tr>
<tr class="memitem:aee2247fd0a251e4da36e8c09bbe6917f"><td class="memItemLeft" align="right" valign="top"><a class="el" href="struct_ep_info.html">EpInfo</a>&#160;</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">&#160;</td></tr>
<tr class="memitem:a7ae682d50badd1386a06f30f35a32d1d"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</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">&#160;</td></tr>
<tr class="memitem:a20ff3cc4bb15c557f57a8c6200b412d1"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</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">&#160;</td></tr>
2013-04-01 22:52:24 +02:00
<tr class="memitem:a6bbdd41bf6efc4060f3c36da7d6ed8b2"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</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">&#160;</td></tr>
<tr class="memitem:a24c051d401f5f1a9ce65c1bc25ab02dd"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</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">&#160;</td></tr>
2013-10-21 21:15:43 +02:00
<tr class="memitem:a73c3f6b8f6f79ad60e5ba05e560b277d"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</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>
2013-06-17 20:33:24 +02:00
<tr class="separator:a73c3f6b8f6f79ad60e5ba05e560b277d"><td class="memSeparator" colspan="2">&#160;</td></tr>
2013-10-21 21:15:43 +02:00
<tr class="memitem:aa4e2711c6279d48c63e82a63ad458421"><td class="memItemLeft" align="right" valign="top">uint16_t&#160;</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>
2013-06-17 20:33:24 +02:00
<tr class="separator:aa4e2711c6279d48c63e82a63ad458421"><td class="memSeparator" colspan="2">&#160;</td></tr>
2013-10-21 21:15:43 +02:00
<tr class="memitem:a9f9d9b0925a2cb6b2fb8b10e4d581d28"><td class="memItemLeft" align="right" valign="top">bool&#160;</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>
2013-06-17 20:33:24 +02:00
<tr class="separator:a9f9d9b0925a2cb6b2fb8b10e4d581d28"><td class="memSeparator" colspan="2">&#160;</td></tr>
2013-10-21 21:15:43 +02:00
<tr class="memitem:af763ffffdd131949322d583fb4cd2737"><td class="memItemLeft" align="right" valign="top">bool&#160;</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>
2013-06-17 20:33:24 +02:00
<tr class="separator:af763ffffdd131949322d583fb4cd2737"><td class="memSeparator" colspan="2">&#160;</td></tr>
2013-01-30 22:00:18 +01:00
</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&#160;</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">&#160;</td></tr>
<tr class="memitem:a8d527bdc285870f3571481a4fd982721"><td class="memItemLeft" align="right" valign="top">static const uint8_t&#160;</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">&#160;</td></tr>
<tr class="memitem:a03cd96b415990821bdce43b4004c85e4"><td class="memItemLeft" align="right" valign="top">static const uint8_t&#160;</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">&#160;</td></tr>
</table>
2013-02-05 20:02:12 +01:00
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock">
<p class="definition">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>
2013-02-05 20:02:12 +01:00
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="a530fb250b0a0c92b48bc57e2957ace25"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a530fb250b0a0c92b48bc57e2957ace25">&#9670;&nbsp;</a></span>BulkOnly()</h2>
2013-01-30 22:00:18 +01:00
<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> *&#160;</td>
2013-10-21 21:15:43 +02:00
<td class="paramname"><em>p</em></td><td>)</td>
2013-01-30 22:00:18 +01:00
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="masstorage_8cpp_source.html#l00229">229</a> of file <a class="el" href="masstorage_8cpp_source.html">masstorage.cpp</a>.</p>
2013-02-05 20:02:12 +01:00
2013-01-30 22:00:18 +01:00
</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="ac8a1d7b2ef82d9f6da44928c78039964"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac8a1d7b2ef82d9f6da44928c78039964">&#9670;&nbsp;</a></span>PrintEndpointDescriptor()</h2>
2013-01-30 22:00:18 +01:00
<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>
2013-01-30 22:00:18 +01:00
<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> *&#160;</td>
2013-10-21 21:15:43 +02:00
<td class="paramname"><em>ep_ptr</em></td><td>)</td>
2013-01-30 22:00:18 +01:00
<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">
2013-06-17 20:33:24 +02:00
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">ep_ptr</td><td></td></tr>
</table>
</dd>
</dl>
2013-01-30 22:00:18 +01:00
<p class="definition">Definition at line <a class="el" href="masstorage_8cpp_source.html#l01220">1220</a> of file <a class="el" href="masstorage_8cpp_source.html">masstorage.cpp</a>.</p>
2013-01-30 22:00:18 +01:00
2013-04-01 22:52:24 +02:00
</div>
</div>
<a id="a3d253a0bc8f1ac5b7fe1c9e7078691e3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3d253a0bc8f1ac5b7fe1c9e7078691e3">&#9670;&nbsp;</a></span>OnInit()</h2>
2013-04-01 22:52:24 +02:00
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
2013-06-17 20:33:24 +02:00
<td class="memname">virtual uint8_t BulkOnly::OnInit </td>
2013-04-01 22:52:24 +02:00
<td>(</td>
2013-10-21 21:15:43 +02:00
<td class="paramname"></td><td>)</td>
2013-04-01 22:52:24 +02:00
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
2013-06-17 20:33:24 +02:00
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">protected</span><span class="mlabel">virtual</span></span> </td>
2013-04-01 22:52:24 +02:00
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="masstorage_8h_source.html#l00499">499</a> of file <a class="el" href="masstorage_8h_source.html">masstorage.h</a>.</p>
2013-02-05 20:02:12 +01:00
2013-01-30 22:00:18 +01:00
</div>
</div>
<a id="abe1e768a46e751e6792164334c973b44"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abe1e768a46e751e6792164334c973b44">&#9670;&nbsp;</a></span>GetLastUsbError()</h2>
2013-01-30 22:00:18 +01:00
<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>
2013-01-30 22:00:18 +01:00
<td>(</td>
2013-10-21 21:15:43 +02:00
<td class="paramname"></td><td>)</td>
<td></td>
2013-01-30 22:00:18 +01:00
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="masstorage_8h_source.html#l00505">505</a> of file <a class="el" href="masstorage_8h_source.html">masstorage.h</a>.</p>
2013-04-01 22:52:24 +02:00
</div>
</div>
<a id="af4779aa3a30058dd15eb6e612d6761af"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af4779aa3a30058dd15eb6e612d6761af">&#9670;&nbsp;</a></span>GetbMaxLUN()</h2>
2013-04-01 22:52:24 +02:00
<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>
2013-10-21 21:15:43 +02:00
<td class="paramname"></td><td>)</td>
2013-04-01 22:52:24 +02:00
<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 class="definition">Definition at line <a class="el" href="masstorage_8h_source.html#l00509">509</a> of file <a class="el" href="masstorage_8h_source.html">masstorage.h</a>.</p>
2013-04-01 22:52:24 +02:00
</div>
</div>
<a id="adfec4b466c0ba9db172d057727b07ab1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#adfec4b466c0ba9db172d057727b07ab1">&#9670;&nbsp;</a></span>GetbTheLUN()</h2>
2013-04-01 22:52:24 +02:00
<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>
2013-10-21 21:15:43 +02:00
<td class="paramname"></td><td>)</td>
2013-04-01 22:52:24 +02:00
<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 class="definition">Definition at line <a class="el" href="masstorage_8h_source.html#l00513">513</a> of file <a class="el" href="masstorage_8h_source.html">masstorage.h</a>.</p>
2013-02-05 20:02:12 +01:00
2013-06-17 20:33:24 +02:00
</div>
</div>
<a id="a85d034c7da25090c36c9bdeb85338009"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a85d034c7da25090c36c9bdeb85338009">&#9670;&nbsp;</a></span>WriteProtected()</h2>
2013-06-17 20:33:24 +02:00
<div class="memitem">
<div class="memproto">
<table class="memname">
2013-01-30 22:00:18 +01:00
<tr>
2015-04-07 16:07:33 +02:00
<td class="memname">bool BulkOnly::WriteProtected </td>
2013-06-17 20:33:24 +02:00
<td>(</td>
<td class="paramtype">uint8_t&#160;</td>
2013-10-21 21:15:43 +02:00
<td class="paramname"><em>lun</em></td><td>)</td>
2013-01-30 22:00:18 +01:00
<td></td>
</tr>
</table>
</div><div class="memdoc">
2013-06-17 20:33:24 +02:00
<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>
2013-01-30 22:00:18 +01:00
<p class="definition">Definition at line <a class="el" href="masstorage_8cpp_source.html#l00077">77</a> of file <a class="el" href="masstorage_8cpp_source.html">masstorage.cpp</a>.</p>
2013-02-05 20:02:12 +01:00
2013-01-30 22:00:18 +01:00
</div>
</div>
<a id="a2fc74b11c2ecce30e89f84cc1efe0c81"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2fc74b11c2ecce30e89f84cc1efe0c81">&#9670;&nbsp;</a></span>MediaCTL()</h2>
2013-01-30 22:00:18 +01:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
2013-06-17 20:33:24 +02:00
<td class="memname">uint8_t BulkOnly::MediaCTL </td>
2013-01-30 22:00:18 +01:00
<td>(</td>
<td class="paramtype">uint8_t&#160;</td>
<td class="paramname"><em>lun</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
2013-01-30 22:00:18 +01:00
<td></td>
2013-06-17 20:33:24 +02:00
<td class="paramtype">uint8_t&#160;</td>
<td class="paramname"><em>ctl</em>&#160;</td>
2013-01-30 22:00:18 +01:00
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
2013-01-30 22:00:18 +01:00
</tr>
</table>
</div><div class="memdoc">
2013-06-17 20:33:24 +02:00
<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>
2013-01-30 22:00:18 +01:00
<p class="definition">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>
2013-04-01 22:52:24 +02:00
</div>
</div>
<a id="a470a8f0ffd6694d9dfc834da5efa627a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a470a8f0ffd6694d9dfc834da5efa627a">&#9670;&nbsp;</a></span>Read() <span class="overload">[1/2]</span></h2>
2013-04-01 22:52:24 +02:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
2013-06-17 20:33:24 +02:00
<td class="memname">uint8_t BulkOnly::Read </td>
2013-04-01 22:52:24 +02:00
<td>(</td>
<td class="paramtype">uint8_t&#160;</td>
<td class="paramname"><em>lun</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
2013-06-17 20:33:24 +02:00
<td class="paramtype">uint32_t&#160;</td>
<td class="paramname"><em>addr</em>, </td>
2013-04-01 22:52:24 +02:00
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
2013-06-17 20:33:24 +02:00
<td class="paramtype">uint16_t&#160;</td>
<td class="paramname"><em>bsize</em>, </td>
2013-04-01 22:52:24 +02:00
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">uint8_t&#160;</td>
2013-06-17 20:33:24 +02:00
<td class="paramname"><em>blocks</em>, </td>
2013-04-01 22:52:24 +02:00
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">uint8_t *&#160;</td>
<td class="paramname"><em>buf</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
2013-06-17 20:33:24 +02:00
<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>
2013-04-01 22:52:24 +02:00
<p class="definition">Definition at line <a class="el" href="masstorage_8cpp_source.html#l00161">161</a> of file <a class="el" href="masstorage_8cpp_source.html">masstorage.cpp</a>.</p>
2013-02-05 20:02:12 +01:00
2013-01-30 22:00:18 +01:00
</div>
</div>
<a id="a52f54376dcd7f5baf17718105e8f085d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a52f54376dcd7f5baf17718105e8f085d">&#9670;&nbsp;</a></span>Read() <span class="overload">[2/2]</span></h2>
2013-04-01 22:52:24 +02:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
2013-06-17 20:33:24 +02:00
<td class="memname">uint8_t BulkOnly::Read </td>
2013-04-01 22:52:24 +02:00
<td>(</td>
<td class="paramtype">uint8_t&#160;</td>
<td class="paramname"><em>lun</em>, </td>
</tr>
2013-06-17 20:33:24 +02:00
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">uint32_t&#160;</td>
<td class="paramname"><em>addr</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">uint16_t&#160;</td>
<td class="paramname"><em>bsize</em>, </td>
</tr>
2013-04-01 22:52:24 +02:00
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">uint8_t&#160;</td>
2013-06-17 20:33:24 +02:00
<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> *&#160;</td>
<td class="paramname"><em>prs</em>&#160;</td>
2013-04-01 22:52:24 +02:00
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="masstorage_8cpp_source.html#l01247">1247</a> of file <a class="el" href="masstorage_8cpp_source.html">masstorage.cpp</a>.</p>
2013-04-01 22:52:24 +02:00
</div>
</div>
<a id="a45d327ddf87e01607c3a5b1849936053"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a45d327ddf87e01607c3a5b1849936053">&#9670;&nbsp;</a></span>Write()</h2>
2013-04-01 22:52:24 +02:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
2013-06-17 20:33:24 +02:00
<td class="memname">uint8_t BulkOnly::Write </td>
2013-04-01 22:52:24 +02:00
<td>(</td>
<td class="paramtype">uint8_t&#160;</td>
<td class="paramname"><em>lun</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">uint32_t&#160;</td>
<td class="paramname"><em>addr</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">uint16_t&#160;</td>
<td class="paramname"><em>bsize</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">uint8_t&#160;</td>
<td class="paramname"><em>blocks</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
2013-06-17 20:33:24 +02:00
<td class="paramtype">const uint8_t *&#160;</td>
2013-04-01 22:52:24 +02:00
<td class="paramname"><em>buf</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
2013-06-17 20:33:24 +02:00
<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>
2013-04-01 22:52:24 +02:00
<p class="definition">Definition at line <a class="el" href="masstorage_8cpp_source.html#l00195">195</a> of file <a class="el" href="masstorage_8cpp_source.html">masstorage.cpp</a>.</p>
2013-04-01 22:52:24 +02:00
</div>
</div>
<a id="ae7561d686d0b1374b5f9937d6ec8a035"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae7561d686d0b1374b5f9937d6ec8a035">&#9670;&nbsp;</a></span>LockMedia()</h2>
2013-01-30 22:00:18 +01:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
2013-06-17 20:33:24 +02:00
<td class="memname">uint8_t BulkOnly::LockMedia </td>
2013-01-30 22:00:18 +01:00
<td>(</td>
<td class="paramtype">uint8_t&#160;</td>
<td class="paramname"><em>lun</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
2013-06-17 20:33:24 +02:00
<td class="paramtype">uint8_t&#160;</td>
<td class="paramname"><em>lock</em>&#160;</td>
2013-01-30 22:00:18 +01:00
</tr>
<tr>
<td></td>
2013-06-17 20:33:24 +02:00
<td>)</td>
<td></td><td></td>
2013-01-30 22:00:18 +01:00
</tr>
2013-06-17 20:33:24 +02:00
</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 class="definition">Definition at line <a class="el" href="masstorage_8cpp_source.html#l00121">121</a> of file <a class="el" href="masstorage_8cpp_source.html">masstorage.cpp</a>.</p>
2013-06-17 20:33:24 +02:00
</div>
</div>
<a id="aa6d74267dc98daeb0552fa234739ab08"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa6d74267dc98daeb0552fa234739ab08">&#9670;&nbsp;</a></span>LUNIsGood()</h2>
2013-06-17 20:33:24 +02:00
<div class="memitem">
<div class="memproto">
<table class="memname">
2013-04-01 22:52:24 +02:00
<tr>
2013-06-17 20:33:24 +02:00
<td class="memname">bool BulkOnly::LUNIsGood </td>
<td>(</td>
2013-04-01 22:52:24 +02:00
<td class="paramtype">uint8_t&#160;</td>
2013-10-21 21:15:43 +02:00
<td class="paramname"><em>lun</em></td><td>)</td>
2013-01-30 22:00:18 +01:00
<td></td>
</tr>
2013-06-17 20:33:24 +02:00
</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 class="definition">Definition at line <a class="el" href="masstorage_8cpp_source.html#l00067">67</a> of file <a class="el" href="masstorage_8cpp_source.html">masstorage.cpp</a>.</p>
2013-06-17 20:33:24 +02:00
</div>
</div>
<a id="a597193e88b168e96878d383619f1377d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a597193e88b168e96878d383619f1377d">&#9670;&nbsp;</a></span>GetCapacity()</h2>
2013-06-17 20:33:24 +02:00
<div class="memitem">
<div class="memproto">
<table class="memname">
2013-01-30 22:00:18 +01:00
<tr>
2013-06-17 20:33:24 +02:00
<td class="memname">uint32_t BulkOnly::GetCapacity </td>
<td>(</td>
<td class="paramtype">uint8_t&#160;</td>
2013-10-21 21:15:43 +02:00
<td class="paramname"><em>lun</em></td><td>)</td>
2013-01-30 22:00:18 +01:00
<td></td>
</tr>
</table>
</div><div class="memdoc">
2013-06-17 20:33:24 +02:00
<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>
2013-01-30 22:00:18 +01:00
<p class="definition">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>
2013-04-01 22:52:24 +02:00
</div>
</div>
<a id="ac97cfb7558681af4cfaa11fcccc00170"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac97cfb7558681af4cfaa11fcccc00170">&#9670;&nbsp;</a></span>GetSectorSize()</h2>
2013-04-01 22:52:24 +02:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
2013-06-17 20:33:24 +02:00
<td class="memname">uint16_t BulkOnly::GetSectorSize </td>
2013-04-01 22:52:24 +02:00
<td>(</td>
<td class="paramtype">uint8_t&#160;</td>
2013-10-21 21:15:43 +02:00
<td class="paramname"><em>lun</em></td><td>)</td>
2013-04-01 22:52:24 +02:00
<td></td>
</tr>
2013-06-17 20:33:24 +02:00
</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 class="definition">Definition at line <a class="el" href="masstorage_8cpp_source.html#l00055">55</a> of file <a class="el" href="masstorage_8cpp_source.html">masstorage.cpp</a>.</p>
2013-06-17 20:33:24 +02:00
</div>
</div>
<a id="a51870da9badc037166b86da60bcda6ea"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a51870da9badc037166b86da60bcda6ea">&#9670;&nbsp;</a></span>Init()</h2>
2013-06-17 20:33:24 +02:00
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
2013-04-01 22:52:24 +02:00
<tr>
2013-06-17 20:33:24 +02:00
<td class="memname">uint8_t BulkOnly::Init </td>
<td>(</td>
<td class="paramtype">uint8_t&#160;</td>
<td class="paramname"><em>parent</em>, </td>
2013-04-01 22:52:24 +02:00
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">uint8_t&#160;</td>
2013-06-17 20:33:24 +02:00
<td class="paramname"><em>port</em>, </td>
2013-04-01 22:52:24 +02:00
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
2013-06-17 20:33:24 +02:00
<td class="paramtype">bool&#160;</td>
<td class="paramname"><em>lowspeed</em>&#160;</td>
2013-04-01 22:52:24 +02:00
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
2013-06-17 20:33:24 +02:00
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
2013-04-01 22:52:24 +02:00
</div><div class="memdoc">
2013-06-17 20:33:24 +02:00
<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>
2013-06-27 20:03:16 +02:00
<p>Reimplemented from <a class="el" href="class_u_s_b_device_config.html#a3706cf6b18785aff823171e280bab738">USBDeviceConfig</a>.</p>
2013-04-01 22:52:24 +02:00
<p class="definition">Definition at line <a class="el" href="masstorage_8cpp_source.html#l00333">333</a> of file <a class="el" href="masstorage_8cpp_source.html">masstorage.cpp</a>.</p>
2013-02-05 20:02:12 +01:00
2013-01-30 22:00:18 +01:00
</div>
</div>
<a id="aa8fe167a7af12dce9964fa5a430c53ea"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa8fe167a7af12dce9964fa5a430c53ea">&#9670;&nbsp;</a></span>ConfigureDevice()</h2>
2013-01-30 22:00:18 +01:00
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
2013-01-30 22:00:18 +01:00
<table class="memname">
<tr>
2013-06-17 20:33:24 +02:00
<td class="memname">uint8_t BulkOnly::ConfigureDevice </td>
2013-01-30 22:00:18 +01:00
<td>(</td>
<td class="paramtype">uint8_t&#160;</td>
<td class="paramname"><em>parent</em>, </td>
2013-01-30 22:00:18 +01:00
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">uint8_t&#160;</td>
<td class="paramname"><em>port</em>, </td>
2013-01-30 22:00:18 +01:00
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool&#160;</td>
<td class="paramname"><em>lowspeed</em>&#160;</td>
2013-01-30 22:00:18 +01:00
</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>
2013-01-30 22:00:18 +01:00
</div><div class="memdoc">
2013-06-17 20:33:24 +02:00
<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>
2013-01-30 22:00:18 +01:00
2013-06-17 20:33:24 +02:00
<p>Reimplemented from <a class="el" href="class_u_s_b_device_config.html#aef77a1e62f78c04a1aad53e8795ec89e">USBDeviceConfig</a>.</p>
<p class="definition">Definition at line <a class="el" href="masstorage_8cpp_source.html#l00258">258</a> of file <a class="el" href="masstorage_8cpp_source.html">masstorage.cpp</a>.</p>
2013-02-05 20:02:12 +01:00
2013-01-30 22:00:18 +01:00
</div>
</div>
<a id="a8a9b213d1800db2d8e661d242b57b195"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8a9b213d1800db2d8e661d242b57b195">&#9670;&nbsp;</a></span>Release()</h2>
2013-01-30 22:00:18 +01:00
<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>
2013-10-21 21:15:43 +02:00
<td class="paramname"></td><td>)</td>
2013-01-30 22:00:18 +01:00
<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">
2013-06-17 20:33:24 +02:00
<p>For driver use only.</p>
<dl class="section return"><dt>Returns</dt><dd></dd></dl>
2013-01-30 22:00:18 +01:00
2013-06-27 20:03:16 +02:00
<p>Reimplemented from <a class="el" href="class_u_s_b_device_config.html#a61e301efedae55c6ac12c6cce154e432">USBDeviceConfig</a>.</p>
2013-01-30 22:00:18 +01:00
<p class="definition">Definition at line <a class="el" href="masstorage_8cpp_source.html#l00598">598</a> of file <a class="el" href="masstorage_8cpp_source.html">masstorage.cpp</a>.</p>
2013-02-05 20:02:12 +01:00
2013-01-30 22:00:18 +01:00
</div>
</div>
<a id="a51b8a76f5e16697476ce2dcff2514bc6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a51b8a76f5e16697476ce2dcff2514bc6">&#9670;&nbsp;</a></span>Poll()</h2>
2013-01-30 22:00:18 +01:00
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
2013-01-30 22:00:18 +01:00
<table class="memname">
<tr>
<td class="memname">uint8_t BulkOnly::Poll </td>
2013-01-30 22:00:18 +01:00
<td>(</td>
2013-10-21 21:15:43 +02:00
<td class="paramname"></td><td>)</td>
2013-01-30 22:00:18 +01:00
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
2013-01-30 22:00:18 +01:00
</div><div class="memdoc">
2013-06-17 20:33:24 +02:00
<p>For driver use only.</p>
<dl class="section return"><dt>Returns</dt><dd></dd></dl>
2013-01-30 22:00:18 +01:00
2013-06-27 20:03:16 +02:00
<p>Reimplemented from <a class="el" href="class_u_s_b_device_config.html#a893ea73deab98be837c257201e7da25a">USBDeviceConfig</a>.</p>
<p class="definition">Definition at line <a class="el" href="masstorage_8cpp_source.html#l00676">676</a> of file <a class="el" href="masstorage_8cpp_source.html">masstorage.cpp</a>.</p>
2013-02-05 20:02:12 +01:00
2013-01-30 22:00:18 +01:00
</div>
</div>
<a id="a376cb3367071555816e2b0c74ad7eb12"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a376cb3367071555816e2b0c74ad7eb12">&#9670;&nbsp;</a></span>GetAddress()</h2>
2013-01-30 22:00:18 +01:00
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
2013-01-30 22:00:18 +01:00
<table class="memname">
<tr>
<td class="memname">virtual uint8_t BulkOnly::GetAddress </td>
2013-01-30 22:00:18 +01:00
<td>(</td>
2013-10-21 21:15:43 +02:00
<td class="paramname"></td><td>)</td>
2013-01-30 22:00:18 +01:00
<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>
2013-01-30 22:00:18 +01:00
</div><div class="memdoc">
2013-06-27 20:03:16 +02:00
<p>Reimplemented from <a class="el" href="class_u_s_b_device_config.html#a2bfde6c290d32888a6f4e97fa1e222f1">USBDeviceConfig</a>.</p>
2013-01-30 22:00:18 +01:00
<p class="definition">Definition at line <a class="el" href="masstorage_8h_source.html#l00535">535</a> of file <a class="el" href="masstorage_8h_source.html">masstorage.h</a>.</p>
2013-02-05 20:02:12 +01:00
2013-01-30 22:00:18 +01:00
</div>
</div>
<a id="a13d33906543d5d6b44620f430dc729ff"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a13d33906543d5d6b44620f430dc729ff">&#9670;&nbsp;</a></span>EndpointXtract()</h2>
2013-01-30 22:00:18 +01:00
<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>
2013-01-30 22:00:18 +01:00
<td>(</td>
<td class="paramtype">uint8_t&#160;</td>
<td class="paramname"><em>conf</em>, </td>
2013-01-30 22:00:18 +01:00
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">uint8_t&#160;</td>
<td class="paramname"><em>iface</em>, </td>
2013-01-30 22:00:18 +01:00
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">uint8_t&#160;</td>
<td class="paramname"><em>alt</em>, </td>
2013-01-30 22:00:18 +01:00
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">uint8_t&#160;</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> *&#160;</td>
2013-06-17 20:33:24 +02:00
<td class="paramname"><em>pep</em>&#160;</td>
2013-01-30 22:00:18 +01:00
</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>
2013-01-30 22:00:18 +01:00
</tr>
</table>
</div><div class="memdoc">
2013-06-17 20:33:24 +02:00
<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>
2013-01-30 22:00:18 +01:00
2015-04-07 16:07:33 +02:00
<p>Reimplemented from <a class="el" href="class_usb_config_xtracter.html#a7717ea27bb756568e0deb544d8331370">UsbConfigXtracter</a>.</p>
<p class="definition">Definition at line <a class="el" href="masstorage_8cpp_source.html#l00550">550</a> of file <a class="el" href="masstorage_8cpp_source.html">masstorage.cpp</a>.</p>
2013-06-27 20:03:16 +02:00
</div>
</div>
<a id="a878110a3df287aae4f95807865d18819"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a878110a3df287aae4f95807865d18819">&#9670;&nbsp;</a></span>DEVCLASSOK()</h2>
2013-06-27 20:03:16 +02:00
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
2015-04-07 16:07:33 +02:00
<td class="memname">virtual bool BulkOnly::DEVCLASSOK </td>
2013-06-27 20:03:16 +02:00
<td>(</td>
<td class="paramtype">uint8_t&#160;</td>
2013-10-21 21:15:43 +02:00
<td class="paramname"><em>klass</em></td><td>)</td>
2013-06-27 20:03:16 +02:00
<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">
2015-04-07 16:07:33 +02:00
<p>Reimplemented from <a class="el" href="class_u_s_b_device_config.html#a2bb3e09cf128c8ecd04ea0dfce2126e1">USBDeviceConfig</a>.</p>
2013-06-27 20:03:16 +02:00
<p class="definition">Definition at line <a class="el" href="masstorage_8h_source.html#l00542">542</a> of file <a class="el" href="masstorage_8h_source.html">masstorage.h</a>.</p>
2013-10-21 21:15:43 +02:00
</div>
</div>
<a id="abec80bf6c8306115de66c0f87389bbd3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abec80bf6c8306115de66c0f87389bbd3">&#9670;&nbsp;</a></span>SCSITransaction6()</h2>
2013-10-21 21:15:43 +02:00
<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> *&#160;</td>
<td class="paramname"><em>cdb</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">uint16_t&#160;</td>
<td class="paramname"><em>buf_size</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">void *&#160;</td>
<td class="paramname"><em>buf</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">uint8_t&#160;</td>
<td class="paramname"><em>dir</em>&#160;</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 class="definition">Definition at line <a class="el" href="masstorage_8cpp_source.html#l00090">90</a> of file <a class="el" href="masstorage_8cpp_source.html">masstorage.cpp</a>.</p>
2013-10-21 21:15:43 +02:00
</div>
</div>
<a id="af07ab48c6b9e6bdb4f0d050adbae518d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af07ab48c6b9e6bdb4f0d050adbae518d">&#9670;&nbsp;</a></span>SCSITransaction10()</h2>
2013-10-21 21:15:43 +02:00
<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> *&#160;</td>
<td class="paramname"><em>cdb</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">uint16_t&#160;</td>
<td class="paramname"><em>buf_size</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">void *&#160;</td>
<td class="paramname"><em>buf</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">uint8_t&#160;</td>
<td class="paramname"><em>dir</em>&#160;</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 class="definition">Definition at line <a class="el" href="masstorage_8cpp_source.html#l00106">106</a> of file <a class="el" href="masstorage_8cpp_source.html">masstorage.cpp</a>.</p>
2013-02-05 20:02:12 +01:00
2013-01-30 22:00:18 +01:00
</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a id="a9e487226408578a2971570bcf7de62fe"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9e487226408578a2971570bcf7de62fe">&#9670;&nbsp;</a></span>epDataInIndex</h2>
2013-01-30 22:00:18 +01:00
<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>
2013-01-30 22:00:18 +01:00
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span><span class="mlabel">protected</span></span> </td>
2013-01-30 22:00:18 +01:00
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="masstorage_8h_source.html#l00471">471</a> of file <a class="el" href="masstorage_8h_source.html">masstorage.h</a>.</p>
2013-02-05 20:02:12 +01:00
2013-01-30 22:00:18 +01:00
</div>
</div>
<a id="a8d527bdc285870f3571481a4fd982721"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8d527bdc285870f3571481a4fd982721">&#9670;&nbsp;</a></span>epDataOutIndex</h2>
2013-01-30 22:00:18 +01:00
<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>
2013-01-30 22:00:18 +01:00
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span><span class="mlabel">protected</span></span> </td>
2013-01-30 22:00:18 +01:00
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="masstorage_8h_source.html#l00472">472</a> of file <a class="el" href="masstorage_8h_source.html">masstorage.h</a>.</p>
2013-02-05 20:02:12 +01:00
2013-01-30 22:00:18 +01:00
</div>
</div>
<a id="a03cd96b415990821bdce43b4004c85e4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a03cd96b415990821bdce43b4004c85e4">&#9670;&nbsp;</a></span>epInterruptInIndex</h2>
2013-01-30 22:00:18 +01:00
<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>
2013-01-30 22:00:18 +01:00
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span><span class="mlabel">protected</span></span> </td>
2013-01-30 22:00:18 +01:00
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="masstorage_8h_source.html#l00473">473</a> of file <a class="el" href="masstorage_8h_source.html">masstorage.h</a>.</p>
2013-02-05 20:02:12 +01:00
2013-01-30 22:00:18 +01:00
</div>
</div>
<a id="a6b4ae384eea3aacd8bf916439621973a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6b4ae384eea3aacd8bf916439621973a">&#9670;&nbsp;</a></span>pUsb</h2>
2013-01-30 22:00:18 +01:00
<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>
2013-01-30 22:00:18 +01:00
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">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>
2013-02-05 20:02:12 +01:00
2013-01-30 22:00:18 +01:00
</div>
</div>
<a id="a9968a2119df66fa0093b020e318d8ac6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9968a2119df66fa0093b020e318d8ac6">&#9670;&nbsp;</a></span>bAddress</h2>
2013-01-30 22:00:18 +01:00
<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>
2013-01-30 22:00:18 +01:00
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="masstorage_8h_source.html#l00476">476</a> of file <a class="el" href="masstorage_8h_source.html">masstorage.h</a>.</p>
2013-02-05 20:02:12 +01:00
2013-01-30 22:00:18 +01:00
</div>
</div>
<a id="ab54f472ec9cd39abdb9f90867943d162"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab54f472ec9cd39abdb9f90867943d162">&#9670;&nbsp;</a></span>bConfNum</h2>
2013-01-30 22:00:18 +01:00
<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>
2013-01-30 22:00:18 +01:00
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="masstorage_8h_source.html#l00477">477</a> of file <a class="el" href="masstorage_8h_source.html">masstorage.h</a>.</p>
2013-02-05 20:02:12 +01:00
2013-01-30 22:00:18 +01:00
</div>
</div>
<a id="ac18ad598cd9a1ee99f49d51a572a50a4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac18ad598cd9a1ee99f49d51a572a50a4">&#9670;&nbsp;</a></span>bIface</h2>
2013-01-30 22:00:18 +01:00
<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>
2013-01-30 22:00:18 +01:00
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="masstorage_8h_source.html#l00478">478</a> of file <a class="el" href="masstorage_8h_source.html">masstorage.h</a>.</p>
2013-02-05 20:02:12 +01:00
2013-01-30 22:00:18 +01:00
</div>
</div>
<a id="a6cb56ebd0307845321340919e2b35952"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6cb56ebd0307845321340919e2b35952">&#9670;&nbsp;</a></span>bNumEP</h2>
2013-01-30 22:00:18 +01:00
<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>
2013-01-30 22:00:18 +01:00
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="masstorage_8h_source.html#l00479">479</a> of file <a class="el" href="masstorage_8h_source.html">masstorage.h</a>.</p>
2013-02-05 20:02:12 +01:00
2013-01-30 22:00:18 +01:00
</div>
</div>
<a id="a2d422ee0745cd7c04afff905278c4233"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2d422ee0745cd7c04afff905278c4233">&#9670;&nbsp;</a></span>qNextPollTime</h2>
2013-01-30 22:00:18 +01:00
<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>
2013-01-30 22:00:18 +01:00
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="masstorage_8h_source.html#l00480">480</a> of file <a class="el" href="masstorage_8h_source.html">masstorage.h</a>.</p>
2013-02-05 20:02:12 +01:00
2013-01-30 22:00:18 +01:00
</div>
</div>
<a id="a21961ad1130480f534ef3e91f24c56a0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a21961ad1130480f534ef3e91f24c56a0">&#9670;&nbsp;</a></span>bPollEnable</h2>
2013-01-30 22:00:18 +01:00
<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>
2013-01-30 22:00:18 +01:00
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span> </td>
2013-01-30 22:00:18 +01:00
</tr>
</table>
</div><div class="memdoc">
<p class="definition">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>
2013-02-05 20:02:12 +01:00
2013-01-30 22:00:18 +01:00
</div>
</div>
<a id="aee2247fd0a251e4da36e8c09bbe6917f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aee2247fd0a251e4da36e8c09bbe6917f">&#9670;&nbsp;</a></span>epInfo</h2>
2013-01-30 22:00:18 +01:00
<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>
2013-01-30 22:00:18 +01:00
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span> </td>
2013-01-30 22:00:18 +01:00
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="masstorage_8h_source.html#l00483">483</a> of file <a class="el" href="masstorage_8h_source.html">masstorage.h</a>.</p>
2013-02-05 20:02:12 +01:00
2013-01-30 22:00:18 +01:00
</div>
</div>
<a id="a7ae682d50badd1386a06f30f35a32d1d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7ae682d50badd1386a06f30f35a32d1d">&#9670;&nbsp;</a></span>dCBWTag</h2>
2013-01-30 22:00:18 +01:00
<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>
2013-01-30 22:00:18 +01:00
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">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>
2013-04-01 22:52:24 +02:00
</div>
</div>
<a id="a20ff3cc4bb15c557f57a8c6200b412d1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a20ff3cc4bb15c557f57a8c6200b412d1">&#9670;&nbsp;</a></span>bLastUsbError</h2>
2013-04-01 22:52:24 +02:00
<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 class="definition">Definition at line <a class="el" href="masstorage_8h_source.html#l00487">487</a> of file <a class="el" href="masstorage_8h_source.html">masstorage.h</a>.</p>
2013-02-05 20:02:12 +01:00
2013-01-30 22:00:18 +01:00
</div>
</div>
<a id="a6bbdd41bf6efc4060f3c36da7d6ed8b2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6bbdd41bf6efc4060f3c36da7d6ed8b2">&#9670;&nbsp;</a></span>bMaxLUN</h2>
2013-01-30 22:00:18 +01:00
<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>
2013-01-30 22:00:18 +01:00
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="masstorage_8h_source.html#l00488">488</a> of file <a class="el" href="masstorage_8h_source.html">masstorage.h</a>.</p>
2013-02-05 20:02:12 +01:00
2013-01-30 22:00:18 +01:00
</div>
</div>
<a id="a24c051d401f5f1a9ce65c1bc25ab02dd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a24c051d401f5f1a9ce65c1bc25ab02dd">&#9670;&nbsp;</a></span>bTheLUN</h2>
2013-01-30 22:00:18 +01:00
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
2013-04-01 22:52:24 +02:00
<td class="memname">uint8_t BulkOnly::bTheLUN</td>
2013-01-30 22:00:18 +01:00
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">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>
2013-06-17 20:33:24 +02:00
</div>
</div>
<a id="a73c3f6b8f6f79ad60e5ba05e560b277d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a73c3f6b8f6f79ad60e5ba05e560b277d">&#9670;&nbsp;</a></span>CurrentCapacity</h2>
2013-06-17 20:33:24 +02:00
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
2013-10-21 21:15:43 +02:00
<td class="memname">uint32_t BulkOnly::CurrentCapacity[<a class="el" href="settings_8h.html#a68a8c3241954d2159ff8df696dd5cff6">MASS_MAX_SUPPORTED_LUN</a>]</td>
2013-06-17 20:33:24 +02:00
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="masstorage_8h_source.html#l00490">490</a> of file <a class="el" href="masstorage_8h_source.html">masstorage.h</a>.</p>
2013-06-17 20:33:24 +02:00
</div>
</div>
<a id="aa4e2711c6279d48c63e82a63ad458421"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa4e2711c6279d48c63e82a63ad458421">&#9670;&nbsp;</a></span>CurrentSectorSize</h2>
2013-06-17 20:33:24 +02:00
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
2013-10-21 21:15:43 +02:00
<td class="memname">uint16_t BulkOnly::CurrentSectorSize[<a class="el" href="settings_8h.html#a68a8c3241954d2159ff8df696dd5cff6">MASS_MAX_SUPPORTED_LUN</a>]</td>
2013-06-17 20:33:24 +02:00
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="masstorage_8h_source.html#l00491">491</a> of file <a class="el" href="masstorage_8h_source.html">masstorage.h</a>.</p>
2013-06-17 20:33:24 +02:00
</div>
</div>
<a id="a9f9d9b0925a2cb6b2fb8b10e4d581d28"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9f9d9b0925a2cb6b2fb8b10e4d581d28">&#9670;&nbsp;</a></span>LUNOk</h2>
2013-06-17 20:33:24 +02:00
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
2013-10-21 21:15:43 +02:00
<td class="memname">bool BulkOnly::LUNOk[<a class="el" href="settings_8h.html#a68a8c3241954d2159ff8df696dd5cff6">MASS_MAX_SUPPORTED_LUN</a>]</td>
2013-06-17 20:33:24 +02:00
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="masstorage_8h_source.html#l00492">492</a> of file <a class="el" href="masstorage_8h_source.html">masstorage.h</a>.</p>
2013-06-17 20:33:24 +02:00
</div>
</div>
<a id="af763ffffdd131949322d583fb4cd2737"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af763ffffdd131949322d583fb4cd2737">&#9670;&nbsp;</a></span>WriteOk</h2>
2013-06-17 20:33:24 +02:00
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
2013-10-21 21:15:43 +02:00
<td class="memname">bool BulkOnly::WriteOk[<a class="el" href="settings_8h.html#a68a8c3241954d2159ff8df696dd5cff6">MASS_MAX_SUPPORTED_LUN</a>]</td>
2013-06-17 20:33:24 +02:00
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="masstorage_8h_source.html#l00493">493</a> of file <a class="el" href="masstorage_8h_source.html">masstorage.h</a>.</p>
2013-02-05 20:02:12 +01:00
2013-01-30 22:00:18 +01:00
</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>
2013-01-30 22:00:18 +01:00
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
2013-01-30 22:00:18 +01:00
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.13
2013-01-30 22:00:18 +01:00
</small></address>
</body>
</html>