USB_Host_Shield_2.0/masstorage_8h_source.html
Kristian Sloth Lauszus 4f510c5316 Updated documentation
2015-04-07 16:07:33 +02:00

885 lines
201 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.9.1"/>
<title>USB Host Shield 2.0: masstorage.h Source File</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/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
$(document).ready(function() { init_search(); });
</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.9.1 -->
<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&#160;Page</span></a></li>
<li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
<li><a href="annotated.html"><span>Classes</span></a></li>
<li class="current"><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="files.html"><span>File&#160;List</span></a></li>
<li><a href="globals.html"><span>File&#160;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)">
</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 id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="dir_e5fbe6d2783ccd4c93c7856d92d7be6e.html">GitHub</a></li><li class="navelem"><a class="el" href="dir_397a095372f04465e811d0ee219bbf8f.html">USB_Host_Shield_2.0</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="headertitle">
<div class="title">masstorage.h</div> </div>
</div><!--header-->
<div class="contents">
<a href="masstorage_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span>&#160;<span class="comment">/* Copyright (C) 2011 Circuits At Home, LTD. All rights reserved.</span></div>
<div class="line"><a name="l00002"></a><span class="lineno"> 2</span>&#160;<span class="comment"></span></div>
<div class="line"><a name="l00003"></a><span class="lineno"> 3</span>&#160;<span class="comment">This software may be distributed and modified under the terms of the GNU</span></div>
<div class="line"><a name="l00004"></a><span class="lineno"> 4</span>&#160;<span class="comment">General Public License version 2 (GPL2) as published by the Free Software</span></div>
<div class="line"><a name="l00005"></a><span class="lineno"> 5</span>&#160;<span class="comment">Foundation and appearing in the file GPL2.TXT included in the packaging of</span></div>
<div class="line"><a name="l00006"></a><span class="lineno"> 6</span>&#160;<span class="comment">this file. Please note that GPL2 Section 2[b] requires that all works based</span></div>
<div class="line"><a name="l00007"></a><span class="lineno"> 7</span>&#160;<span class="comment">on this software must also be made publicly available under the terms of</span></div>
<div class="line"><a name="l00008"></a><span class="lineno"> 8</span>&#160;<span class="comment">the GPL2 (&quot;Copyleft&quot;).</span></div>
<div class="line"><a name="l00009"></a><span class="lineno"> 9</span>&#160;<span class="comment"></span></div>
<div class="line"><a name="l00010"></a><span class="lineno"> 10</span>&#160;<span class="comment">Contact information</span></div>
<div class="line"><a name="l00011"></a><span class="lineno"> 11</span>&#160;<span class="comment">-------------------</span></div>
<div class="line"><a name="l00012"></a><span class="lineno"> 12</span>&#160;<span class="comment"></span></div>
<div class="line"><a name="l00013"></a><span class="lineno"> 13</span>&#160;<span class="comment">Circuits At Home, LTD</span></div>
<div class="line"><a name="l00014"></a><span class="lineno"> 14</span>&#160;<span class="comment">Web : http://www.circuitsathome.com</span></div>
<div class="line"><a name="l00015"></a><span class="lineno"> 15</span>&#160;<span class="comment">e-mail : support@circuitsathome.com</span></div>
<div class="line"><a name="l00016"></a><span class="lineno"> 16</span>&#160;<span class="comment"> */</span></div>
<div class="line"><a name="l00017"></a><span class="lineno"> 17</span>&#160;</div>
<div class="line"><a name="l00018"></a><span class="lineno"> 18</span>&#160;<span class="preprocessor">#if !defined(__MASSTORAGE_H__)</span></div>
<div class="line"><a name="l00019"></a><span class="lineno"> 19</span>&#160;<span class="preprocessor">#define __MASSTORAGE_H__</span></div>
<div class="line"><a name="l00020"></a><span class="lineno"> 20</span>&#160;</div>
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span>&#160;<span class="comment">// Cruft removal, makes driver smaller, faster.</span></div>
<div class="line"><a name="l00022"></a><span class="lineno"> 22</span>&#160;<span class="preprocessor">#ifndef MS_WANT_PARSER</span></div>
<div class="line"><a name="l00023"></a><span class="lineno"><a class="line" href="masstorage_8h.html#a5038292165e25bd0f87793941a280494"> 23</a></span>&#160;<span class="preprocessor">#define MS_WANT_PARSER 0</span></div>
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span>&#160;</div>
<div class="line"><a name="l00026"></a><span class="lineno"> 26</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="_usb_8h.html">Usb.h</a>&quot;</span></div>
<div class="line"><a name="l00027"></a><span class="lineno"> 27</span>&#160;</div>
<div class="line"><a name="l00028"></a><span class="lineno"><a class="line" href="masstorage_8h.html#a86a509a216410b0e356f0fa91c48cdc0"> 28</a></span>&#160;<span class="preprocessor">#define bmREQ_MASSOUT USB_SETUP_HOST_TO_DEVICE|USB_SETUP_TYPE_CLASS|USB_SETUP_RECIPIENT_INTERFACE</span></div>
<div class="line"><a name="l00029"></a><span class="lineno"><a class="line" href="masstorage_8h.html#affadc780007914e4b4de088b4df8ddf6"> 29</a></span>&#160;<span class="preprocessor">#define bmREQ_MASSIN USB_SETUP_DEVICE_TO_HOST|USB_SETUP_TYPE_CLASS|USB_SETUP_RECIPIENT_INTERFACE</span></div>
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span>&#160;</div>
<div class="line"><a name="l00031"></a><span class="lineno"> 31</span>&#160;<span class="comment">// Mass Storage Subclass Constants</span></div>
<div class="line"><a name="l00032"></a><span class="lineno"><a class="line" href="masstorage_8h.html#a9564704f249ab75db55a303f331fbedc"> 32</a></span>&#160;<span class="preprocessor">#define MASS_SUBCLASS_SCSI_NOT_REPORTED 0x00 // De facto use</span></div>
<div class="line"><a name="l00033"></a><span class="lineno"><a class="line" href="masstorage_8h.html#a0abf867686c58deb8a409bf82941e125"> 33</a></span>&#160;<span class="preprocessor">#define MASS_SUBCLASS_RBC 0x01</span></div>
<div class="line"><a name="l00034"></a><span class="lineno"><a class="line" href="masstorage_8h.html#a370a8e5d533df93f23e122dea2468ecb"> 34</a></span>&#160;<span class="preprocessor">#define MASS_SUBCLASS_ATAPI 0x02 // MMC-5 (ATAPI)</span></div>
<div class="line"><a name="l00035"></a><span class="lineno"><a class="line" href="masstorage_8h.html#a5b4847f36fec399d12580113ab50e293"> 35</a></span>&#160;<span class="preprocessor">#define MASS_SUBCLASS_OBSOLETE1 0x03 // Was QIC-157</span></div>
<div class="line"><a name="l00036"></a><span class="lineno"><a class="line" href="masstorage_8h.html#acbb017bda59fefb8bd39f9ea6f11b8ac"> 36</a></span>&#160;<span class="preprocessor">#define MASS_SUBCLASS_UFI 0x04 // Specifies how to interface Floppy Disk Drives to USB</span></div>
<div class="line"><a name="l00037"></a><span class="lineno"><a class="line" href="masstorage_8h.html#a54a77ed01b69a7b2d8acbf70ba3ff018"> 37</a></span>&#160;<span class="preprocessor">#define MASS_SUBCLASS_OBSOLETE2 0x05 // Was SFF-8070i</span></div>
<div class="line"><a name="l00038"></a><span class="lineno"><a class="line" href="masstorage_8h.html#aaf635eb9151eb63855fe227584bb00eb"> 38</a></span>&#160;<span class="preprocessor">#define MASS_SUBCLASS_SCSI 0x06 // SCSI Transparent Command Set</span></div>
<div class="line"><a name="l00039"></a><span class="lineno"><a class="line" href="masstorage_8h.html#a9dba9091cf98b47104ccb400482a46ab"> 39</a></span>&#160;<span class="preprocessor">#define MASS_SUBCLASS_LSDFS 0x07 // Specifies how host has to negotiate access before trying SCSI</span></div>
<div class="line"><a name="l00040"></a><span class="lineno"><a class="line" href="masstorage_8h.html#aeac7060fd6a1fba50872ffb0c9dcba32"> 40</a></span>&#160;<span class="preprocessor">#define MASS_SUBCLASS_IEEE1667 0x08</span></div>
<div class="line"><a name="l00041"></a><span class="lineno"> 41</span>&#160;</div>
<div class="line"><a name="l00042"></a><span class="lineno"> 42</span>&#160;<span class="comment">// Mass Storage Class Protocols</span></div>
<div class="line"><a name="l00043"></a><span class="lineno"><a class="line" href="masstorage_8h.html#a64c21e402034e68542f25358c7978a67"> 43</a></span>&#160;<span class="preprocessor">#define MASS_PROTO_CBI 0x00 // CBI (with command completion interrupt)</span></div>
<div class="line"><a name="l00044"></a><span class="lineno"><a class="line" href="masstorage_8h.html#a5930934a4ce762f4cb9666d8f95ddee9"> 44</a></span>&#160;<span class="preprocessor">#define MASS_PROTO_CBI_NO_INT 0x01 // CBI (without command completion interrupt)</span></div>
<div class="line"><a name="l00045"></a><span class="lineno"><a class="line" href="masstorage_8h.html#a3a6df686184b5c83eeee1f3a23f3e187"> 45</a></span>&#160;<span class="preprocessor">#define MASS_PROTO_OBSOLETE 0x02</span></div>
<div class="line"><a name="l00046"></a><span class="lineno"><a class="line" href="masstorage_8h.html#a17a026f7d64e8daf27b45c295755fdf0"> 46</a></span>&#160;<span class="preprocessor">#define MASS_PROTO_BBB 0x50 // Bulk Only Transport</span></div>
<div class="line"><a name="l00047"></a><span class="lineno"><a class="line" href="masstorage_8h.html#a32a5145018b9953b26a0c47a3e55f1ea"> 47</a></span>&#160;<span class="preprocessor">#define MASS_PROTO_UAS 0x62</span></div>
<div class="line"><a name="l00048"></a><span class="lineno"> 48</span>&#160;</div>
<div class="line"><a name="l00049"></a><span class="lineno"> 49</span>&#160;<span class="comment">// Request Codes</span></div>
<div class="line"><a name="l00050"></a><span class="lineno"><a class="line" href="masstorage_8h.html#a667c00401398c62b8e7edf729d944d78"> 50</a></span>&#160;<span class="preprocessor">#define MASS_REQ_ADSC 0x00</span></div>
<div class="line"><a name="l00051"></a><span class="lineno"><a class="line" href="masstorage_8h.html#a42e56089ee1706ec829f8cebb224b1dc"> 51</a></span>&#160;<span class="preprocessor">#define MASS_REQ_GET 0xFC</span></div>
<div class="line"><a name="l00052"></a><span class="lineno"><a class="line" href="masstorage_8h.html#afe9a90b1dd89a2b1c12eb9b844d6120d"> 52</a></span>&#160;<span class="preprocessor">#define MASS_REQ_PUT 0xFD</span></div>
<div class="line"><a name="l00053"></a><span class="lineno"><a class="line" href="masstorage_8h.html#a3fc37932ad8bcc25c185fb1efbc099b8"> 53</a></span>&#160;<span class="preprocessor">#define MASS_REQ_GET_MAX_LUN 0xFE</span></div>
<div class="line"><a name="l00054"></a><span class="lineno"><a class="line" href="masstorage_8h.html#a172c269d960fa57ce6dfeaacc6f6197f"> 54</a></span>&#160;<span class="preprocessor">#define MASS_REQ_BOMSR 0xFF // Bulk-Only Mass Storage Reset</span></div>
<div class="line"><a name="l00055"></a><span class="lineno"> 55</span>&#160;</div>
<div class="line"><a name="l00056"></a><span class="lineno"><a class="line" href="masstorage_8h.html#a439c9558fff25c40219c0f20244e666d"> 56</a></span>&#160;<span class="preprocessor">#define MASS_CBW_SIGNATURE 0x43425355</span></div>
<div class="line"><a name="l00057"></a><span class="lineno"><a class="line" href="masstorage_8h.html#af92587f54f4d56af3dd2fb3a474c0b33"> 57</a></span>&#160;<span class="preprocessor">#define MASS_CSW_SIGNATURE 0x53425355</span></div>
<div class="line"><a name="l00058"></a><span class="lineno"> 58</span>&#160;</div>
<div class="line"><a name="l00059"></a><span class="lineno"><a class="line" href="masstorage_8h.html#ad74d783991b5eea6ad8ef2feb2ce03ea"> 59</a></span>&#160;<span class="preprocessor">#define MASS_CMD_DIR_OUT 0 // (0 &lt;&lt; 7)</span></div>
<div class="line"><a name="l00060"></a><span class="lineno"><a class="line" href="masstorage_8h.html#a012ee34e4ce8d644c2f75099867b26c0"> 60</a></span>&#160;<span class="preprocessor">#define MASS_CMD_DIR_IN 0x80 //(1 &lt;&lt; 7)</span></div>
<div class="line"><a name="l00061"></a><span class="lineno"> 61</span>&#160;</div>
<div class="line"><a name="l00062"></a><span class="lineno"> 62</span>&#160;<span class="comment">/*</span></div>
<div class="line"><a name="l00063"></a><span class="lineno"> 63</span>&#160;<span class="comment"> * Reference documents from T10 (http://www.t10.org)</span></div>
<div class="line"><a name="l00064"></a><span class="lineno"> 64</span>&#160;<span class="comment"> * SCSI Primary Commands - 3 (SPC-3)</span></div>
<div class="line"><a name="l00065"></a><span class="lineno"> 65</span>&#160;<span class="comment"> * SCSI Block Commands - 2 (SBC-2)</span></div>
<div class="line"><a name="l00066"></a><span class="lineno"> 66</span>&#160;<span class="comment"> * Multi-Media Commands - 5 (MMC-5)</span></div>
<div class="line"><a name="l00067"></a><span class="lineno"> 67</span>&#160;<span class="comment"> */</span></div>
<div class="line"><a name="l00068"></a><span class="lineno"> 68</span>&#160;</div>
<div class="line"><a name="l00069"></a><span class="lineno"> 69</span>&#160;<span class="comment">/* Group 1 commands (CDB&#39;s here are should all be 6-bytes) */</span></div>
<div class="line"><a name="l00070"></a><span class="lineno"><a class="line" href="masstorage_8h.html#aa84c8ac327fad55b9d0e40fea9eda699"> 70</a></span>&#160;<span class="preprocessor">#define SCSI_CMD_TEST_UNIT_READY 0x00</span></div>
<div class="line"><a name="l00071"></a><span class="lineno"><a class="line" href="masstorage_8h.html#ad0ffafc58d70417e80425b2ee80c1769"> 71</a></span>&#160;<span class="preprocessor">#define SCSI_CMD_REQUEST_SENSE 0x03</span></div>
<div class="line"><a name="l00072"></a><span class="lineno"><a class="line" href="masstorage_8h.html#ac436d150389d8a97693e63041f440d82"> 72</a></span>&#160;<span class="preprocessor">#define SCSI_CMD_FORMAT_UNIT 0x04</span></div>
<div class="line"><a name="l00073"></a><span class="lineno"><a class="line" href="masstorage_8h.html#af3f8eee2dcef5f8a49602fbedad6c7cd"> 73</a></span>&#160;<span class="preprocessor">#define SCSI_CMD_READ_6 0x08</span></div>
<div class="line"><a name="l00074"></a><span class="lineno"><a class="line" href="masstorage_8h.html#aea0f916f6039e8c8a3d614a3f9f70072"> 74</a></span>&#160;<span class="preprocessor">#define SCSI_CMD_WRITE_6 0x0A</span></div>
<div class="line"><a name="l00075"></a><span class="lineno"><a class="line" href="masstorage_8h.html#ac1f82346efef75cf197abb8e29cc5f44"> 75</a></span>&#160;<span class="preprocessor">#define SCSI_CMD_INQUIRY 0x12</span></div>
<div class="line"><a name="l00076"></a><span class="lineno"><a class="line" href="masstorage_8h.html#a3e22395bf2c8cd17fe9b54ff1adeeaaa"> 76</a></span>&#160;<span class="preprocessor">#define SCSI_CMD_MODE_SELECT_6 0x15</span></div>
<div class="line"><a name="l00077"></a><span class="lineno"><a class="line" href="masstorage_8h.html#ab6164a7d5f81211ce8d98b6a731b4f69"> 77</a></span>&#160;<span class="preprocessor">#define SCSI_CMD_MODE_SENSE_6 0x1A</span></div>
<div class="line"><a name="l00078"></a><span class="lineno"><a class="line" href="masstorage_8h.html#a17b47e6ce4b10688ac30666c16b14d86"> 78</a></span>&#160;<span class="preprocessor">#define SCSI_CMD_START_STOP_UNIT 0x1B</span></div>
<div class="line"><a name="l00079"></a><span class="lineno"><a class="line" href="masstorage_8h.html#ac6435ab2e468a79816db996b0a16c024"> 79</a></span>&#160;<span class="preprocessor">#define SCSI_CMD_PREVENT_REMOVAL 0x1E</span></div>
<div class="line"><a name="l00080"></a><span class="lineno"> 80</span>&#160;<span class="comment">/* Group 2 Commands (CDB&#39;s here are 10-bytes) */</span></div>
<div class="line"><a name="l00081"></a><span class="lineno"><a class="line" href="masstorage_8h.html#a0cf196180f614d0a3c956a6ad4623fba"> 81</a></span>&#160;<span class="preprocessor">#define SCSI_CMD_READ_FORMAT_CAPACITIES 0x23</span></div>
<div class="line"><a name="l00082"></a><span class="lineno"><a class="line" href="masstorage_8h.html#a1f08c7a277432486b2f875035df6790b"> 82</a></span>&#160;<span class="preprocessor">#define SCSI_CMD_READ_CAPACITY_10 0x25</span></div>
<div class="line"><a name="l00083"></a><span class="lineno"><a class="line" href="masstorage_8h.html#ad3900f141fb70afb8def054384805a2e"> 83</a></span>&#160;<span class="preprocessor">#define SCSI_CMD_READ_10 0x28</span></div>
<div class="line"><a name="l00084"></a><span class="lineno"><a class="line" href="masstorage_8h.html#ad1733ce8730cdaab39b9b868b73128a0"> 84</a></span>&#160;<span class="preprocessor">#define SCSI_CMD_WRITE_10 0x2A</span></div>
<div class="line"><a name="l00085"></a><span class="lineno"><a class="line" href="masstorage_8h.html#a8cf967a95a100190e34e1d36ac8af8ac"> 85</a></span>&#160;<span class="preprocessor">#define SCSI_CMD_SEEK_10 0x2B</span></div>
<div class="line"><a name="l00086"></a><span class="lineno"><a class="line" href="masstorage_8h.html#a4d0fa61cb5f052f57cb6ae0c7130ffed"> 86</a></span>&#160;<span class="preprocessor">#define SCSI_CMD_ERASE_10 0x2C</span></div>
<div class="line"><a name="l00087"></a><span class="lineno"><a class="line" href="masstorage_8h.html#a6eda361c8742e151c31ba536cf20119e"> 87</a></span>&#160;<span class="preprocessor">#define SCSI_CMD_WRITE_AND_VERIFY_10 0x2E</span></div>
<div class="line"><a name="l00088"></a><span class="lineno"><a class="line" href="masstorage_8h.html#a8d3ebefbce899ff775e8fab101f59080"> 88</a></span>&#160;<span class="preprocessor">#define SCSI_CMD_VERIFY_10 0x2F</span></div>
<div class="line"><a name="l00089"></a><span class="lineno"><a class="line" href="masstorage_8h.html#a827c601eec66a6ebc6236839a9041c53"> 89</a></span>&#160;<span class="preprocessor">#define SCSI_CMD_SYNCHRONIZE_CACHE 0x35</span></div>
<div class="line"><a name="l00090"></a><span class="lineno"><a class="line" href="masstorage_8h.html#a508d064f36c9d623b785c30c97f9b951"> 90</a></span>&#160;<span class="preprocessor">#define SCSI_CMD_WRITE_BUFFER 0x3B</span></div>
<div class="line"><a name="l00091"></a><span class="lineno"><a class="line" href="masstorage_8h.html#a1ff23f30c34cfb2888cd2df1d40e1b9d"> 91</a></span>&#160;<span class="preprocessor">#define SCSI_CMD_READ_BUFFER 0x3C</span></div>
<div class="line"><a name="l00092"></a><span class="lineno"><a class="line" href="masstorage_8h.html#adf4eedc9f90ef434238a4a8e8afdca73"> 92</a></span>&#160;<span class="preprocessor">#define SCSI_CMD_READ_SUBCHANNEL 0x42</span></div>
<div class="line"><a name="l00093"></a><span class="lineno"><a class="line" href="masstorage_8h.html#a0ebdd01a67e4369aea92f24a721a809f"> 93</a></span>&#160;<span class="preprocessor">#define SCSI_CMD_READ_TOC 0x43</span></div>
<div class="line"><a name="l00094"></a><span class="lineno"><a class="line" href="masstorage_8h.html#a353644f9db92ca364cece3d0ade758a5"> 94</a></span>&#160;<span class="preprocessor">#define SCSI_CMD_READ_HEADER 0x44</span></div>
<div class="line"><a name="l00095"></a><span class="lineno"><a class="line" href="masstorage_8h.html#a95d32a2c09bbf0c4dfd4af1b7e46cdc5"> 95</a></span>&#160;<span class="preprocessor">#define SCSI_CMD_PLAY_AUDIO_10 0x45</span></div>
<div class="line"><a name="l00096"></a><span class="lineno"><a class="line" href="masstorage_8h.html#afb11c6718111a43ef7c428fd74094884"> 96</a></span>&#160;<span class="preprocessor">#define SCSI_CMD_GET_CONFIGURATION 0x46</span></div>
<div class="line"><a name="l00097"></a><span class="lineno"><a class="line" href="masstorage_8h.html#ad569cac66033c4ee22588556e10401ec"> 97</a></span>&#160;<span class="preprocessor">#define SCSI_CMD_PLAY_AUDIO_MSF 0x47</span></div>
<div class="line"><a name="l00098"></a><span class="lineno"><a class="line" href="masstorage_8h.html#a86981910a450d8fbeef52d0624cd895b"> 98</a></span>&#160;<span class="preprocessor">#define SCSI_CMD_PLAY_AUDIO_TI 0x48</span></div>
<div class="line"><a name="l00099"></a><span class="lineno"><a class="line" href="masstorage_8h.html#a619fe714336e8ff0ffe1a29b5d07dc2a"> 99</a></span>&#160;<span class="preprocessor">#define SCSI_CMD_PLAY_TRACK_REL_10 0x49</span></div>
<div class="line"><a name="l00100"></a><span class="lineno"><a class="line" href="masstorage_8h.html#a4ecef213f959406552b3cec16e45ad4a"> 100</a></span>&#160;<span class="preprocessor">#define SCSI_CMD_GET_EVENT_STATUS 0x4A</span></div>
<div class="line"><a name="l00101"></a><span class="lineno"><a class="line" href="masstorage_8h.html#a6f0410bab960fd45711a5bb54f42163e"> 101</a></span>&#160;<span class="preprocessor">#define SCSI_CMD_PAUSE_RESUME 0x4B</span></div>
<div class="line"><a name="l00102"></a><span class="lineno"><a class="line" href="masstorage_8h.html#a919892a5c1907067abc52cc318d8243c"> 102</a></span>&#160;<span class="preprocessor">#define SCSI_CMD_READ_DISC_INFORMATION 0x51</span></div>
<div class="line"><a name="l00103"></a><span class="lineno"><a class="line" href="masstorage_8h.html#a84e65c5e60bd12522e64e5065e747e74"> 103</a></span>&#160;<span class="preprocessor">#define SCSI_CMD_READ_TRACK_INFORMATION 0x52</span></div>
<div class="line"><a name="l00104"></a><span class="lineno"><a class="line" href="masstorage_8h.html#a14d6804a7f68e14cbac6acf04d5d2979"> 104</a></span>&#160;<span class="preprocessor">#define SCSI_CMD_RESERVE_TRACK 0x53</span></div>
<div class="line"><a name="l00105"></a><span class="lineno"><a class="line" href="masstorage_8h.html#a2e84c1764b0763610a1485a0ac7277ac"> 105</a></span>&#160;<span class="preprocessor">#define SCSI_CMD_SEND_OPC_INFORMATION 0x54</span></div>
<div class="line"><a name="l00106"></a><span class="lineno"><a class="line" href="masstorage_8h.html#a4e76274cd7e386da0ef9ea72f0243bdb"> 106</a></span>&#160;<span class="preprocessor">#define SCSI_CMD_MODE_SELECT_10 0x55</span></div>
<div class="line"><a name="l00107"></a><span class="lineno"><a class="line" href="masstorage_8h.html#af66870e8e5d9bfcac89b86007033c959"> 107</a></span>&#160;<span class="preprocessor">#define SCSI_CMD_REPAIR_TRACK 0x58</span></div>
<div class="line"><a name="l00108"></a><span class="lineno"><a class="line" href="masstorage_8h.html#a95f71a5e11726543881ca39a47563daa"> 108</a></span>&#160;<span class="preprocessor">#define SCSI_CMD_MODE_SENSE_10 0x5A</span></div>
<div class="line"><a name="l00109"></a><span class="lineno"><a class="line" href="masstorage_8h.html#aace342bd260644b20dc095779b606ab0"> 109</a></span>&#160;<span class="preprocessor">#define SCSI_CMD_CLOSE_TRACK_SESSION 0x5B</span></div>
<div class="line"><a name="l00110"></a><span class="lineno"><a class="line" href="masstorage_8h.html#ac1133fe2a2516328335f6dfd7c78422a"> 110</a></span>&#160;<span class="preprocessor">#define SCSI_CMD_READ_BUFFER_CAPACITY 0x5C</span></div>
<div class="line"><a name="l00111"></a><span class="lineno"><a class="line" href="masstorage_8h.html#a1d7eebb93a9054a0cab613247d398552"> 111</a></span>&#160;<span class="preprocessor">#define SCSI_CMD_SEND_CUE_SHEET 0x5D</span></div>
<div class="line"><a name="l00112"></a><span class="lineno"> 112</span>&#160;<span class="comment">/* Group 5 Commands (CDB&#39;s here are 12-bytes) */</span></div>
<div class="line"><a name="l00113"></a><span class="lineno"><a class="line" href="masstorage_8h.html#a8ef3d9a42b0b1d5b0218720236e148c4"> 113</a></span>&#160;<span class="preprocessor">#define SCSI_CMD_REPORT_LUNS 0xA0</span></div>
<div class="line"><a name="l00114"></a><span class="lineno"><a class="line" href="masstorage_8h.html#a753c8d9d8c57e824a134f26158bb18ee"> 114</a></span>&#160;<span class="preprocessor">#define SCSI_CMD_BLANK 0xA1</span></div>
<div class="line"><a name="l00115"></a><span class="lineno"><a class="line" href="masstorage_8h.html#a4aae30f44cbe99052cb945666b4247f9"> 115</a></span>&#160;<span class="preprocessor">#define SCSI_CMD_SECURITY_PROTOCOL_IN 0xA2</span></div>
<div class="line"><a name="l00116"></a><span class="lineno"><a class="line" href="masstorage_8h.html#ad72fd236fa7f7e53c4aae0067883e5f2"> 116</a></span>&#160;<span class="preprocessor">#define SCSI_CMD_SEND_KEY 0xA3</span></div>
<div class="line"><a name="l00117"></a><span class="lineno"><a class="line" href="masstorage_8h.html#aed5b1fe70478a123edf6d01af9e14138"> 117</a></span>&#160;<span class="preprocessor">#define SCSI_CMD_REPORT_KEY 0xA4</span></div>
<div class="line"><a name="l00118"></a><span class="lineno"><a class="line" href="masstorage_8h.html#ab1423093448ed003ce7dde48546b1fb0"> 118</a></span>&#160;<span class="preprocessor">#define SCSI_CMD_PLAY_AUDIO_12 0xA5</span></div>
<div class="line"><a name="l00119"></a><span class="lineno"><a class="line" href="masstorage_8h.html#a30aa97d80e09dc7655f6057ef8a76bf8"> 119</a></span>&#160;<span class="preprocessor">#define SCSI_CMD_LOAD_UNLOAD 0xA6</span></div>
<div class="line"><a name="l00120"></a><span class="lineno"><a class="line" href="masstorage_8h.html#a2b95e6df1bf9b03b22d3eb7a9a4a1a8f"> 120</a></span>&#160;<span class="preprocessor">#define SCSI_CMD_SET_READ_AHEAD 0xA7</span></div>
<div class="line"><a name="l00121"></a><span class="lineno"><a class="line" href="masstorage_8h.html#ae424e09f43b58d823bdf7ab537425ae1"> 121</a></span>&#160;<span class="preprocessor">#define SCSI_CMD_READ_12 0xA8</span></div>
<div class="line"><a name="l00122"></a><span class="lineno"><a class="line" href="masstorage_8h.html#aed4e79ab4e47d23b6e49561be3392434"> 122</a></span>&#160;<span class="preprocessor">#define SCSI_CMD_PLAY_TRACK_REL_12 0xA9</span></div>
<div class="line"><a name="l00123"></a><span class="lineno"><a class="line" href="masstorage_8h.html#abb489ac989eb7453a5ac000f78c7f7b0"> 123</a></span>&#160;<span class="preprocessor">#define SCSI_CMD_WRITE_12 0xAA</span></div>
<div class="line"><a name="l00124"></a><span class="lineno"><a class="line" href="masstorage_8h.html#a475c01dc106b8de86d42d806b585c7eb"> 124</a></span>&#160;<span class="preprocessor">#define SCSI_CMD_READ_MEDIA_SERIAL_12 0xAB</span></div>
<div class="line"><a name="l00125"></a><span class="lineno"><a class="line" href="masstorage_8h.html#a95bfc5bbb9bc239124420a080ad3aff0"> 125</a></span>&#160;<span class="preprocessor">#define SCSI_CMD_GET_PERFORMANCE 0xAC</span></div>
<div class="line"><a name="l00126"></a><span class="lineno"><a class="line" href="masstorage_8h.html#aaadf1967210007cbc969fd13fd910425"> 126</a></span>&#160;<span class="preprocessor">#define SCSI_CMD_READ_DVD_STRUCTURE 0xAD</span></div>
<div class="line"><a name="l00127"></a><span class="lineno"><a class="line" href="masstorage_8h.html#acffe854ef54bbaec223a0dbc968e12e5"> 127</a></span>&#160;<span class="preprocessor">#define SCSI_CMD_SECURITY_PROTOCOL_OUT 0xB5</span></div>
<div class="line"><a name="l00128"></a><span class="lineno"><a class="line" href="masstorage_8h.html#aa615cd1a9113b55ea3def7ce1e39fdc0"> 128</a></span>&#160;<span class="preprocessor">#define SCSI_CMD_SET_STREAMING 0xB6</span></div>
<div class="line"><a name="l00129"></a><span class="lineno"><a class="line" href="masstorage_8h.html#ac022877c7248b787fe5c074c5a579282"> 129</a></span>&#160;<span class="preprocessor">#define SCSI_CMD_READ_MSF 0xB9</span></div>
<div class="line"><a name="l00130"></a><span class="lineno"><a class="line" href="masstorage_8h.html#a78d22b4df645b4100d61760024cf5217"> 130</a></span>&#160;<span class="preprocessor">#define SCSI_CMD_SET_SPEED 0xBB</span></div>
<div class="line"><a name="l00131"></a><span class="lineno"><a class="line" href="masstorage_8h.html#af425268596a7979929bf85112adcbadb"> 131</a></span>&#160;<span class="preprocessor">#define SCSI_CMD_MECHANISM_STATUS 0xBD</span></div>
<div class="line"><a name="l00132"></a><span class="lineno"><a class="line" href="masstorage_8h.html#ae5e0a6ea45e5aa4efd866325ecc8a519"> 132</a></span>&#160;<span class="preprocessor">#define SCSI_CMD_READ_CD 0xBE</span></div>
<div class="line"><a name="l00133"></a><span class="lineno"><a class="line" href="masstorage_8h.html#a76da46661cf03125908a6d32f3c6672d"> 133</a></span>&#160;<span class="preprocessor">#define SCSI_CMD_SEND_DISC_STRUCTURE 0xBF</span></div>
<div class="line"><a name="l00134"></a><span class="lineno"> 134</span>&#160;<span class="comment">/* Vendor-unique Commands, included for completeness */</span></div>
<div class="line"><a name="l00135"></a><span class="lineno"><a class="line" href="masstorage_8h.html#a341436a3b87d4ccd8c1ba00a52319494"> 135</a></span>&#160;<span class="preprocessor">#define SCSI_CMD_CD_PLAYBACK_STATUS 0xC4 </span><span class="comment">/* SONY unique */</span><span class="preprocessor"></span></div>
<div class="line"><a name="l00136"></a><span class="lineno"><a class="line" href="masstorage_8h.html#aae41f85d64995d1522571998642b7674"> 136</a></span>&#160;<span class="preprocessor">#define SCSI_CMD_PLAYBACK_CONTROL 0xC9 </span><span class="comment">/* SONY unique */</span><span class="preprocessor"></span></div>
<div class="line"><a name="l00137"></a><span class="lineno"><a class="line" href="masstorage_8h.html#a3cf8a0b8b509552305d90cdb009041a6"> 137</a></span>&#160;<span class="preprocessor">#define SCSI_CMD_READ_CDDA 0xD8 </span><span class="comment">/* Vendor unique */</span><span class="preprocessor"></span></div>
<div class="line"><a name="l00138"></a><span class="lineno"><a class="line" href="masstorage_8h.html#acff26776fc541ceb3d739f303255ff3e"> 138</a></span>&#160;<span class="preprocessor">#define SCSI_CMD_READ_CDXA 0xDB </span><span class="comment">/* Vendor unique */</span><span class="preprocessor"></span></div>
<div class="line"><a name="l00139"></a><span class="lineno"><a class="line" href="masstorage_8h.html#aacde7972a7bd398cf43dc65878b1aa92"> 139</a></span>&#160;<span class="preprocessor">#define SCSI_CMD_READ_ALL_SUBCODES 0xDF </span><span class="comment">/* Vendor unique */</span><span class="preprocessor"></span></div>
<div class="line"><a name="l00140"></a><span class="lineno"> 140</span>&#160;</div>
<div class="line"><a name="l00141"></a><span class="lineno"> 141</span>&#160;<span class="comment">/* SCSI error codes */</span></div>
<div class="line"><a name="l00142"></a><span class="lineno"><a class="line" href="masstorage_8h.html#a613422ba27c89fe5d72d06d216c9f2a5"> 142</a></span>&#160;<span class="preprocessor">#define SCSI_S_NOT_READY 0x02</span></div>
<div class="line"><a name="l00143"></a><span class="lineno"><a class="line" href="masstorage_8h.html#a2f2fcd62d5fea0322095b2c4c9d2dd91"> 143</a></span>&#160;<span class="preprocessor">#define SCSI_S_MEDIUM_ERROR 0x03</span></div>
<div class="line"><a name="l00144"></a><span class="lineno"><a class="line" href="masstorage_8h.html#a3f36c4b24d404a7bde02e6bf3f87a0cd"> 144</a></span>&#160;<span class="preprocessor">#define SCSI_S_ILLEGAL_REQUEST 0x05</span></div>
<div class="line"><a name="l00145"></a><span class="lineno"><a class="line" href="masstorage_8h.html#ae7ab5840b35001bba68d7adae4abcd11"> 145</a></span>&#160;<span class="preprocessor">#define SCSI_S_UNIT_ATTENTION 0x06</span></div>
<div class="line"><a name="l00146"></a><span class="lineno"><a class="line" href="masstorage_8h.html#ac6d64023e2b8137eed90917f362ab262"> 146</a></span>&#160;<span class="preprocessor">#define SCSI_ASC_LBA_OUT_OF_RANGE 0x21</span></div>
<div class="line"><a name="l00147"></a><span class="lineno"><a class="line" href="masstorage_8h.html#a9fd5f74b6bac6c95990f5f211c04894b"> 147</a></span>&#160;<span class="preprocessor">#define SCSI_ASC_MEDIA_CHANGED 0x28</span></div>
<div class="line"><a name="l00148"></a><span class="lineno"><a class="line" href="masstorage_8h.html#ac0c79fb555815317d46e9af6192d959d"> 148</a></span>&#160;<span class="preprocessor">#define SCSI_ASC_MEDIUM_NOT_PRESENT 0x3A</span></div>
<div class="line"><a name="l00149"></a><span class="lineno"> 149</span>&#160;</div>
<div class="line"><a name="l00150"></a><span class="lineno"> 150</span>&#160;<span class="comment">/* USB error codes */</span></div>
<div class="line"><a name="l00151"></a><span class="lineno"><a class="line" href="masstorage_8h.html#a450c2a67aa2b6a1f6593113dcb847569"> 151</a></span>&#160;<span class="preprocessor">#define MASS_ERR_SUCCESS 0x00</span></div>
<div class="line"><a name="l00152"></a><span class="lineno"><a class="line" href="masstorage_8h.html#afe7b492eca9349e54443c5c08f77b238"> 152</a></span>&#160;<span class="preprocessor">#define MASS_ERR_PHASE_ERROR 0x02</span></div>
<div class="line"><a name="l00153"></a><span class="lineno"><a class="line" href="masstorage_8h.html#a128e4910df8d7770c6f9af7700b9ccb1"> 153</a></span>&#160;<span class="preprocessor">#define MASS_ERR_UNIT_NOT_READY 0x03</span></div>
<div class="line"><a name="l00154"></a><span class="lineno"><a class="line" href="masstorage_8h.html#ab8e02094ea448728c4229e348c90cc54"> 154</a></span>&#160;<span class="preprocessor">#define MASS_ERR_UNIT_BUSY 0x04</span></div>
<div class="line"><a name="l00155"></a><span class="lineno"><a class="line" href="masstorage_8h.html#a13aee9eab965d570a4a00463cd20ca29"> 155</a></span>&#160;<span class="preprocessor">#define MASS_ERR_STALL 0x05</span></div>
<div class="line"><a name="l00156"></a><span class="lineno"><a class="line" href="masstorage_8h.html#ac3364cf841936aa8c3107e14c06ff65f"> 156</a></span>&#160;<span class="preprocessor">#define MASS_ERR_CMD_NOT_SUPPORTED 0x06</span></div>
<div class="line"><a name="l00157"></a><span class="lineno"><a class="line" href="masstorage_8h.html#a8521fd3c4b7901296d3edae0632c162d"> 157</a></span>&#160;<span class="preprocessor">#define MASS_ERR_INVALID_CSW 0x07</span></div>
<div class="line"><a name="l00158"></a><span class="lineno"><a class="line" href="masstorage_8h.html#aec47def0928045fdca474d78db866c39"> 158</a></span>&#160;<span class="preprocessor">#define MASS_ERR_NO_MEDIA 0x08</span></div>
<div class="line"><a name="l00159"></a><span class="lineno"><a class="line" href="masstorage_8h.html#a57edffb4395696374818f80202aedca4"> 159</a></span>&#160;<span class="preprocessor">#define MASS_ERR_BAD_LBA 0x09</span></div>
<div class="line"><a name="l00160"></a><span class="lineno"><a class="line" href="masstorage_8h.html#a6ddc06e45101114eb7842a7ee57f7d43"> 160</a></span>&#160;<span class="preprocessor">#define MASS_ERR_MEDIA_CHANGED 0x0A</span></div>
<div class="line"><a name="l00161"></a><span class="lineno"><a class="line" href="masstorage_8h.html#a75359f810ebeccd313e4ad9c3a88f231"> 161</a></span>&#160;<span class="preprocessor">#define MASS_ERR_DEVICE_DISCONNECTED 0x11</span></div>
<div class="line"><a name="l00162"></a><span class="lineno"><a class="line" href="masstorage_8h.html#a33f8a926c98ea3a3b7aea4006069a251"> 162</a></span>&#160;<span class="preprocessor">#define MASS_ERR_UNABLE_TO_RECOVER 0x12 // Reset recovery error</span></div>
<div class="line"><a name="l00163"></a><span class="lineno"><a class="line" href="masstorage_8h.html#a5341c969f1daf8a9e8d345c0ba36fa54"> 163</a></span>&#160;<span class="preprocessor">#define MASS_ERR_INVALID_LUN 0x13</span></div>
<div class="line"><a name="l00164"></a><span class="lineno"><a class="line" href="masstorage_8h.html#a1b4efb4cfc2b0d4a912abe587a145b84"> 164</a></span>&#160;<span class="preprocessor">#define MASS_ERR_WRITE_STALL 0x14</span></div>
<div class="line"><a name="l00165"></a><span class="lineno"><a class="line" href="masstorage_8h.html#a4da4bdba7c86bcd6d0a97883de976b74"> 165</a></span>&#160;<span class="preprocessor">#define MASS_ERR_READ_NAKS 0x15</span></div>
<div class="line"><a name="l00166"></a><span class="lineno"><a class="line" href="masstorage_8h.html#a607fa695e441ced8955a48455cd7259d"> 166</a></span>&#160;<span class="preprocessor">#define MASS_ERR_WRITE_NAKS 0x16</span></div>
<div class="line"><a name="l00167"></a><span class="lineno"><a class="line" href="masstorage_8h.html#ac8c588cb96077b615de2bd53f77d4c15"> 167</a></span>&#160;<span class="preprocessor">#define MASS_ERR_WRITE_PROTECTED 0x17</span></div>
<div class="line"><a name="l00168"></a><span class="lineno"><a class="line" href="masstorage_8h.html#a4c80ae6c61331a0dd2a1950a25829a85"> 168</a></span>&#160;<span class="preprocessor">#define MASS_ERR_NOT_IMPLEMENTED 0xFD</span></div>
<div class="line"><a name="l00169"></a><span class="lineno"><a class="line" href="masstorage_8h.html#a2815b1980ee4f05d2712a6492b5272b3"> 169</a></span>&#160;<span class="preprocessor">#define MASS_ERR_GENERAL_SCSI_ERROR 0xFE</span></div>
<div class="line"><a name="l00170"></a><span class="lineno"><a class="line" href="masstorage_8h.html#a6c2dcf2fe5e2bead7ce82793de900eaf"> 170</a></span>&#160;<span class="preprocessor">#define MASS_ERR_GENERAL_USB_ERROR 0xFF</span></div>
<div class="line"><a name="l00171"></a><span class="lineno"><a class="line" href="masstorage_8h.html#ac6e389db899b3083f85ad02f5b4f9711"> 171</a></span>&#160;<span class="preprocessor">#define MASS_ERR_USER 0xA0 // For subclasses to define their own error codes</span></div>
<div class="line"><a name="l00172"></a><span class="lineno"> 172</span>&#160;</div>
<div class="line"><a name="l00173"></a><span class="lineno"><a class="line" href="masstorage_8h.html#a597e2a0f4ee36172c260976af9805415"> 173</a></span>&#160;<span class="preprocessor">#define MASS_TRANS_FLG_CALLBACK 0x01 // Callback is involved</span></div>
<div class="line"><a name="l00174"></a><span class="lineno"><a class="line" href="masstorage_8h.html#aa230fd8de3da0bcfbd1627e9177de452"> 174</a></span>&#160;<span class="preprocessor">#define MASS_TRANS_FLG_NO_STALL_CHECK 0x02 // STALL condition is not checked</span></div>
<div class="line"><a name="l00175"></a><span class="lineno"><a class="line" href="masstorage_8h.html#a473b3774eb9f7df7f20f676f55deb47e"> 175</a></span>&#160;<span class="preprocessor">#define MASS_TRANS_FLG_NO_PHASE_CHECK 0x04 // PHASE_ERROR is not checked</span></div>
<div class="line"><a name="l00176"></a><span class="lineno"> 176</span>&#160;</div>
<div class="line"><a name="l00177"></a><span class="lineno"><a class="line" href="masstorage_8h.html#ab4baa1ea500923e1fc59e5991f05fe99"> 177</a></span>&#160;<span class="preprocessor">#define MASS_MAX_ENDPOINTS 3</span></div>
<div class="line"><a name="l00178"></a><span class="lineno"> 178</span>&#160;</div>
<div class="line"><a name="l00179"></a><span class="lineno"><a class="line" href="struct_capacity.html"> 179</a></span>&#160;<span class="keyword">struct </span><a class="code" href="struct_capacity.html">Capacity</a> {</div>
<div class="line"><a name="l00180"></a><span class="lineno"><a class="line" href="struct_capacity.html#ae6dd521cd2ece3d6fa6fe58180fb9e8a"> 180</a></span>&#160; uint8_t <a class="code" href="struct_capacity.html#ae6dd521cd2ece3d6fa6fe58180fb9e8a">data</a>[8];</div>
<div class="line"><a name="l00181"></a><span class="lineno"> 181</span>&#160; <span class="comment">//uint32_t dwBlockAddress;</span></div>
<div class="line"><a name="l00182"></a><span class="lineno"> 182</span>&#160; <span class="comment">//uint32_t dwBlockLength;</span></div>
<div class="line"><a name="l00183"></a><span class="lineno"> 183</span>&#160;} __attribute__((packed));</div>
<div class="line"><a name="l00184"></a><span class="lineno"> 184</span>&#160;</div>
<div class="line"><a name="l00185"></a><span class="lineno"><a class="line" href="struct_b_a_s_i_c_c_d_b.html"> 185</a></span>&#160;<span class="keyword">struct </span><a class="code" href="struct_b_a_s_i_c_c_d_b.html">BASICCDB</a> {</div>
<div class="line"><a name="l00186"></a><span class="lineno"><a class="line" href="struct_b_a_s_i_c_c_d_b.html#a64d8bea0216a84b8ba8c8f411ceae2c3"> 186</a></span>&#160; uint8_t <a class="code" href="struct_b_a_s_i_c_c_d_b.html#a64d8bea0216a84b8ba8c8f411ceae2c3">Opcode</a>;</div>
<div class="line"><a name="l00187"></a><span class="lineno"> 187</span>&#160;</div>
<div class="line"><a name="l00188"></a><span class="lineno"><a class="line" href="struct_b_a_s_i_c_c_d_b.html#a2c6031f3dde94acd5d03c80db213c534"> 188</a></span>&#160; <span class="keywordtype">unsigned</span> <a class="code" href="struct_b_a_s_i_c_c_d_b.html#a2c6031f3dde94acd5d03c80db213c534">unused</a> : 5;</div>
<div class="line"><a name="l00189"></a><span class="lineno"><a class="line" href="struct_b_a_s_i_c_c_d_b.html#a2cec985f2fd10576a004108c01d42fb4"> 189</a></span>&#160; <span class="keywordtype">unsigned</span> <a class="code" href="struct_b_a_s_i_c_c_d_b.html#a2cec985f2fd10576a004108c01d42fb4">LUN</a> : 3;</div>
<div class="line"><a name="l00190"></a><span class="lineno"> 190</span>&#160;</div>
<div class="line"><a name="l00191"></a><span class="lineno"><a class="line" href="struct_b_a_s_i_c_c_d_b.html#ae796279e9083692e308e7819349a79fc"> 191</a></span>&#160; uint8_t <a class="code" href="struct_b_a_s_i_c_c_d_b.html#ae796279e9083692e308e7819349a79fc">info</a>[12];</div>
<div class="line"><a name="l00192"></a><span class="lineno"> 192</span>&#160;} __attribute__((packed));</div>
<div class="line"><a name="l00193"></a><span class="lineno"> 193</span>&#160;</div>
<div class="line"><a name="l00194"></a><span class="lineno"><a class="line" href="masstorage_8h.html#aa0e2e213a2f05df124f199eeac3dbdd8"> 194</a></span>&#160;<span class="keyword">typedef</span> <a class="code" href="struct_b_a_s_i_c_c_d_b.html">BASICCDB</a> <a class="code" href="masstorage_8h.html#aa0e2e213a2f05df124f199eeac3dbdd8">BASICCDB_t</a>;</div>
<div class="line"><a name="l00195"></a><span class="lineno"> 195</span>&#160;</div>
<div class="line"><a name="l00196"></a><span class="lineno"><a class="line" href="struct_c_d_b6.html"> 196</a></span>&#160;<span class="keyword">struct </span><a class="code" href="struct_c_d_b6.html">CDB6</a> {</div>
<div class="line"><a name="l00197"></a><span class="lineno"><a class="line" href="struct_c_d_b6.html#af2b06ea02758f3096f48da306371a7d8"> 197</a></span>&#160; uint8_t <a class="code" href="struct_c_d_b6.html#af2b06ea02758f3096f48da306371a7d8">Opcode</a>;</div>
<div class="line"><a name="l00198"></a><span class="lineno"> 198</span>&#160;</div>
<div class="line"><a name="l00199"></a><span class="lineno"><a class="line" href="struct_c_d_b6.html#a1d5e2c34147b5ecc84d20f10e307fd1e"> 199</a></span>&#160; <span class="keywordtype">unsigned</span> <a class="code" href="struct_c_d_b6.html#a1d5e2c34147b5ecc84d20f10e307fd1e">LBAMSB</a> : 5;</div>
<div class="line"><a name="l00200"></a><span class="lineno"><a class="line" href="struct_c_d_b6.html#ada1275c63867c75daf71348ec1f8d666"> 200</a></span>&#160; <span class="keywordtype">unsigned</span> <a class="code" href="struct_c_d_b6.html#ada1275c63867c75daf71348ec1f8d666">LUN</a> : 3;</div>
<div class="line"><a name="l00201"></a><span class="lineno"> 201</span>&#160;</div>
<div class="line"><a name="l00202"></a><span class="lineno"><a class="line" href="struct_c_d_b6.html#a6a0be8910a3e8039534b8570365a4207"> 202</a></span>&#160; uint8_t <a class="code" href="struct_c_d_b6.html#a6a0be8910a3e8039534b8570365a4207">LBAHB</a>;</div>
<div class="line"><a name="l00203"></a><span class="lineno"><a class="line" href="struct_c_d_b6.html#a28933fcb497ecd202ea07d665be57f9c"> 203</a></span>&#160; uint8_t <a class="code" href="struct_c_d_b6.html#a28933fcb497ecd202ea07d665be57f9c">LBALB</a>;</div>
<div class="line"><a name="l00204"></a><span class="lineno"><a class="line" href="struct_c_d_b6.html#a49d35d920a46db55bc300ee25f6065ef"> 204</a></span>&#160; uint8_t <a class="code" href="struct_c_d_b6.html#a49d35d920a46db55bc300ee25f6065ef">AllocationLength</a>;</div>
<div class="line"><a name="l00205"></a><span class="lineno"><a class="line" href="struct_c_d_b6.html#a8629bc31675353132e17e5e37b3e0e41"> 205</a></span>&#160; uint8_t <a class="code" href="struct_c_d_b6.html#a8629bc31675353132e17e5e37b3e0e41">Control</a>;</div>
<div class="line"><a name="l00206"></a><span class="lineno"> 206</span>&#160;</div>
<div class="line"><a name="l00207"></a><span class="lineno"> 207</span>&#160;<span class="keyword">public</span>:</div>
<div class="line"><a name="l00208"></a><span class="lineno"> 208</span>&#160;</div>
<div class="line"><a name="l00209"></a><span class="lineno"><a class="line" href="struct_c_d_b6.html#ac68515ca26c4eabe62e63b5d722c3962"> 209</a></span>&#160; <a class="code" href="struct_c_d_b6.html#ac68515ca26c4eabe62e63b5d722c3962">CDB6</a>(uint8_t _Opcode, uint8_t _LUN, uint32_t LBA, uint8_t _AllocationLength, uint8_t _Control) :</div>
<div class="line"><a name="l00210"></a><span class="lineno"> 210</span>&#160; Opcode(_Opcode), <a class="code" href="struct_c_d_b6.html#a1d5e2c34147b5ecc84d20f10e307fd1e">LBAMSB</a>(<a class="code" href="macros_8h.html#a49c9ebd69fbb93bd97f9051f592390c6">BGRAB2</a>(LBA) &amp; 0x1f), <a class="code" href="struct_c_d_b6.html#ada1275c63867c75daf71348ec1f8d666">LUN</a>(_LUN), LBAHB(<a class="code" href="macros_8h.html#a483a8ceb644d44744abff34f61cc5442">BGRAB1</a>(LBA)), LBALB(<a class="code" href="macros_8h.html#a773ca2920fd4808c94e6645a7a8d63d1">BGRAB0</a>(LBA)),</div>
<div class="line"><a name="l00211"></a><span class="lineno"> 211</span>&#160; AllocationLength(_AllocationLength), Control(_Control) {</div>
<div class="line"><a name="l00212"></a><span class="lineno"> 212</span>&#160; }</div>
<div class="line"><a name="l00213"></a><span class="lineno"> 213</span>&#160;</div>
<div class="line"><a name="l00214"></a><span class="lineno"><a class="line" href="struct_c_d_b6.html#af878d394767d1278deacb11410b772f4"> 214</a></span>&#160; <a class="code" href="struct_c_d_b6.html#af878d394767d1278deacb11410b772f4">CDB6</a>(uint8_t _Opcode, uint8_t _LUN, uint8_t _AllocationLength, uint8_t _Control) :</div>
<div class="line"><a name="l00215"></a><span class="lineno"> 215</span>&#160; Opcode(_Opcode), <a class="code" href="struct_c_d_b6.html#a1d5e2c34147b5ecc84d20f10e307fd1e">LBAMSB</a>(0), <a class="code" href="struct_c_d_b6.html#ada1275c63867c75daf71348ec1f8d666">LUN</a>(_LUN), LBAHB(0), LBALB(0),</div>
<div class="line"><a name="l00216"></a><span class="lineno"> 216</span>&#160; AllocationLength(_AllocationLength), Control(_Control) {</div>
<div class="line"><a name="l00217"></a><span class="lineno"> 217</span>&#160; }</div>
<div class="line"><a name="l00218"></a><span class="lineno"> 218</span>&#160;} __attribute__((packed));</div>
<div class="line"><a name="l00219"></a><span class="lineno"> 219</span>&#160;</div>
<div class="line"><a name="l00220"></a><span class="lineno"><a class="line" href="masstorage_8h.html#a56ab0baf4e98a591274bf8d1acf96d85"> 220</a></span>&#160;<span class="keyword">typedef</span> <a class="code" href="struct_c_d_b6.html">CDB6</a> <a class="code" href="masstorage_8h.html#a56ab0baf4e98a591274bf8d1acf96d85">CDB6_t</a>;</div>
<div class="line"><a name="l00221"></a><span class="lineno"> 221</span>&#160;</div>
<div class="line"><a name="l00222"></a><span class="lineno"><a class="line" href="struct_c_d_b10.html"> 222</a></span>&#160;<span class="keyword">struct </span><a class="code" href="struct_c_d_b10.html">CDB10</a> {</div>
<div class="line"><a name="l00223"></a><span class="lineno"><a class="line" href="struct_c_d_b10.html#af18bbff0fec1a1d31c741c542f2e92d6"> 223</a></span>&#160; uint8_t <a class="code" href="struct_c_d_b10.html#af18bbff0fec1a1d31c741c542f2e92d6">Opcode</a>;</div>
<div class="line"><a name="l00224"></a><span class="lineno"> 224</span>&#160;</div>
<div class="line"><a name="l00225"></a><span class="lineno"><a class="line" href="struct_c_d_b10.html#af1cd479d32aae0c581b735eb5aa081bc"> 225</a></span>&#160; <span class="keywordtype">unsigned</span> <a class="code" href="struct_c_d_b10.html#af1cd479d32aae0c581b735eb5aa081bc">Service_Action</a> : 5;</div>
<div class="line"><a name="l00226"></a><span class="lineno"><a class="line" href="struct_c_d_b10.html#a451be0bca5ee00395c3f6c6993ac384a"> 226</a></span>&#160; <span class="keywordtype">unsigned</span> <a class="code" href="struct_c_d_b10.html#a451be0bca5ee00395c3f6c6993ac384a">LUN</a> : 3;</div>
<div class="line"><a name="l00227"></a><span class="lineno"> 227</span>&#160;</div>
<div class="line"><a name="l00228"></a><span class="lineno"><a class="line" href="struct_c_d_b10.html#ae954128996312f8c1ac3ef9982dfb033"> 228</a></span>&#160; uint8_t <a class="code" href="struct_c_d_b10.html#ae954128996312f8c1ac3ef9982dfb033">LBA_L_M_MB</a>;</div>
<div class="line"><a name="l00229"></a><span class="lineno"><a class="line" href="struct_c_d_b10.html#aa74c5c59a4bdfeb2aa6e8c163f1fae10"> 229</a></span>&#160; uint8_t <a class="code" href="struct_c_d_b10.html#aa74c5c59a4bdfeb2aa6e8c163f1fae10">LBA_L_M_LB</a>;</div>
<div class="line"><a name="l00230"></a><span class="lineno"><a class="line" href="struct_c_d_b10.html#a82b8e9bddbdbc8ef4d8b19017743f4a9"> 230</a></span>&#160; uint8_t <a class="code" href="struct_c_d_b10.html#a82b8e9bddbdbc8ef4d8b19017743f4a9">LBA_L_L_MB</a>;</div>
<div class="line"><a name="l00231"></a><span class="lineno"><a class="line" href="struct_c_d_b10.html#a87dd0f57fdaedb842f4c7db9b3f7cb2e"> 231</a></span>&#160; uint8_t <a class="code" href="struct_c_d_b10.html#a87dd0f57fdaedb842f4c7db9b3f7cb2e">LBA_L_L_LB</a>;</div>
<div class="line"><a name="l00232"></a><span class="lineno"> 232</span>&#160;</div>
<div class="line"><a name="l00233"></a><span class="lineno"><a class="line" href="struct_c_d_b10.html#a26b2c33b7867c33d19e77c6d873d7924"> 233</a></span>&#160; uint8_t <a class="code" href="struct_c_d_b10.html#a26b2c33b7867c33d19e77c6d873d7924">Misc2</a>;</div>
<div class="line"><a name="l00234"></a><span class="lineno"> 234</span>&#160;</div>
<div class="line"><a name="l00235"></a><span class="lineno"><a class="line" href="struct_c_d_b10.html#a31ae08f4bd0767c4fdb070c4c3f64212"> 235</a></span>&#160; uint8_t <a class="code" href="struct_c_d_b10.html#a31ae08f4bd0767c4fdb070c4c3f64212">ALC_MB</a>;</div>
<div class="line"><a name="l00236"></a><span class="lineno"><a class="line" href="struct_c_d_b10.html#a5115777023c2a37ed50b81db126f648c"> 236</a></span>&#160; uint8_t <a class="code" href="struct_c_d_b10.html#a5115777023c2a37ed50b81db126f648c">ALC_LB</a>;</div>
<div class="line"><a name="l00237"></a><span class="lineno"> 237</span>&#160;</div>
<div class="line"><a name="l00238"></a><span class="lineno"><a class="line" href="struct_c_d_b10.html#aa39a2ed8852448c4bcbba7d3bc478be5"> 238</a></span>&#160; uint8_t <a class="code" href="struct_c_d_b10.html#aa39a2ed8852448c4bcbba7d3bc478be5">Control</a>;</div>
<div class="line"><a name="l00239"></a><span class="lineno"> 239</span>&#160;<span class="keyword">public</span>:</div>
<div class="line"><a name="l00240"></a><span class="lineno"> 240</span>&#160;</div>
<div class="line"><a name="l00241"></a><span class="lineno"><a class="line" href="struct_c_d_b10.html#abd4957a41f650b096987db5963efb674"> 241</a></span>&#160; <a class="code" href="struct_c_d_b10.html#abd4957a41f650b096987db5963efb674">CDB10</a>(uint8_t _Opcode, uint8_t _LUN) :</div>
<div class="line"><a name="l00242"></a><span class="lineno"> 242</span>&#160; Opcode(_Opcode), <a class="code" href="struct_c_d_b10.html#af1cd479d32aae0c581b735eb5aa081bc">Service_Action</a>(0), <a class="code" href="struct_c_d_b10.html#a451be0bca5ee00395c3f6c6993ac384a">LUN</a>(_LUN),</div>
<div class="line"><a name="l00243"></a><span class="lineno"> 243</span>&#160; LBA_L_M_MB(0), LBA_L_M_LB(0), LBA_L_L_MB(0), LBA_L_L_LB(0),</div>
<div class="line"><a name="l00244"></a><span class="lineno"> 244</span>&#160; Misc2(0), ALC_MB(0), ALC_LB(0), Control(0) {</div>
<div class="line"><a name="l00245"></a><span class="lineno"> 245</span>&#160; }</div>
<div class="line"><a name="l00246"></a><span class="lineno"> 246</span>&#160;</div>
<div class="line"><a name="l00247"></a><span class="lineno"><a class="line" href="struct_c_d_b10.html#ae6b8b5161b2e7971603589c35a27c586"> 247</a></span>&#160; <a class="code" href="struct_c_d_b10.html#ae6b8b5161b2e7971603589c35a27c586">CDB10</a>(uint8_t _Opcode, uint8_t _LUN, uint16_t xflen, uint32_t _LBA) :</div>
<div class="line"><a name="l00248"></a><span class="lineno"> 248</span>&#160; Opcode(_Opcode), <a class="code" href="struct_c_d_b10.html#af1cd479d32aae0c581b735eb5aa081bc">Service_Action</a>(0), <a class="code" href="struct_c_d_b10.html#a451be0bca5ee00395c3f6c6993ac384a">LUN</a>(_LUN),</div>
<div class="line"><a name="l00249"></a><span class="lineno"> 249</span>&#160; LBA_L_M_MB(<a class="code" href="macros_8h.html#a9860e9931085c9e299185903eeb0e728">BGRAB3</a>(_LBA)), LBA_L_M_LB(<a class="code" href="macros_8h.html#a49c9ebd69fbb93bd97f9051f592390c6">BGRAB2</a>(_LBA)), LBA_L_L_MB(<a class="code" href="macros_8h.html#a483a8ceb644d44744abff34f61cc5442">BGRAB1</a>(_LBA)), LBA_L_L_LB(<a class="code" href="macros_8h.html#a773ca2920fd4808c94e6645a7a8d63d1">BGRAB0</a>(_LBA)),</div>
<div class="line"><a name="l00250"></a><span class="lineno"> 250</span>&#160; Misc2(0), ALC_MB(<a class="code" href="macros_8h.html#a483a8ceb644d44744abff34f61cc5442">BGRAB1</a>(xflen)), ALC_LB(<a class="code" href="macros_8h.html#a773ca2920fd4808c94e6645a7a8d63d1">BGRAB0</a>(xflen)), Control(0) {</div>
<div class="line"><a name="l00251"></a><span class="lineno"> 251</span>&#160; }</div>
<div class="line"><a name="l00252"></a><span class="lineno"> 252</span>&#160;} __attribute__((packed));</div>
<div class="line"><a name="l00253"></a><span class="lineno"> 253</span>&#160;</div>
<div class="line"><a name="l00254"></a><span class="lineno"><a class="line" href="masstorage_8h.html#af952fd9270407996656ba95772511002"> 254</a></span>&#160;<span class="keyword">typedef</span> <a class="code" href="struct_c_d_b10.html">CDB10</a> <a class="code" href="masstorage_8h.html#af952fd9270407996656ba95772511002">CDB10_t</a>;</div>
<div class="line"><a name="l00255"></a><span class="lineno"> 255</span>&#160;</div>
<div class="line"><a name="l00256"></a><span class="lineno"><a class="line" href="struct_c_d_b12.html"> 256</a></span>&#160;<span class="keyword">struct </span><a class="code" href="struct_c_d_b12.html">CDB12</a> {</div>
<div class="line"><a name="l00257"></a><span class="lineno"><a class="line" href="struct_c_d_b12.html#a75c7fb542c6c0ad6ba4a0e95a49ba1e1"> 257</a></span>&#160; uint8_t <a class="code" href="struct_c_d_b12.html#a75c7fb542c6c0ad6ba4a0e95a49ba1e1">Opcode</a>;</div>
<div class="line"><a name="l00258"></a><span class="lineno"> 258</span>&#160;</div>
<div class="line"><a name="l00259"></a><span class="lineno"><a class="line" href="struct_c_d_b12.html#a7d9153a24a41f0432b1467b39d1d5238"> 259</a></span>&#160; <span class="keywordtype">unsigned</span> <a class="code" href="struct_c_d_b12.html#a7d9153a24a41f0432b1467b39d1d5238">Service_Action</a> : 5;</div>
<div class="line"><a name="l00260"></a><span class="lineno"><a class="line" href="struct_c_d_b12.html#af59803ec81c006b7bdefc03d80579d07"> 260</a></span>&#160; <span class="keywordtype">unsigned</span> <a class="code" href="struct_c_d_b12.html#af59803ec81c006b7bdefc03d80579d07">Misc</a> : 3;</div>
<div class="line"><a name="l00261"></a><span class="lineno"> 261</span>&#160;</div>
<div class="line"><a name="l00262"></a><span class="lineno"><a class="line" href="struct_c_d_b12.html#a6fb44effe62ecb8ec0de742b836fe194"> 262</a></span>&#160; uint8_t <a class="code" href="struct_c_d_b12.html#a6fb44effe62ecb8ec0de742b836fe194">LBA_L_M_LB</a>;</div>
<div class="line"><a name="l00263"></a><span class="lineno"><a class="line" href="struct_c_d_b12.html#a40bc765adf21818c3a1bc3c8ffeabc94"> 263</a></span>&#160; uint8_t <a class="code" href="struct_c_d_b12.html#a40bc765adf21818c3a1bc3c8ffeabc94">LBA_L_L_MB</a>;</div>
<div class="line"><a name="l00264"></a><span class="lineno"><a class="line" href="struct_c_d_b12.html#aa95a1e5187a93f331b34c5aaf05e0cf6"> 264</a></span>&#160; uint8_t <a class="code" href="struct_c_d_b12.html#aa95a1e5187a93f331b34c5aaf05e0cf6">LBA_L_L_LB</a>;</div>
<div class="line"><a name="l00265"></a><span class="lineno"> 265</span>&#160;</div>
<div class="line"><a name="l00266"></a><span class="lineno"><a class="line" href="struct_c_d_b12.html#a4ff6f2492ed55afa147edeb4605e6c06"> 266</a></span>&#160; uint8_t <a class="code" href="struct_c_d_b12.html#a4ff6f2492ed55afa147edeb4605e6c06">ALC_M_LB</a>;</div>
<div class="line"><a name="l00267"></a><span class="lineno"><a class="line" href="struct_c_d_b12.html#a02594e3177ddf6fbc85b11182a00e686"> 267</a></span>&#160; uint8_t <a class="code" href="struct_c_d_b12.html#a02594e3177ddf6fbc85b11182a00e686">ALC_L_MB</a>;</div>
<div class="line"><a name="l00268"></a><span class="lineno"><a class="line" href="struct_c_d_b12.html#a20b3adfe30452dfcb15466097223dc96"> 268</a></span>&#160; uint8_t <a class="code" href="struct_c_d_b12.html#a20b3adfe30452dfcb15466097223dc96">ALC_L_LB</a>;</div>
<div class="line"><a name="l00269"></a><span class="lineno"><a class="line" href="struct_c_d_b12.html#a1478895d17ea1ba1e2a70f5f5904e0b7"> 269</a></span>&#160; uint8_t <a class="code" href="struct_c_d_b12.html#a1478895d17ea1ba1e2a70f5f5904e0b7">Control</a>;</div>
<div class="line"><a name="l00270"></a><span class="lineno"> 270</span>&#160;} __attribute__((packed));</div>
<div class="line"><a name="l00271"></a><span class="lineno"> 271</span>&#160;</div>
<div class="line"><a name="l00272"></a><span class="lineno"><a class="line" href="masstorage_8h.html#aef69aa16d6edcea3e79cb44775be6b94"> 272</a></span>&#160;<span class="keyword">typedef</span> <a class="code" href="struct_c_d_b12.html">CDB12</a> <a class="code" href="masstorage_8h.html#aef69aa16d6edcea3e79cb44775be6b94">CDB12_t</a>;</div>
<div class="line"><a name="l00273"></a><span class="lineno"> 273</span>&#160;</div>
<div class="line"><a name="l00274"></a><span class="lineno"><a class="line" href="struct_c_d_b___l_b_a32__16.html"> 274</a></span>&#160;<span class="keyword">struct </span><a class="code" href="struct_c_d_b___l_b_a32__16.html">CDB_LBA32_16</a> {</div>
<div class="line"><a name="l00275"></a><span class="lineno"><a class="line" href="struct_c_d_b___l_b_a32__16.html#abc471d94f83905561d961f4f90629521"> 275</a></span>&#160; uint8_t <a class="code" href="struct_c_d_b___l_b_a32__16.html#abc471d94f83905561d961f4f90629521">Opcode</a>;</div>
<div class="line"><a name="l00276"></a><span class="lineno"> 276</span>&#160;</div>
<div class="line"><a name="l00277"></a><span class="lineno"><a class="line" href="struct_c_d_b___l_b_a32__16.html#a7e845f1253ac116a6e9d7178f1f82b6d"> 277</a></span>&#160; <span class="keywordtype">unsigned</span> <a class="code" href="struct_c_d_b___l_b_a32__16.html#a7e845f1253ac116a6e9d7178f1f82b6d">Service_Action</a> : 5;</div>
<div class="line"><a name="l00278"></a><span class="lineno"><a class="line" href="struct_c_d_b___l_b_a32__16.html#a50e5250b635b8782b1a82f4f137feefb"> 278</a></span>&#160; <span class="keywordtype">unsigned</span> <a class="code" href="struct_c_d_b___l_b_a32__16.html#a50e5250b635b8782b1a82f4f137feefb">Misc</a> : 3;</div>
<div class="line"><a name="l00279"></a><span class="lineno"> 279</span>&#160;</div>
<div class="line"><a name="l00280"></a><span class="lineno"><a class="line" href="struct_c_d_b___l_b_a32__16.html#a4a6ab8304338fa8af41bc180413a4c37"> 280</a></span>&#160; uint8_t <a class="code" href="struct_c_d_b___l_b_a32__16.html#a4a6ab8304338fa8af41bc180413a4c37">LBA_L_M_MB</a>;</div>
<div class="line"><a name="l00281"></a><span class="lineno"><a class="line" href="struct_c_d_b___l_b_a32__16.html#af642464073c45113c7fdf221f40ade1b"> 281</a></span>&#160; uint8_t <a class="code" href="struct_c_d_b___l_b_a32__16.html#af642464073c45113c7fdf221f40ade1b">LBA_L_M_LB</a>;</div>
<div class="line"><a name="l00282"></a><span class="lineno"><a class="line" href="struct_c_d_b___l_b_a32__16.html#a9b4af68995d60538e2c15ce5e2c06754"> 282</a></span>&#160; uint8_t <a class="code" href="struct_c_d_b___l_b_a32__16.html#a9b4af68995d60538e2c15ce5e2c06754">LBA_L_L_MB</a>;</div>
<div class="line"><a name="l00283"></a><span class="lineno"><a class="line" href="struct_c_d_b___l_b_a32__16.html#a1e239989f80f36157fd9271f2141acd1"> 283</a></span>&#160; uint8_t <a class="code" href="struct_c_d_b___l_b_a32__16.html#a1e239989f80f36157fd9271f2141acd1">LBA_L_L_LB</a>;</div>
<div class="line"><a name="l00284"></a><span class="lineno"> 284</span>&#160;</div>
<div class="line"><a name="l00285"></a><span class="lineno"><a class="line" href="struct_c_d_b___l_b_a32__16.html#aceab9e7479ff5e3a7ea449a97a6e26e2"> 285</a></span>&#160; uint8_t <a class="code" href="struct_c_d_b___l_b_a32__16.html#aceab9e7479ff5e3a7ea449a97a6e26e2">A_M_M_MB</a>;</div>
<div class="line"><a name="l00286"></a><span class="lineno"><a class="line" href="struct_c_d_b___l_b_a32__16.html#afe7168380c8e629cc53432938b47f1f1"> 286</a></span>&#160; uint8_t <a class="code" href="struct_c_d_b___l_b_a32__16.html#afe7168380c8e629cc53432938b47f1f1">A_M_M_LB</a>;</div>
<div class="line"><a name="l00287"></a><span class="lineno"><a class="line" href="struct_c_d_b___l_b_a32__16.html#a104deb61d8c0973b5140fd8f586df4e9"> 287</a></span>&#160; uint8_t <a class="code" href="struct_c_d_b___l_b_a32__16.html#a104deb61d8c0973b5140fd8f586df4e9">A_M_L_MB</a>;</div>
<div class="line"><a name="l00288"></a><span class="lineno"><a class="line" href="struct_c_d_b___l_b_a32__16.html#a636ad8867ce15eb200e30fe1002f3df2"> 288</a></span>&#160; uint8_t <a class="code" href="struct_c_d_b___l_b_a32__16.html#a636ad8867ce15eb200e30fe1002f3df2">A_M_L_LB</a>;</div>
<div class="line"><a name="l00289"></a><span class="lineno"> 289</span>&#160;</div>
<div class="line"><a name="l00290"></a><span class="lineno"><a class="line" href="struct_c_d_b___l_b_a32__16.html#ab03ff411de8da944cbaba39bd33ae7bc"> 290</a></span>&#160; uint8_t <a class="code" href="struct_c_d_b___l_b_a32__16.html#ab03ff411de8da944cbaba39bd33ae7bc">ALC_M_MB</a>;</div>
<div class="line"><a name="l00291"></a><span class="lineno"><a class="line" href="struct_c_d_b___l_b_a32__16.html#a57fc0fb5cba1f737be25721e7f34f11f"> 291</a></span>&#160; uint8_t <a class="code" href="struct_c_d_b___l_b_a32__16.html#a57fc0fb5cba1f737be25721e7f34f11f">ALC_M_LB</a>;</div>
<div class="line"><a name="l00292"></a><span class="lineno"><a class="line" href="struct_c_d_b___l_b_a32__16.html#afc2671b54d66b5b06fba9a73c2c4cad9"> 292</a></span>&#160; uint8_t <a class="code" href="struct_c_d_b___l_b_a32__16.html#afc2671b54d66b5b06fba9a73c2c4cad9">ALC_L_MB</a>;</div>
<div class="line"><a name="l00293"></a><span class="lineno"><a class="line" href="struct_c_d_b___l_b_a32__16.html#a03d583e8bd99b2d196d734ffd0951fff"> 293</a></span>&#160; uint8_t <a class="code" href="struct_c_d_b___l_b_a32__16.html#a03d583e8bd99b2d196d734ffd0951fff">ALC_L_LB</a>;</div>
<div class="line"><a name="l00294"></a><span class="lineno"> 294</span>&#160;</div>
<div class="line"><a name="l00295"></a><span class="lineno"><a class="line" href="struct_c_d_b___l_b_a32__16.html#a3809ba2a5399bd407b50b04b8c83cb9f"> 295</a></span>&#160; uint8_t <a class="code" href="struct_c_d_b___l_b_a32__16.html#a3809ba2a5399bd407b50b04b8c83cb9f">Misc2</a>;</div>
<div class="line"><a name="l00296"></a><span class="lineno"><a class="line" href="struct_c_d_b___l_b_a32__16.html#aed4424e6a3afd515084359084a5e8fcb"> 296</a></span>&#160; uint8_t <a class="code" href="struct_c_d_b___l_b_a32__16.html#aed4424e6a3afd515084359084a5e8fcb">Control</a>;</div>
<div class="line"><a name="l00297"></a><span class="lineno"> 297</span>&#160;} __attribute__((packed));</div>
<div class="line"><a name="l00298"></a><span class="lineno"> 298</span>&#160;</div>
<div class="line"><a name="l00299"></a><span class="lineno"><a class="line" href="struct_c_d_b___l_b_a64__16.html"> 299</a></span>&#160;<span class="keyword">struct </span><a class="code" href="struct_c_d_b___l_b_a64__16.html">CDB_LBA64_16</a> {</div>
<div class="line"><a name="l00300"></a><span class="lineno"><a class="line" href="struct_c_d_b___l_b_a64__16.html#a20868e9b945a51e146af8a31cad92977"> 300</a></span>&#160; uint8_t <a class="code" href="struct_c_d_b___l_b_a64__16.html#a20868e9b945a51e146af8a31cad92977">Opcode</a>;</div>
<div class="line"><a name="l00301"></a><span class="lineno"><a class="line" href="struct_c_d_b___l_b_a64__16.html#a5f3b9efa508e9e3d79a70414ea5c74ff"> 301</a></span>&#160; uint8_t <a class="code" href="struct_c_d_b___l_b_a64__16.html#a5f3b9efa508e9e3d79a70414ea5c74ff">Misc</a>;</div>
<div class="line"><a name="l00302"></a><span class="lineno"> 302</span>&#160;</div>
<div class="line"><a name="l00303"></a><span class="lineno"><a class="line" href="struct_c_d_b___l_b_a64__16.html#a0d132ae68523608e5365f253072da224"> 303</a></span>&#160; uint8_t <a class="code" href="struct_c_d_b___l_b_a64__16.html#a0d132ae68523608e5365f253072da224">LBA_M_M_MB</a>;</div>
<div class="line"><a name="l00304"></a><span class="lineno"><a class="line" href="struct_c_d_b___l_b_a64__16.html#aed9c8595adf84a0fde2176afe2e45608"> 304</a></span>&#160; uint8_t <a class="code" href="struct_c_d_b___l_b_a64__16.html#aed9c8595adf84a0fde2176afe2e45608">LBA_M_M_LB</a>;</div>
<div class="line"><a name="l00305"></a><span class="lineno"><a class="line" href="struct_c_d_b___l_b_a64__16.html#a3e6a585296d7ae2e425604b1b1ba3113"> 305</a></span>&#160; uint8_t <a class="code" href="struct_c_d_b___l_b_a64__16.html#a3e6a585296d7ae2e425604b1b1ba3113">LBA_M_L_MB</a>;</div>
<div class="line"><a name="l00306"></a><span class="lineno"><a class="line" href="struct_c_d_b___l_b_a64__16.html#ad3fc14c1607698368df8704cc8d21562"> 306</a></span>&#160; uint8_t <a class="code" href="struct_c_d_b___l_b_a64__16.html#ad3fc14c1607698368df8704cc8d21562">LBA_M_L_LB</a>;</div>
<div class="line"><a name="l00307"></a><span class="lineno"> 307</span>&#160;</div>
<div class="line"><a name="l00308"></a><span class="lineno"><a class="line" href="struct_c_d_b___l_b_a64__16.html#a84e73dddce6f0967367cbfaeb64bb01f"> 308</a></span>&#160; uint8_t <a class="code" href="struct_c_d_b___l_b_a64__16.html#a84e73dddce6f0967367cbfaeb64bb01f">LBA_L_M_MB</a>;</div>
<div class="line"><a name="l00309"></a><span class="lineno"><a class="line" href="struct_c_d_b___l_b_a64__16.html#a63cbcd1af4db45506a83c7ec603b44ea"> 309</a></span>&#160; uint8_t <a class="code" href="struct_c_d_b___l_b_a64__16.html#a63cbcd1af4db45506a83c7ec603b44ea">LBA_L_M_LB</a>;</div>
<div class="line"><a name="l00310"></a><span class="lineno"><a class="line" href="struct_c_d_b___l_b_a64__16.html#a43f9e4f510e12a6fcc5afd90f740f76e"> 310</a></span>&#160; uint8_t <a class="code" href="struct_c_d_b___l_b_a64__16.html#a43f9e4f510e12a6fcc5afd90f740f76e">LBA_L_L_MB</a>;</div>
<div class="line"><a name="l00311"></a><span class="lineno"><a class="line" href="struct_c_d_b___l_b_a64__16.html#a275834d52785e9b72c4eb6b8c0a7d2e2"> 311</a></span>&#160; uint8_t <a class="code" href="struct_c_d_b___l_b_a64__16.html#a275834d52785e9b72c4eb6b8c0a7d2e2">LBA_L_L_LB</a>;</div>
<div class="line"><a name="l00312"></a><span class="lineno"> 312</span>&#160;</div>
<div class="line"><a name="l00313"></a><span class="lineno"><a class="line" href="struct_c_d_b___l_b_a64__16.html#a9cf979f1acbdc8e11b29b1f9aa81c2f3"> 313</a></span>&#160; uint8_t <a class="code" href="struct_c_d_b___l_b_a64__16.html#a9cf979f1acbdc8e11b29b1f9aa81c2f3">ALC_M_MB</a>;</div>
<div class="line"><a name="l00314"></a><span class="lineno"><a class="line" href="struct_c_d_b___l_b_a64__16.html#a61acd48736824f7a82f23e3dd52a3233"> 314</a></span>&#160; uint8_t <a class="code" href="struct_c_d_b___l_b_a64__16.html#a61acd48736824f7a82f23e3dd52a3233">ALC_M_LB</a>;</div>
<div class="line"><a name="l00315"></a><span class="lineno"><a class="line" href="struct_c_d_b___l_b_a64__16.html#accc008fb29aef96d80833c81b1ab6a7b"> 315</a></span>&#160; uint8_t <a class="code" href="struct_c_d_b___l_b_a64__16.html#accc008fb29aef96d80833c81b1ab6a7b">ALC_L_MB</a>;</div>
<div class="line"><a name="l00316"></a><span class="lineno"><a class="line" href="struct_c_d_b___l_b_a64__16.html#a1b0f65bbe0956d6e4c99d00339fadfec"> 316</a></span>&#160; uint8_t <a class="code" href="struct_c_d_b___l_b_a64__16.html#a1b0f65bbe0956d6e4c99d00339fadfec">ALC_L_LB</a>;</div>
<div class="line"><a name="l00317"></a><span class="lineno"> 317</span>&#160;</div>
<div class="line"><a name="l00318"></a><span class="lineno"><a class="line" href="struct_c_d_b___l_b_a64__16.html#a9a71353cc6ecb838dfd560a3c985e4a6"> 318</a></span>&#160; uint8_t <a class="code" href="struct_c_d_b___l_b_a64__16.html#a9a71353cc6ecb838dfd560a3c985e4a6">Misc2</a>;</div>
<div class="line"><a name="l00319"></a><span class="lineno"><a class="line" href="struct_c_d_b___l_b_a64__16.html#ad40f82369182a1001877c7f8d818c418"> 319</a></span>&#160; uint8_t <a class="code" href="struct_c_d_b___l_b_a64__16.html#ad40f82369182a1001877c7f8d818c418">Control</a>;</div>
<div class="line"><a name="l00320"></a><span class="lineno"> 320</span>&#160;} __attribute__((packed));</div>
<div class="line"><a name="l00321"></a><span class="lineno"> 321</span>&#160;</div>
<div class="line"><a name="l00322"></a><span class="lineno"><a class="line" href="struct_inquiry_response.html"> 322</a></span>&#160;<span class="keyword">struct </span><a class="code" href="struct_inquiry_response.html">InquiryResponse</a> {</div>
<div class="line"><a name="l00323"></a><span class="lineno"><a class="line" href="struct_inquiry_response.html#abc2af027a176dc85d4e83f14eec7972e"> 323</a></span>&#160; uint8_t <a class="code" href="struct_inquiry_response.html#abc2af027a176dc85d4e83f14eec7972e">DeviceType</a> : 5;</div>
<div class="line"><a name="l00324"></a><span class="lineno"><a class="line" href="struct_inquiry_response.html#a8e8f2cb6b5a0d1ed2c300155bf2b3faa"> 324</a></span>&#160; uint8_t <a class="code" href="struct_inquiry_response.html#a8e8f2cb6b5a0d1ed2c300155bf2b3faa">PeripheralQualifier</a> : 3;</div>
<div class="line"><a name="l00325"></a><span class="lineno"> 325</span>&#160;</div>
<div class="line"><a name="l00326"></a><span class="lineno"><a class="line" href="struct_inquiry_response.html#abb4a48d4fc326ad932fb41c82fe289f3"> 326</a></span>&#160; <span class="keywordtype">unsigned</span> <a class="code" href="struct_inquiry_response.html#abb4a48d4fc326ad932fb41c82fe289f3">Reserved</a> : 7;</div>
<div class="line"><a name="l00327"></a><span class="lineno"><a class="line" href="struct_inquiry_response.html#ab6572ef8e5cd457e0699095f6a0c7a3d"> 327</a></span>&#160; <span class="keywordtype">unsigned</span> <a class="code" href="struct_inquiry_response.html#ab6572ef8e5cd457e0699095f6a0c7a3d">Removable</a> : 1;</div>
<div class="line"><a name="l00328"></a><span class="lineno"> 328</span>&#160;</div>
<div class="line"><a name="l00329"></a><span class="lineno"><a class="line" href="struct_inquiry_response.html#a86832a5def98c1e21447497177a8cc3a"> 329</a></span>&#160; uint8_t <a class="code" href="struct_inquiry_response.html#a86832a5def98c1e21447497177a8cc3a">Version</a>;</div>
<div class="line"><a name="l00330"></a><span class="lineno"> 330</span>&#160;</div>
<div class="line"><a name="l00331"></a><span class="lineno"><a class="line" href="struct_inquiry_response.html#a801e10546dedbd134568bef84f1b287a"> 331</a></span>&#160; <span class="keywordtype">unsigned</span> <a class="code" href="struct_inquiry_response.html#a801e10546dedbd134568bef84f1b287a">ResponseDataFormat</a> : 4;</div>
<div class="line"><a name="l00332"></a><span class="lineno"><a class="line" href="struct_inquiry_response.html#a64b542b21ee54739136235785563e036"> 332</a></span>&#160; <span class="keywordtype">unsigned</span> <a class="code" href="struct_inquiry_response.html#a64b542b21ee54739136235785563e036">HISUP</a> : 1;</div>
<div class="line"><a name="l00333"></a><span class="lineno"><a class="line" href="struct_inquiry_response.html#a02cb9a4f4f1a080853eeb3fe3a97b6fe"> 333</a></span>&#160; <span class="keywordtype">unsigned</span> <a class="code" href="struct_inquiry_response.html#a02cb9a4f4f1a080853eeb3fe3a97b6fe">NormACA</a> : 1;</div>
<div class="line"><a name="l00334"></a><span class="lineno"><a class="line" href="struct_inquiry_response.html#add4ccc2e5f626d29a24e5f38149a2e76"> 334</a></span>&#160; <span class="keywordtype">unsigned</span> <a class="code" href="struct_inquiry_response.html#add4ccc2e5f626d29a24e5f38149a2e76">TrmTsk</a> : 1;</div>
<div class="line"><a name="l00335"></a><span class="lineno"><a class="line" href="struct_inquiry_response.html#ad02da835cba8057f07b359903ee0c389"> 335</a></span>&#160; <span class="keywordtype">unsigned</span> <a class="code" href="struct_inquiry_response.html#ad02da835cba8057f07b359903ee0c389">AERC</a> : 1;</div>
<div class="line"><a name="l00336"></a><span class="lineno"> 336</span>&#160;</div>
<div class="line"><a name="l00337"></a><span class="lineno"><a class="line" href="struct_inquiry_response.html#abf1bb662cae5c4d2c2e4dbb454f92e91"> 337</a></span>&#160; uint8_t <a class="code" href="struct_inquiry_response.html#abf1bb662cae5c4d2c2e4dbb454f92e91">AdditionalLength</a>;</div>
<div class="line"><a name="l00338"></a><span class="lineno"> 338</span>&#160; <span class="comment">//uint8_t Reserved3[2];</span></div>
<div class="line"><a name="l00339"></a><span class="lineno"> 339</span>&#160;</div>
<div class="line"><a name="l00340"></a><span class="lineno"><a class="line" href="struct_inquiry_response.html#a0acb31c77f25be1d6e37c827147645af"> 340</a></span>&#160; <span class="keywordtype">unsigned</span> <a class="code" href="struct_inquiry_response.html#a0acb31c77f25be1d6e37c827147645af">PROTECT</a> : 1;</div>
<div class="line"><a name="l00341"></a><span class="lineno"><a class="line" href="struct_inquiry_response.html#a9f642c5fccc1c87cf6b444a138b6aa4b"> 341</a></span>&#160; <span class="keywordtype">unsigned</span> <a class="code" href="struct_inquiry_response.html#a9f642c5fccc1c87cf6b444a138b6aa4b">Res</a> : 2;</div>
<div class="line"><a name="l00342"></a><span class="lineno"><a class="line" href="struct_inquiry_response.html#a48b774030b80f98823e9b38aba8a625d"> 342</a></span>&#160; <span class="keywordtype">unsigned</span> <a class="code" href="struct_inquiry_response.html#a48b774030b80f98823e9b38aba8a625d">ThreePC</a> : 1;</div>
<div class="line"><a name="l00343"></a><span class="lineno"><a class="line" href="struct_inquiry_response.html#ada0ff6b78ecefa9b00bbe4e518ca4870"> 343</a></span>&#160; <span class="keywordtype">unsigned</span> <a class="code" href="struct_inquiry_response.html#ada0ff6b78ecefa9b00bbe4e518ca4870">TPGS</a> : 2;</div>
<div class="line"><a name="l00344"></a><span class="lineno"><a class="line" href="struct_inquiry_response.html#a5b8449c749fe6290adc3bf0901697fbb"> 344</a></span>&#160; <span class="keywordtype">unsigned</span> <a class="code" href="struct_inquiry_response.html#a5b8449c749fe6290adc3bf0901697fbb">ACC</a> : 1;</div>
<div class="line"><a name="l00345"></a><span class="lineno"><a class="line" href="struct_inquiry_response.html#a3ed45a85bce19a76850cf5085ab35187"> 345</a></span>&#160; <span class="keywordtype">unsigned</span> <a class="code" href="struct_inquiry_response.html#a3ed45a85bce19a76850cf5085ab35187">SCCS</a> : 1;</div>
<div class="line"><a name="l00346"></a><span class="lineno"> 346</span>&#160;</div>
<div class="line"><a name="l00347"></a><span class="lineno"><a class="line" href="struct_inquiry_response.html#ada87cc4b574b2d9dcce27c6837ee09a3"> 347</a></span>&#160; <span class="keywordtype">unsigned</span> <a class="code" href="struct_inquiry_response.html#ada87cc4b574b2d9dcce27c6837ee09a3">ADDR16</a> : 1;</div>
<div class="line"><a name="l00348"></a><span class="lineno"><a class="line" href="struct_inquiry_response.html#a72abbdbd399647227ea05cb1cec32b2d"> 348</a></span>&#160; <span class="keywordtype">unsigned</span> <a class="code" href="struct_inquiry_response.html#a72abbdbd399647227ea05cb1cec32b2d">R1</a> : 1;</div>
<div class="line"><a name="l00349"></a><span class="lineno"><a class="line" href="struct_inquiry_response.html#aa635575deb7f984d27142ee2071af5b3"> 349</a></span>&#160; <span class="keywordtype">unsigned</span> <a class="code" href="struct_inquiry_response.html#aa635575deb7f984d27142ee2071af5b3">R2</a> : 1;</div>
<div class="line"><a name="l00350"></a><span class="lineno"><a class="line" href="struct_inquiry_response.html#ac4236ae883e8948bc73e91b6ad091ba8"> 350</a></span>&#160; <span class="keywordtype">unsigned</span> <a class="code" href="struct_inquiry_response.html#ac4236ae883e8948bc73e91b6ad091ba8">MCHNGR</a> : 1;</div>
<div class="line"><a name="l00351"></a><span class="lineno"><a class="line" href="struct_inquiry_response.html#a6a3fdde354529eb47ea3f43975bc224d"> 351</a></span>&#160; <span class="keywordtype">unsigned</span> <a class="code" href="struct_inquiry_response.html#a6a3fdde354529eb47ea3f43975bc224d">MULTIP</a> : 1;</div>
<div class="line"><a name="l00352"></a><span class="lineno"><a class="line" href="struct_inquiry_response.html#a9a6c47a45be5bd1ce230c9fac3cc9bbd"> 352</a></span>&#160; <span class="keywordtype">unsigned</span> <a class="code" href="struct_inquiry_response.html#a9a6c47a45be5bd1ce230c9fac3cc9bbd">VS</a> : 1;</div>
<div class="line"><a name="l00353"></a><span class="lineno"><a class="line" href="struct_inquiry_response.html#a6b4df8c5346c15186c9f200997bfb287"> 353</a></span>&#160; <span class="keywordtype">unsigned</span> <a class="code" href="struct_inquiry_response.html#a6b4df8c5346c15186c9f200997bfb287">ENCSERV</a> : 1;</div>
<div class="line"><a name="l00354"></a><span class="lineno"><a class="line" href="struct_inquiry_response.html#af735c28637c0ebc8f3e8a04f7b3023cc"> 354</a></span>&#160; <span class="keywordtype">unsigned</span> <a class="code" href="struct_inquiry_response.html#af735c28637c0ebc8f3e8a04f7b3023cc">BQUE</a> : 1;</div>
<div class="line"><a name="l00355"></a><span class="lineno"> 355</span>&#160;</div>
<div class="line"><a name="l00356"></a><span class="lineno"><a class="line" href="struct_inquiry_response.html#ac912c8788475256de0bb7139e4a9f069"> 356</a></span>&#160; <span class="keywordtype">unsigned</span> <a class="code" href="struct_inquiry_response.html#ac912c8788475256de0bb7139e4a9f069">SoftReset</a> : 1;</div>
<div class="line"><a name="l00357"></a><span class="lineno"><a class="line" href="struct_inquiry_response.html#a335e2997167a36347d717e1ed997f9be"> 357</a></span>&#160; <span class="keywordtype">unsigned</span> <a class="code" href="struct_inquiry_response.html#a335e2997167a36347d717e1ed997f9be">CmdQue</a> : 1;</div>
<div class="line"><a name="l00358"></a><span class="lineno"><a class="line" href="struct_inquiry_response.html#ae5c315ca0c47104b17d5bde7c4d485a6"> 358</a></span>&#160; <span class="keywordtype">unsigned</span> <a class="code" href="struct_inquiry_response.html#ae5c315ca0c47104b17d5bde7c4d485a6">Reserved4</a> : 1;</div>
<div class="line"><a name="l00359"></a><span class="lineno"><a class="line" href="struct_inquiry_response.html#ac0ee71a9c07b0c1fd9ff09461a81fa0e"> 359</a></span>&#160; <span class="keywordtype">unsigned</span> <a class="code" href="struct_inquiry_response.html#ac0ee71a9c07b0c1fd9ff09461a81fa0e">Linked</a> : 1;</div>
<div class="line"><a name="l00360"></a><span class="lineno"><a class="line" href="struct_inquiry_response.html#ac70c33310966b01936cd0c3ab7477c83"> 360</a></span>&#160; <span class="keywordtype">unsigned</span> <a class="code" href="struct_inquiry_response.html#ac70c33310966b01936cd0c3ab7477c83">Sync</a> : 1;</div>
<div class="line"><a name="l00361"></a><span class="lineno"><a class="line" href="struct_inquiry_response.html#a39a63fd0fd92c50370af9aefe93c13cf"> 361</a></span>&#160; <span class="keywordtype">unsigned</span> <a class="code" href="struct_inquiry_response.html#a39a63fd0fd92c50370af9aefe93c13cf">WideBus16Bit</a> : 1;</div>
<div class="line"><a name="l00362"></a><span class="lineno"><a class="line" href="struct_inquiry_response.html#a78c6cf3387430de8176b006c4915be63"> 362</a></span>&#160; <span class="keywordtype">unsigned</span> <a class="code" href="struct_inquiry_response.html#a78c6cf3387430de8176b006c4915be63">WideBus32Bit</a> : 1;</div>
<div class="line"><a name="l00363"></a><span class="lineno"><a class="line" href="struct_inquiry_response.html#a64121510090cb38926bbb321e98b1a13"> 363</a></span>&#160; <span class="keywordtype">unsigned</span> <a class="code" href="struct_inquiry_response.html#a64121510090cb38926bbb321e98b1a13">RelAddr</a> : 1;</div>
<div class="line"><a name="l00364"></a><span class="lineno"> 364</span>&#160;</div>
<div class="line"><a name="l00365"></a><span class="lineno"><a class="line" href="struct_inquiry_response.html#acc610ff84bef225f8826585725ad9802"> 365</a></span>&#160; uint8_t <a class="code" href="struct_inquiry_response.html#acc610ff84bef225f8826585725ad9802">VendorID</a>[8];</div>
<div class="line"><a name="l00366"></a><span class="lineno"><a class="line" href="struct_inquiry_response.html#a02c12d5c3f7b9e821c6f28dc827f5629"> 366</a></span>&#160; uint8_t <a class="code" href="struct_inquiry_response.html#a02c12d5c3f7b9e821c6f28dc827f5629">ProductID</a>[16];</div>
<div class="line"><a name="l00367"></a><span class="lineno"><a class="line" href="struct_inquiry_response.html#a23775c8cb582ae07c78449dc1a08c23e"> 367</a></span>&#160; uint8_t <a class="code" href="struct_inquiry_response.html#a23775c8cb582ae07c78449dc1a08c23e">RevisionID</a>[4];</div>
<div class="line"><a name="l00368"></a><span class="lineno"> 368</span>&#160;} __attribute__((packed));</div>
<div class="line"><a name="l00369"></a><span class="lineno"> 369</span>&#160;</div>
<div class="line"><a name="l00370"></a><span class="lineno"><a class="line" href="struct_command_block_wrapper_base.html"> 370</a></span>&#160;<span class="keyword">struct </span><a class="code" href="struct_command_block_wrapper_base.html">CommandBlockWrapperBase</a> {</div>
<div class="line"><a name="l00371"></a><span class="lineno"><a class="line" href="struct_command_block_wrapper_base.html#a133ffc8ac9be6ce284f10efece567748"> 371</a></span>&#160; uint32_t <a class="code" href="struct_command_block_wrapper_base.html#a133ffc8ac9be6ce284f10efece567748">dCBWSignature</a>;</div>
<div class="line"><a name="l00372"></a><span class="lineno"><a class="line" href="struct_command_block_wrapper_base.html#a0898a332eec2d598b80a896ff66d5549"> 372</a></span>&#160; uint32_t <a class="code" href="struct_command_block_wrapper_base.html#a0898a332eec2d598b80a896ff66d5549">dCBWTag</a>;</div>
<div class="line"><a name="l00373"></a><span class="lineno"><a class="line" href="struct_command_block_wrapper_base.html#a62c537797107ada830b86e1f2d629164"> 373</a></span>&#160; uint32_t <a class="code" href="struct_command_block_wrapper_base.html#a62c537797107ada830b86e1f2d629164">dCBWDataTransferLength</a>;</div>
<div class="line"><a name="l00374"></a><span class="lineno"><a class="line" href="struct_command_block_wrapper_base.html#a396b36ceef993c32f28b1354727a5e9e"> 374</a></span>&#160; uint8_t <a class="code" href="struct_command_block_wrapper_base.html#a396b36ceef993c32f28b1354727a5e9e">bmCBWFlags</a>;</div>
<div class="line"><a name="l00375"></a><span class="lineno"> 375</span>&#160;<span class="keyword">public</span>:</div>
<div class="line"><a name="l00376"></a><span class="lineno"> 376</span>&#160;</div>
<div class="line"><a name="l00377"></a><span class="lineno"><a class="line" href="struct_command_block_wrapper_base.html#a48ae766ceb4fa43c7506e0f3b2982da0"> 377</a></span>&#160; <a class="code" href="struct_command_block_wrapper_base.html#a48ae766ceb4fa43c7506e0f3b2982da0">CommandBlockWrapperBase</a>() {</div>
<div class="line"><a name="l00378"></a><span class="lineno"> 378</span>&#160; }</div>
<div class="line"><a name="l00379"></a><span class="lineno"> 379</span>&#160;</div>
<div class="line"><a name="l00380"></a><span class="lineno"><a class="line" href="struct_command_block_wrapper_base.html#a4790cb74c1b2a0fd6bb73d46724a35e3"> 380</a></span>&#160; <a class="code" href="struct_command_block_wrapper_base.html#a4790cb74c1b2a0fd6bb73d46724a35e3">CommandBlockWrapperBase</a>(uint32_t tag, uint32_t xflen, uint8_t flgs) :</div>
<div class="line"><a name="l00381"></a><span class="lineno"> 381</span>&#160; dCBWSignature(<a class="code" href="masstorage_8h.html#a439c9558fff25c40219c0f20244e666d">MASS_CBW_SIGNATURE</a>), dCBWTag(tag), dCBWDataTransferLength(xflen), bmCBWFlags(flgs) {</div>
<div class="line"><a name="l00382"></a><span class="lineno"> 382</span>&#160; }</div>
<div class="line"><a name="l00383"></a><span class="lineno"> 383</span>&#160;} __attribute__((packed));</div>
<div class="line"><a name="l00384"></a><span class="lineno"> 384</span>&#160;</div>
<div class="line"><a name="l00385"></a><span class="lineno"><a class="line" href="struct_command_block_wrapper.html"> 385</a></span>&#160;<span class="keyword">struct </span><a class="code" href="struct_command_block_wrapper.html">CommandBlockWrapper</a> : <span class="keyword">public</span> <a class="code" href="struct_command_block_wrapper_base.html">CommandBlockWrapperBase</a> {</div>
<div class="line"><a name="l00386"></a><span class="lineno"> 386</span>&#160;</div>
<div class="line"><a name="l00387"></a><span class="lineno"> 387</span>&#160; <span class="keyword">struct </span>{</div>
<div class="line"><a name="l00388"></a><span class="lineno"><a class="line" href="struct_command_block_wrapper.html#a2a16bb9a98e3ee4eaac8fea6310b4e01"> 388</a></span>&#160; uint8_t <a class="code" href="struct_command_block_wrapper.html#a2a16bb9a98e3ee4eaac8fea6310b4e01">bmCBWLUN</a> : 4;</div>
<div class="line"><a name="l00389"></a><span class="lineno"><a class="line" href="struct_command_block_wrapper.html#a4954eacb2cd6d0ee7be475da3b46d907"> 389</a></span>&#160; uint8_t <a class="code" href="struct_command_block_wrapper.html#a4954eacb2cd6d0ee7be475da3b46d907">bmReserved1</a> : 4;</div>
<div class="line"><a name="l00390"></a><span class="lineno"> 390</span>&#160; };</div>
<div class="line"><a name="l00391"></a><span class="lineno"> 391</span>&#160;</div>
<div class="line"><a name="l00392"></a><span class="lineno"> 392</span>&#160; <span class="keyword">struct </span>{</div>
<div class="line"><a name="l00393"></a><span class="lineno"><a class="line" href="struct_command_block_wrapper.html#a069c89f584abbf45c13ebb85ca906494"> 393</a></span>&#160; uint8_t <a class="code" href="struct_command_block_wrapper.html#a069c89f584abbf45c13ebb85ca906494">bmCBWCBLength</a> : 4;</div>
<div class="line"><a name="l00394"></a><span class="lineno"><a class="line" href="struct_command_block_wrapper.html#ac651509a5fc7789ba59d21fe94c55e77"> 394</a></span>&#160; uint8_t <a class="code" href="struct_command_block_wrapper.html#ac651509a5fc7789ba59d21fe94c55e77">bmReserved2</a> : 4;</div>
<div class="line"><a name="l00395"></a><span class="lineno"> 395</span>&#160; };</div>
<div class="line"><a name="l00396"></a><span class="lineno"> 396</span>&#160;</div>
<div class="line"><a name="l00397"></a><span class="lineno"><a class="line" href="struct_command_block_wrapper.html#a2f5feafb5e1c993454c1ccd14a17965a"> 397</a></span>&#160; uint8_t <a class="code" href="struct_command_block_wrapper.html#a2f5feafb5e1c993454c1ccd14a17965a">CBWCB</a>[16];</div>
<div class="line"><a name="l00398"></a><span class="lineno"> 398</span>&#160;</div>
<div class="line"><a name="l00399"></a><span class="lineno"> 399</span>&#160;<span class="keyword">public</span>:</div>
<div class="line"><a name="l00400"></a><span class="lineno"> 400</span>&#160; <span class="comment">// All zeroed.</span></div>
<div class="line"><a name="l00401"></a><span class="lineno"> 401</span>&#160;</div>
<div class="line"><a name="l00402"></a><span class="lineno"><a class="line" href="struct_command_block_wrapper.html#afc172d7a8531a20ac0ff37bd43ff9335"> 402</a></span>&#160; <a class="code" href="struct_command_block_wrapper.html#afc172d7a8531a20ac0ff37bd43ff9335">CommandBlockWrapper</a>() :</div>
<div class="line"><a name="l00403"></a><span class="lineno"> 403</span>&#160; <a class="code" href="struct_command_block_wrapper_base.html">CommandBlockWrapperBase</a>(0, 0, 0), <a class="code" href="struct_command_block_wrapper.html#a4954eacb2cd6d0ee7be475da3b46d907">bmReserved1</a>(0), <a class="code" href="struct_command_block_wrapper.html#ac651509a5fc7789ba59d21fe94c55e77">bmReserved2</a>(0) {</div>
<div class="line"><a name="l00404"></a><span class="lineno"> 404</span>&#160; <span class="keywordflow">for</span>(<span class="keywordtype">int</span> i = 0; i &lt; 16; i++) CBWCB[i] = 0;</div>
<div class="line"><a name="l00405"></a><span class="lineno"> 405</span>&#160; }</div>
<div class="line"><a name="l00406"></a><span class="lineno"> 406</span>&#160;</div>
<div class="line"><a name="l00407"></a><span class="lineno"> 407</span>&#160; <span class="comment">// Generic Wrap, CDB zeroed.</span></div>
<div class="line"><a name="l00408"></a><span class="lineno"> 408</span>&#160;</div>
<div class="line"><a name="l00409"></a><span class="lineno"><a class="line" href="struct_command_block_wrapper.html#aed4fbab705f9d412f5f436b8b4ad1b18"> 409</a></span>&#160; <a class="code" href="struct_command_block_wrapper.html#aed4fbab705f9d412f5f436b8b4ad1b18">CommandBlockWrapper</a>(uint32_t tag, uint32_t xflen, uint8_t flgs, uint8_t lu, uint8_t cmdlen, uint8_t cmd) :</div>
<div class="line"><a name="l00410"></a><span class="lineno"> 410</span>&#160; <a class="code" href="struct_command_block_wrapper_base.html">CommandBlockWrapperBase</a>(tag, xflen, flgs),</div>
<div class="line"><a name="l00411"></a><span class="lineno"> 411</span>&#160; <a class="code" href="struct_command_block_wrapper.html#a2a16bb9a98e3ee4eaac8fea6310b4e01">bmCBWLUN</a>(lu), <a class="code" href="struct_command_block_wrapper.html#a4954eacb2cd6d0ee7be475da3b46d907">bmReserved1</a>(0), <a class="code" href="struct_command_block_wrapper.html#a069c89f584abbf45c13ebb85ca906494">bmCBWCBLength</a>(cmdlen), <a class="code" href="struct_command_block_wrapper.html#ac651509a5fc7789ba59d21fe94c55e77">bmReserved2</a>(0) {</div>
<div class="line"><a name="l00412"></a><span class="lineno"> 412</span>&#160; <span class="keywordflow">for</span>(<span class="keywordtype">int</span> i = 0; i &lt; 16; i++) CBWCB[i] = 0;</div>
<div class="line"><a name="l00413"></a><span class="lineno"> 413</span>&#160; <span class="comment">// Type punning can cause optimization problems and bugs.</span></div>
<div class="line"><a name="l00414"></a><span class="lineno"> 414</span>&#160; <span class="comment">// Using reinterpret_cast to a dreinterpretifferent object is the proper way to do this.</span></div>
<div class="line"><a name="l00415"></a><span class="lineno"> 415</span>&#160; <span class="comment">//(((BASICCDB_t *) CBWCB)-&gt;LUN) = cmd;</span></div>
<div class="line"><a name="l00416"></a><span class="lineno"> 416</span>&#160; BASICCDB_t *x = <span class="keyword">reinterpret_cast&lt;</span>BASICCDB_t *<span class="keyword">&gt;</span>(<a class="code" href="struct_command_block_wrapper.html#a2f5feafb5e1c993454c1ccd14a17965a">CBWCB</a>);</div>
<div class="line"><a name="l00417"></a><span class="lineno"> 417</span>&#160; x-&gt;<a class="code" href="struct_b_a_s_i_c_c_d_b.html#a2cec985f2fd10576a004108c01d42fb4">LUN</a> = cmd;</div>
<div class="line"><a name="l00418"></a><span class="lineno"> 418</span>&#160; }</div>
<div class="line"><a name="l00419"></a><span class="lineno"> 419</span>&#160;</div>
<div class="line"><a name="l00420"></a><span class="lineno"> 420</span>&#160; <span class="comment">// Wrap for CDB of 6</span></div>
<div class="line"><a name="l00421"></a><span class="lineno"> 421</span>&#160;</div>
<div class="line"><a name="l00422"></a><span class="lineno"><a class="line" href="struct_command_block_wrapper.html#a3e59ab853c6091430a6ccf60845c6822"> 422</a></span>&#160; <a class="code" href="struct_command_block_wrapper.html#a3e59ab853c6091430a6ccf60845c6822">CommandBlockWrapper</a>(uint32_t tag, uint32_t xflen, CDB6_t *cdb, uint8_t dir) :</div>
<div class="line"><a name="l00423"></a><span class="lineno"> 423</span>&#160; <a class="code" href="struct_command_block_wrapper_base.html">CommandBlockWrapperBase</a>(tag, xflen, dir),</div>
<div class="line"><a name="l00424"></a><span class="lineno"> 424</span>&#160; <a class="code" href="struct_command_block_wrapper.html#a2a16bb9a98e3ee4eaac8fea6310b4e01">bmCBWLUN</a>(cdb-&gt;LUN), <a class="code" href="struct_command_block_wrapper.html#a4954eacb2cd6d0ee7be475da3b46d907">bmReserved1</a>(0), <a class="code" href="struct_command_block_wrapper.html#a069c89f584abbf45c13ebb85ca906494">bmCBWCBLength</a>(6), <a class="code" href="struct_command_block_wrapper.html#ac651509a5fc7789ba59d21fe94c55e77">bmReserved2</a>(0) {</div>
<div class="line"><a name="l00425"></a><span class="lineno"> 425</span>&#160; memcpy(&amp;CBWCB, cdb, 6);</div>
<div class="line"><a name="l00426"></a><span class="lineno"> 426</span>&#160; }</div>
<div class="line"><a name="l00427"></a><span class="lineno"> 427</span>&#160; <span class="comment">// Wrap for CDB of 10</span></div>
<div class="line"><a name="l00428"></a><span class="lineno"> 428</span>&#160;</div>
<div class="line"><a name="l00429"></a><span class="lineno"><a class="line" href="struct_command_block_wrapper.html#a66833cea74ea81da389cc54cc78f3013"> 429</a></span>&#160; <a class="code" href="struct_command_block_wrapper.html#a66833cea74ea81da389cc54cc78f3013">CommandBlockWrapper</a>(uint32_t tag, uint32_t xflen, CDB10_t *cdb, uint8_t dir) :</div>
<div class="line"><a name="l00430"></a><span class="lineno"> 430</span>&#160; <a class="code" href="struct_command_block_wrapper_base.html">CommandBlockWrapperBase</a>(tag, xflen, dir),</div>
<div class="line"><a name="l00431"></a><span class="lineno"> 431</span>&#160; <a class="code" href="struct_command_block_wrapper.html#a2a16bb9a98e3ee4eaac8fea6310b4e01">bmCBWLUN</a>(cdb-&gt;LUN), <a class="code" href="struct_command_block_wrapper.html#a4954eacb2cd6d0ee7be475da3b46d907">bmReserved1</a>(0), <a class="code" href="struct_command_block_wrapper.html#a069c89f584abbf45c13ebb85ca906494">bmCBWCBLength</a>(10), <a class="code" href="struct_command_block_wrapper.html#ac651509a5fc7789ba59d21fe94c55e77">bmReserved2</a>(0) {</div>
<div class="line"><a name="l00432"></a><span class="lineno"> 432</span>&#160; memcpy(&amp;CBWCB, cdb, 10);</div>
<div class="line"><a name="l00433"></a><span class="lineno"> 433</span>&#160; }</div>
<div class="line"><a name="l00434"></a><span class="lineno"> 434</span>&#160;} __attribute__((packed));</div>
<div class="line"><a name="l00435"></a><span class="lineno"> 435</span>&#160;</div>
<div class="line"><a name="l00436"></a><span class="lineno"><a class="line" href="struct_command_status_wrapper.html"> 436</a></span>&#160;<span class="keyword">struct </span><a class="code" href="struct_command_status_wrapper.html">CommandStatusWrapper</a> {</div>
<div class="line"><a name="l00437"></a><span class="lineno"><a class="line" href="struct_command_status_wrapper.html#a498a87759e737395829b6ff4b6420ad1"> 437</a></span>&#160; uint32_t <a class="code" href="struct_command_status_wrapper.html#a498a87759e737395829b6ff4b6420ad1">dCSWSignature</a>;</div>
<div class="line"><a name="l00438"></a><span class="lineno"><a class="line" href="struct_command_status_wrapper.html#af872c29cfee3fb74e7ad9471ee4461fb"> 438</a></span>&#160; uint32_t <a class="code" href="struct_command_status_wrapper.html#af872c29cfee3fb74e7ad9471ee4461fb">dCSWTag</a>;</div>
<div class="line"><a name="l00439"></a><span class="lineno"><a class="line" href="struct_command_status_wrapper.html#adf944665d28bb394a3d9756e8418d09e"> 439</a></span>&#160; uint32_t <a class="code" href="struct_command_status_wrapper.html#adf944665d28bb394a3d9756e8418d09e">dCSWDataResidue</a>;</div>
<div class="line"><a name="l00440"></a><span class="lineno"><a class="line" href="struct_command_status_wrapper.html#a7170ed5bc0e2bbe04758e687beef4487"> 440</a></span>&#160; uint8_t <a class="code" href="struct_command_status_wrapper.html#a7170ed5bc0e2bbe04758e687beef4487">bCSWStatus</a>;</div>
<div class="line"><a name="l00441"></a><span class="lineno"> 441</span>&#160;} __attribute__((packed));</div>
<div class="line"><a name="l00442"></a><span class="lineno"> 442</span>&#160;</div>
<div class="line"><a name="l00443"></a><span class="lineno"><a class="line" href="struct_request_sense_responce.html"> 443</a></span>&#160;<span class="keyword">struct </span><a class="code" href="struct_request_sense_responce.html">RequestSenseResponce</a> {</div>
<div class="line"><a name="l00444"></a><span class="lineno"><a class="line" href="struct_request_sense_responce.html#a7db2938d24b431077a52edd1b8c48557"> 444</a></span>&#160; uint8_t <a class="code" href="struct_request_sense_responce.html#a7db2938d24b431077a52edd1b8c48557">bResponseCode</a>;</div>
<div class="line"><a name="l00445"></a><span class="lineno"><a class="line" href="struct_request_sense_responce.html#a243e278d4598f7524e2fd48a45269af8"> 445</a></span>&#160; uint8_t <a class="code" href="struct_request_sense_responce.html#a243e278d4598f7524e2fd48a45269af8">bSegmentNumber</a>;</div>
<div class="line"><a name="l00446"></a><span class="lineno"> 446</span>&#160;</div>
<div class="line"><a name="l00447"></a><span class="lineno"><a class="line" href="struct_request_sense_responce.html#affd71e9a5912c4752adb0cb108cf4118"> 447</a></span>&#160; uint8_t <a class="code" href="struct_request_sense_responce.html#affd71e9a5912c4752adb0cb108cf4118">bmSenseKey</a> : 4;</div>
<div class="line"><a name="l00448"></a><span class="lineno"><a class="line" href="struct_request_sense_responce.html#ae2d8ba719fa3365271924facb832b6d5"> 448</a></span>&#160; uint8_t <a class="code" href="struct_request_sense_responce.html#ae2d8ba719fa3365271924facb832b6d5">bmReserved</a> : 1;</div>
<div class="line"><a name="l00449"></a><span class="lineno"><a class="line" href="struct_request_sense_responce.html#ae14c0df03bdb15da04b4db655a5a9b66"> 449</a></span>&#160; uint8_t <a class="code" href="struct_request_sense_responce.html#ae14c0df03bdb15da04b4db655a5a9b66">bmILI</a> : 1;</div>
<div class="line"><a name="l00450"></a><span class="lineno"><a class="line" href="struct_request_sense_responce.html#a72c82a54965c687da13f217753f18f7d"> 450</a></span>&#160; uint8_t <a class="code" href="struct_request_sense_responce.html#a72c82a54965c687da13f217753f18f7d">bmEOM</a> : 1;</div>
<div class="line"><a name="l00451"></a><span class="lineno"><a class="line" href="struct_request_sense_responce.html#a7255f887c70660d714500b4131f7ab23"> 451</a></span>&#160; uint8_t <a class="code" href="struct_request_sense_responce.html#a7255f887c70660d714500b4131f7ab23">bmFileMark</a> : 1;</div>
<div class="line"><a name="l00452"></a><span class="lineno"> 452</span>&#160;</div>
<div class="line"><a name="l00453"></a><span class="lineno"><a class="line" href="struct_request_sense_responce.html#a4342aa28405753a185d867060fec931e"> 453</a></span>&#160; uint8_t <a class="code" href="struct_request_sense_responce.html#a4342aa28405753a185d867060fec931e">Information</a>[4];</div>
<div class="line"><a name="l00454"></a><span class="lineno"><a class="line" href="struct_request_sense_responce.html#adbc6f965fe2820222504d1e8853f1518"> 454</a></span>&#160; uint8_t <a class="code" href="struct_request_sense_responce.html#adbc6f965fe2820222504d1e8853f1518">bAdditionalLength</a>;</div>
<div class="line"><a name="l00455"></a><span class="lineno"><a class="line" href="struct_request_sense_responce.html#ab2f0cab24692ca29dffc231f31198726"> 455</a></span>&#160; uint8_t <a class="code" href="struct_request_sense_responce.html#ab2f0cab24692ca29dffc231f31198726">CmdSpecificInformation</a>[4];</div>
<div class="line"><a name="l00456"></a><span class="lineno"><a class="line" href="struct_request_sense_responce.html#a554063acfa94e465da27a7dc73cf786a"> 456</a></span>&#160; uint8_t <a class="code" href="struct_request_sense_responce.html#a554063acfa94e465da27a7dc73cf786a">bAdditionalSenseCode</a>;</div>
<div class="line"><a name="l00457"></a><span class="lineno"><a class="line" href="struct_request_sense_responce.html#a628379310065c48e738bd07037b329e6"> 457</a></span>&#160; uint8_t <a class="code" href="struct_request_sense_responce.html#a628379310065c48e738bd07037b329e6">bAdditionalSenseQualifier</a>;</div>
<div class="line"><a name="l00458"></a><span class="lineno"><a class="line" href="struct_request_sense_responce.html#ada14013a7a12b33b5d1ed747a48d5fe0"> 458</a></span>&#160; uint8_t <a class="code" href="struct_request_sense_responce.html#ada14013a7a12b33b5d1ed747a48d5fe0">bFieldReplaceableUnitCode</a>;</div>
<div class="line"><a name="l00459"></a><span class="lineno"><a class="line" href="struct_request_sense_responce.html#a61d034714befc2fa0fb7dcea30942324"> 459</a></span>&#160; uint8_t <a class="code" href="struct_request_sense_responce.html#a61d034714befc2fa0fb7dcea30942324">SenseKeySpecific</a>[3];</div>
<div class="line"><a name="l00460"></a><span class="lineno"> 460</span>&#160;} __attribute__((packed));</div>
<div class="line"><a name="l00461"></a><span class="lineno"> 461</span>&#160;</div>
<div class="line"><a name="l00462"></a><span class="lineno"><a class="line" href="class_bulk_only.html"> 462</a></span>&#160;<span class="keyword">class </span><a class="code" href="class_bulk_only.html">BulkOnly</a> : <span class="keyword">public</span> <a class="code" href="class_u_s_b_device_config.html">USBDeviceConfig</a>, <span class="keyword">public</span> <a class="code" href="class_usb_config_xtracter.html">UsbConfigXtracter</a> {</div>
<div class="line"><a name="l00463"></a><span class="lineno"> 463</span>&#160;<span class="keyword">protected</span>:</div>
<div class="line"><a name="l00464"></a><span class="lineno"><a class="line" href="class_bulk_only.html#a9e487226408578a2971570bcf7de62fe"> 464</a></span>&#160; <span class="keyword">static</span> <span class="keyword">const</span> uint8_t <a class="code" href="class_bulk_only.html#a9e487226408578a2971570bcf7de62fe">epDataInIndex</a>; <span class="comment">// DataIn endpoint index</span></div>
<div class="line"><a name="l00465"></a><span class="lineno"><a class="line" href="class_bulk_only.html#a8d527bdc285870f3571481a4fd982721"> 465</a></span>&#160; <span class="keyword">static</span> <span class="keyword">const</span> uint8_t <a class="code" href="class_bulk_only.html#a8d527bdc285870f3571481a4fd982721">epDataOutIndex</a>; <span class="comment">// DataOUT endpoint index</span></div>
<div class="line"><a name="l00466"></a><span class="lineno"><a class="line" href="class_bulk_only.html#a03cd96b415990821bdce43b4004c85e4"> 466</a></span>&#160; <span class="keyword">static</span> <span class="keyword">const</span> uint8_t <a class="code" href="class_bulk_only.html#a03cd96b415990821bdce43b4004c85e4">epInterruptInIndex</a>; <span class="comment">// InterruptIN endpoint index</span></div>
<div class="line"><a name="l00467"></a><span class="lineno"> 467</span>&#160;</div>
<div class="line"><a name="l00468"></a><span class="lineno"><a class="line" href="class_bulk_only.html#a6b4ae384eea3aacd8bf916439621973a"> 468</a></span>&#160; <a class="code" href="class_u_s_b.html">USB</a> *<a class="code" href="class_bulk_only.html#a6b4ae384eea3aacd8bf916439621973a">pUsb</a>;</div>
<div class="line"><a name="l00469"></a><span class="lineno"><a class="line" href="class_bulk_only.html#a9968a2119df66fa0093b020e318d8ac6"> 469</a></span>&#160; uint8_t <a class="code" href="class_bulk_only.html#a9968a2119df66fa0093b020e318d8ac6">bAddress</a>;</div>
<div class="line"><a name="l00470"></a><span class="lineno"><a class="line" href="class_bulk_only.html#ab54f472ec9cd39abdb9f90867943d162"> 470</a></span>&#160; uint8_t <a class="code" href="class_bulk_only.html#ab54f472ec9cd39abdb9f90867943d162">bConfNum</a>; <span class="comment">// configuration number</span></div>
<div class="line"><a name="l00471"></a><span class="lineno"><a class="line" href="class_bulk_only.html#ac18ad598cd9a1ee99f49d51a572a50a4"> 471</a></span>&#160; uint8_t <a class="code" href="class_bulk_only.html#ac18ad598cd9a1ee99f49d51a572a50a4">bIface</a>; <span class="comment">// interface value</span></div>
<div class="line"><a name="l00472"></a><span class="lineno"><a class="line" href="class_bulk_only.html#a6cb56ebd0307845321340919e2b35952"> 472</a></span>&#160; uint8_t <a class="code" href="class_bulk_only.html#a6cb56ebd0307845321340919e2b35952">bNumEP</a>; <span class="comment">// total number of EP in the configuration</span></div>
<div class="line"><a name="l00473"></a><span class="lineno"><a class="line" href="class_bulk_only.html#a2d422ee0745cd7c04afff905278c4233"> 473</a></span>&#160; uint32_t <a class="code" href="class_bulk_only.html#a2d422ee0745cd7c04afff905278c4233">qNextPollTime</a>; <span class="comment">// next poll time</span></div>
<div class="line"><a name="l00474"></a><span class="lineno"><a class="line" href="class_bulk_only.html#a21961ad1130480f534ef3e91f24c56a0"> 474</a></span>&#160; <span class="keywordtype">bool</span> <a class="code" href="class_bulk_only.html#a21961ad1130480f534ef3e91f24c56a0">bPollEnable</a>; <span class="comment">// poll enable flag</span></div>
<div class="line"><a name="l00475"></a><span class="lineno"> 475</span>&#160;</div>
<div class="line"><a name="l00476"></a><span class="lineno"><a class="line" href="class_bulk_only.html#aee2247fd0a251e4da36e8c09bbe6917f"> 476</a></span>&#160; <a class="code" href="struct_ep_info.html">EpInfo</a> <a class="code" href="class_bulk_only.html#aee2247fd0a251e4da36e8c09bbe6917f">epInfo</a>[<a class="code" href="masstorage_8h.html#ab4baa1ea500923e1fc59e5991f05fe99">MASS_MAX_ENDPOINTS</a>];</div>
<div class="line"><a name="l00477"></a><span class="lineno"> 477</span>&#160;</div>
<div class="line"><a name="l00478"></a><span class="lineno"><a class="line" href="class_bulk_only.html#a7ae682d50badd1386a06f30f35a32d1d"> 478</a></span>&#160; uint32_t <a class="code" href="class_bulk_only.html#a7ae682d50badd1386a06f30f35a32d1d">dCBWTag</a>; <span class="comment">// Tag</span></div>
<div class="line"><a name="l00479"></a><span class="lineno"> 479</span>&#160; <span class="comment">//uint32_t dCBWDataTransferLength; // Data Transfer Length</span></div>
<div class="line"><a name="l00480"></a><span class="lineno"><a class="line" href="class_bulk_only.html#a20ff3cc4bb15c557f57a8c6200b412d1"> 480</a></span>&#160; uint8_t <a class="code" href="class_bulk_only.html#a20ff3cc4bb15c557f57a8c6200b412d1">bLastUsbError</a>; <span class="comment">// Last USB error</span></div>
<div class="line"><a name="l00481"></a><span class="lineno"><a class="line" href="class_bulk_only.html#a6bbdd41bf6efc4060f3c36da7d6ed8b2"> 481</a></span>&#160; uint8_t <a class="code" href="class_bulk_only.html#a6bbdd41bf6efc4060f3c36da7d6ed8b2">bMaxLUN</a>; <span class="comment">// Max LUN</span></div>
<div class="line"><a name="l00482"></a><span class="lineno"><a class="line" href="class_bulk_only.html#a24c051d401f5f1a9ce65c1bc25ab02dd"> 482</a></span>&#160; uint8_t <a class="code" href="class_bulk_only.html#a24c051d401f5f1a9ce65c1bc25ab02dd">bTheLUN</a>; <span class="comment">// Active LUN</span></div>
<div class="line"><a name="l00483"></a><span class="lineno"><a class="line" href="class_bulk_only.html#a73c3f6b8f6f79ad60e5ba05e560b277d"> 483</a></span>&#160; uint32_t <a class="code" href="class_bulk_only.html#a73c3f6b8f6f79ad60e5ba05e560b277d">CurrentCapacity</a>[<a class="code" href="settings_8h.html#a68a8c3241954d2159ff8df696dd5cff6">MASS_MAX_SUPPORTED_LUN</a>]; <span class="comment">// Total sectors</span></div>
<div class="line"><a name="l00484"></a><span class="lineno"><a class="line" href="class_bulk_only.html#aa4e2711c6279d48c63e82a63ad458421"> 484</a></span>&#160; uint16_t <a class="code" href="class_bulk_only.html#aa4e2711c6279d48c63e82a63ad458421">CurrentSectorSize</a>[<a class="code" href="settings_8h.html#a68a8c3241954d2159ff8df696dd5cff6">MASS_MAX_SUPPORTED_LUN</a>]; <span class="comment">// Sector size, clipped to 16 bits</span></div>
<div class="line"><a name="l00485"></a><span class="lineno"><a class="line" href="class_bulk_only.html#a9f9d9b0925a2cb6b2fb8b10e4d581d28"> 485</a></span>&#160; <span class="keywordtype">bool</span> <a class="code" href="class_bulk_only.html#a9f9d9b0925a2cb6b2fb8b10e4d581d28">LUNOk</a>[<a class="code" href="settings_8h.html#a68a8c3241954d2159ff8df696dd5cff6">MASS_MAX_SUPPORTED_LUN</a>]; <span class="comment">// use this to check for media changes.</span></div>
<div class="line"><a name="l00486"></a><span class="lineno"><a class="line" href="class_bulk_only.html#af763ffffdd131949322d583fb4cd2737"> 486</a></span>&#160; <span class="keywordtype">bool</span> <a class="code" href="class_bulk_only.html#af763ffffdd131949322d583fb4cd2737">WriteOk</a>[<a class="code" href="settings_8h.html#a68a8c3241954d2159ff8df696dd5cff6">MASS_MAX_SUPPORTED_LUN</a>];</div>
<div class="line"><a name="l00487"></a><span class="lineno"> 487</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_bulk_only.html#ac8a1d7b2ef82d9f6da44928c78039964">PrintEndpointDescriptor</a>(<span class="keyword">const</span> <a class="code" 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);</div>
<div class="line"><a name="l00488"></a><span class="lineno"> 488</span>&#160;</div>
<div class="line"><a name="l00489"></a><span class="lineno"> 489</span>&#160;</div>
<div class="line"><a name="l00490"></a><span class="lineno"> 490</span>&#160; <span class="comment">// Additional Initialization Method for Subclasses</span></div>
<div class="line"><a name="l00491"></a><span class="lineno"> 491</span>&#160;</div>
<div class="line"><a name="l00492"></a><span class="lineno"><a class="line" href="class_bulk_only.html#a3d253a0bc8f1ac5b7fe1c9e7078691e3"> 492</a></span>&#160; <span class="keyword">virtual</span> uint8_t <a class="code" href="class_bulk_only.html#a3d253a0bc8f1ac5b7fe1c9e7078691e3">OnInit</a>() {</div>
<div class="line"><a name="l00493"></a><span class="lineno"> 493</span>&#160; <span class="keywordflow">return</span> 0;</div>
<div class="line"><a name="l00494"></a><span class="lineno"> 494</span>&#160; };</div>
<div class="line"><a name="l00495"></a><span class="lineno"> 495</span>&#160;<span class="keyword">public</span>:</div>
<div class="line"><a name="l00496"></a><span class="lineno"> 496</span>&#160; <a class="code" href="class_bulk_only.html#a530fb250b0a0c92b48bc57e2957ace25">BulkOnly</a>(<a class="code" href="class_u_s_b.html">USB</a> *p);</div>
<div class="line"><a name="l00497"></a><span class="lineno"> 497</span>&#160;</div>
<div class="line"><a name="l00498"></a><span class="lineno"><a class="line" href="class_bulk_only.html#abe1e768a46e751e6792164334c973b44"> 498</a></span>&#160; uint8_t <a class="code" href="class_bulk_only.html#abe1e768a46e751e6792164334c973b44">GetLastUsbError</a>() {</div>
<div class="line"><a name="l00499"></a><span class="lineno"> 499</span>&#160; <span class="keywordflow">return</span> <a class="code" href="class_bulk_only.html#a20ff3cc4bb15c557f57a8c6200b412d1">bLastUsbError</a>;</div>
<div class="line"><a name="l00500"></a><span class="lineno"> 500</span>&#160; };</div>
<div class="line"><a name="l00501"></a><span class="lineno"> 501</span>&#160;</div>
<div class="line"><a name="l00502"></a><span class="lineno"><a class="line" href="class_bulk_only.html#af4779aa3a30058dd15eb6e612d6761af"> 502</a></span>&#160; uint8_t <a class="code" href="class_bulk_only.html#af4779aa3a30058dd15eb6e612d6761af">GetbMaxLUN</a>() {</div>
<div class="line"><a name="l00503"></a><span class="lineno"> 503</span>&#160; <span class="keywordflow">return</span> <a class="code" href="class_bulk_only.html#a6bbdd41bf6efc4060f3c36da7d6ed8b2">bMaxLUN</a>; <span class="comment">// Max LUN</span></div>
<div class="line"><a name="l00504"></a><span class="lineno"> 504</span>&#160; }</div>
<div class="line"><a name="l00505"></a><span class="lineno"> 505</span>&#160;</div>
<div class="line"><a name="l00506"></a><span class="lineno"><a class="line" href="class_bulk_only.html#adfec4b466c0ba9db172d057727b07ab1"> 506</a></span>&#160; uint8_t <a class="code" href="class_bulk_only.html#adfec4b466c0ba9db172d057727b07ab1">GetbTheLUN</a>() {</div>
<div class="line"><a name="l00507"></a><span class="lineno"> 507</span>&#160; <span class="keywordflow">return</span> <a class="code" href="class_bulk_only.html#a24c051d401f5f1a9ce65c1bc25ab02dd">bTheLUN</a>; <span class="comment">// Active LUN</span></div>
<div class="line"><a name="l00508"></a><span class="lineno"> 508</span>&#160; }</div>
<div class="line"><a name="l00509"></a><span class="lineno"> 509</span>&#160;</div>
<div class="line"><a name="l00510"></a><span class="lineno"> 510</span>&#160; <span class="keywordtype">bool</span> <a class="code" href="class_bulk_only.html#a85d034c7da25090c36c9bdeb85338009">WriteProtected</a>(uint8_t lun);</div>
<div class="line"><a name="l00511"></a><span class="lineno"> 511</span>&#160; uint8_t <a class="code" href="class_bulk_only.html#a2fc74b11c2ecce30e89f84cc1efe0c81">MediaCTL</a>(uint8_t lun, uint8_t ctl);</div>
<div class="line"><a name="l00512"></a><span class="lineno"> 512</span>&#160; uint8_t <a class="code" href="class_bulk_only.html#a470a8f0ffd6694d9dfc834da5efa627a">Read</a>(uint8_t lun, uint32_t addr, uint16_t bsize, uint8_t blocks, uint8_t *buf);</div>
<div class="line"><a name="l00513"></a><span class="lineno"> 513</span>&#160; uint8_t <a class="code" href="class_bulk_only.html#a470a8f0ffd6694d9dfc834da5efa627a">Read</a>(uint8_t lun, uint32_t addr, uint16_t bsize, uint8_t blocks, <a class="code" href="class_u_s_b_read_parser.html">USBReadParser</a> *prs);</div>
<div class="line"><a name="l00514"></a><span class="lineno"> 514</span>&#160; uint8_t <a class="code" href="class_bulk_only.html#a45d327ddf87e01607c3a5b1849936053">Write</a>(uint8_t lun, uint32_t addr, uint16_t bsize, uint8_t blocks, <span class="keyword">const</span> uint8_t *buf);</div>
<div class="line"><a name="l00515"></a><span class="lineno"> 515</span>&#160; uint8_t <a class="code" href="class_bulk_only.html#ae7561d686d0b1374b5f9937d6ec8a035">LockMedia</a>(uint8_t lun, uint8_t lock);</div>
<div class="line"><a name="l00516"></a><span class="lineno"> 516</span>&#160;</div>
<div class="line"><a name="l00517"></a><span class="lineno"> 517</span>&#160; <span class="keywordtype">bool</span> <a class="code" href="class_bulk_only.html#aa6d74267dc98daeb0552fa234739ab08">LUNIsGood</a>(uint8_t lun);</div>
<div class="line"><a name="l00518"></a><span class="lineno"> 518</span>&#160; uint32_t <a class="code" href="class_bulk_only.html#a597193e88b168e96878d383619f1377d">GetCapacity</a>(uint8_t lun);</div>
<div class="line"><a name="l00519"></a><span class="lineno"> 519</span>&#160; uint16_t <a class="code" href="class_bulk_only.html#ac97cfb7558681af4cfaa11fcccc00170">GetSectorSize</a>(uint8_t lun);</div>
<div class="line"><a name="l00520"></a><span class="lineno"> 520</span>&#160;</div>
<div class="line"><a name="l00521"></a><span class="lineno"> 521</span>&#160; <span class="comment">// USBDeviceConfig implementation</span></div>
<div class="line"><a name="l00522"></a><span class="lineno"> 522</span>&#160; uint8_t <a class="code" href="class_bulk_only.html#a51870da9badc037166b86da60bcda6ea">Init</a>(uint8_t parent, uint8_t port, <span class="keywordtype">bool</span> lowspeed);</div>
<div class="line"><a name="l00523"></a><span class="lineno"> 523</span>&#160; uint8_t <a class="code" href="class_bulk_only.html#aa8fe167a7af12dce9964fa5a430c53ea">ConfigureDevice</a>(uint8_t parent, uint8_t port, <span class="keywordtype">bool</span> lowspeed);</div>
<div class="line"><a name="l00524"></a><span class="lineno"> 524</span>&#160;</div>
<div class="line"><a name="l00525"></a><span class="lineno"> 525</span>&#160; uint8_t <a class="code" href="class_bulk_only.html#a8a9b213d1800db2d8e661d242b57b195">Release</a>();</div>
<div class="line"><a name="l00526"></a><span class="lineno"> 526</span>&#160; uint8_t <a class="code" href="class_bulk_only.html#a51b8a76f5e16697476ce2dcff2514bc6">Poll</a>();</div>
<div class="line"><a name="l00527"></a><span class="lineno"> 527</span>&#160;</div>
<div class="line"><a name="l00528"></a><span class="lineno"><a class="line" href="class_bulk_only.html#a376cb3367071555816e2b0c74ad7eb12"> 528</a></span>&#160; <span class="keyword">virtual</span> uint8_t <a class="code" href="class_bulk_only.html#a376cb3367071555816e2b0c74ad7eb12">GetAddress</a>() {</div>
<div class="line"><a name="l00529"></a><span class="lineno"> 529</span>&#160; <span class="keywordflow">return</span> <a class="code" href="class_bulk_only.html#a9968a2119df66fa0093b020e318d8ac6">bAddress</a>;</div>
<div class="line"><a name="l00530"></a><span class="lineno"> 530</span>&#160; };</div>
<div class="line"><a name="l00531"></a><span class="lineno"> 531</span>&#160;</div>
<div class="line"><a name="l00532"></a><span class="lineno"> 532</span>&#160; <span class="comment">// UsbConfigXtracter implementation</span></div>
<div class="line"><a name="l00533"></a><span class="lineno"> 533</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_bulk_only.html#a13d33906543d5d6b44620f430dc729ff">EndpointXtract</a>(uint8_t conf, uint8_t iface, uint8_t alt, uint8_t proto, <span class="keyword">const</span> <a class="code" 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);</div>
<div class="line"><a name="l00534"></a><span class="lineno"> 534</span>&#160;</div>
<div class="line"><a name="l00535"></a><span class="lineno"><a class="line" href="class_bulk_only.html#a878110a3df287aae4f95807865d18819"> 535</a></span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="class_bulk_only.html#a878110a3df287aae4f95807865d18819">DEVCLASSOK</a>(uint8_t klass) {</div>
<div class="line"><a name="l00536"></a><span class="lineno"> 536</span>&#160; <span class="keywordflow">return</span> (klass == <a class="code" href="_usb_core_8h.html#aa99b73e335df09e6545fc44798a3c1f2">USB_CLASS_MASS_STORAGE</a>);</div>
<div class="line"><a name="l00537"></a><span class="lineno"> 537</span>&#160; }</div>
<div class="line"><a name="l00538"></a><span class="lineno"> 538</span>&#160;</div>
<div class="line"><a name="l00539"></a><span class="lineno"> 539</span>&#160; uint8_t <a class="code" href="class_bulk_only.html#abec80bf6c8306115de66c0f87389bbd3">SCSITransaction6</a>(CDB6_t *cdb, uint16_t buf_size, <span class="keywordtype">void</span> *buf, uint8_t dir);</div>
<div class="line"><a name="l00540"></a><span class="lineno"> 540</span>&#160; uint8_t <a class="code" href="class_bulk_only.html#af07ab48c6b9e6bdb4f0d050adbae518d">SCSITransaction10</a>(CDB10_t *cdb, uint16_t buf_size, <span class="keywordtype">void</span> *buf, uint8_t dir);</div>
<div class="line"><a name="l00541"></a><span class="lineno"> 541</span>&#160;</div>
<div class="line"><a name="l00542"></a><span class="lineno"> 542</span>&#160;<span class="keyword">private</span>:</div>
<div class="line"><a name="l00543"></a><span class="lineno"> 543</span>&#160; uint8_t Inquiry(uint8_t lun, uint16_t size, uint8_t *buf);</div>
<div class="line"><a name="l00544"></a><span class="lineno"> 544</span>&#160; uint8_t TestUnitReady(uint8_t lun);</div>
<div class="line"><a name="l00545"></a><span class="lineno"> 545</span>&#160; uint8_t RequestSense(uint8_t lun, uint16_t size, uint8_t *buf);</div>
<div class="line"><a name="l00546"></a><span class="lineno"> 546</span>&#160; uint8_t ModeSense6(uint8_t lun, uint8_t pc, uint8_t page, uint8_t subpage, uint8_t len, uint8_t *buf);</div>
<div class="line"><a name="l00547"></a><span class="lineno"> 547</span>&#160; uint8_t GetMaxLUN(uint8_t *max_lun);</div>
<div class="line"><a name="l00548"></a><span class="lineno"> 548</span>&#160; uint8_t SetCurLUN(uint8_t lun);</div>
<div class="line"><a name="l00549"></a><span class="lineno"> 549</span>&#160; <span class="keywordtype">void</span> Reset();</div>
<div class="line"><a name="l00550"></a><span class="lineno"> 550</span>&#160; uint8_t ResetRecovery();</div>
<div class="line"><a name="l00551"></a><span class="lineno"> 551</span>&#160; uint8_t ReadCapacity10(uint8_t lun, uint8_t *buf);</div>
<div class="line"><a name="l00552"></a><span class="lineno"> 552</span>&#160; <span class="keywordtype">void</span> ClearAllEP();</div>
<div class="line"><a name="l00553"></a><span class="lineno"> 553</span>&#160; <span class="keywordtype">void</span> CheckMedia();</div>
<div class="line"><a name="l00554"></a><span class="lineno"> 554</span>&#160; <span class="keywordtype">bool</span> CheckLUN(uint8_t lun);</div>
<div class="line"><a name="l00555"></a><span class="lineno"> 555</span>&#160; uint8_t Page3F(uint8_t lun);</div>
<div class="line"><a name="l00556"></a><span class="lineno"> 556</span>&#160; <span class="keywordtype">bool</span> IsValidCBW(uint8_t size, uint8_t *pcbw);</div>
<div class="line"><a name="l00557"></a><span class="lineno"> 557</span>&#160; <span class="keywordtype">bool</span> IsMeaningfulCBW(uint8_t size, uint8_t *pcbw);</div>
<div class="line"><a name="l00558"></a><span class="lineno"> 558</span>&#160;</div>
<div class="line"><a name="l00559"></a><span class="lineno"> 559</span>&#160; <span class="keywordtype">bool</span> IsValidCSW(<a class="code" href="struct_command_status_wrapper.html">CommandStatusWrapper</a> *pcsw, <a class="code" href="struct_command_block_wrapper_base.html">CommandBlockWrapperBase</a> *pcbw);</div>
<div class="line"><a name="l00560"></a><span class="lineno"> 560</span>&#160;</div>
<div class="line"><a name="l00561"></a><span class="lineno"> 561</span>&#160; uint8_t ClearEpHalt(uint8_t index);</div>
<div class="line"><a name="l00562"></a><span class="lineno"> 562</span>&#160;<span class="preprocessor">#if MS_WANT_PARSER</span></div>
<div class="line"><a name="l00563"></a><span class="lineno"> 563</span>&#160; uint8_t Transaction(<a class="code" href="struct_command_block_wrapper.html">CommandBlockWrapper</a> *cbw, uint16_t bsize, <span class="keywordtype">void</span> *buf, uint8_t flags);</div>
<div class="line"><a name="l00564"></a><span class="lineno"> 564</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00565"></a><span class="lineno"> 565</span>&#160; uint8_t Transaction(<a class="code" href="struct_command_block_wrapper.html">CommandBlockWrapper</a> *cbw, uint16_t bsize, <span class="keywordtype">void</span> *buf);</div>
<div class="line"><a name="l00566"></a><span class="lineno"> 566</span>&#160; uint8_t HandleUsbError(uint8_t error, uint8_t index);</div>
<div class="line"><a name="l00567"></a><span class="lineno"> 567</span>&#160; uint8_t HandleSCSIError(uint8_t status);</div>
<div class="line"><a name="l00568"></a><span class="lineno"> 568</span>&#160;</div>
<div class="line"><a name="l00569"></a><span class="lineno"> 569</span>&#160;};</div>
<div class="line"><a name="l00570"></a><span class="lineno"> 570</span>&#160;</div>
<div class="line"><a name="l00571"></a><span class="lineno"> 571</span>&#160;<span class="preprocessor">#endif // __MASSTORAGE_H__</span></div>
<div class="ttc" id="struct_inquiry_response_html_af735c28637c0ebc8f3e8a04f7b3023cc"><div class="ttname"><a href="struct_inquiry_response.html#af735c28637c0ebc8f3e8a04f7b3023cc">InquiryResponse::BQUE</a></div><div class="ttdeci">unsigned BQUE</div><div class="ttdef"><b>Definition:</b> <a href="masstorage_8h_source.html#l00354">masstorage.h:354</a></div></div>
<div class="ttc" id="struct_command_block_wrapper_base_html_a48ae766ceb4fa43c7506e0f3b2982da0"><div class="ttname"><a href="struct_command_block_wrapper_base.html#a48ae766ceb4fa43c7506e0f3b2982da0">CommandBlockWrapperBase::CommandBlockWrapperBase</a></div><div class="ttdeci">CommandBlockWrapperBase()</div><div class="ttdef"><b>Definition:</b> <a href="masstorage_8h_source.html#l00377">masstorage.h:377</a></div></div>
<div class="ttc" id="class_bulk_only_html_a2fc74b11c2ecce30e89f84cc1efe0c81"><div class="ttname"><a href="class_bulk_only.html#a2fc74b11c2ecce30e89f84cc1efe0c81">BulkOnly::MediaCTL</a></div><div class="ttdeci">uint8_t MediaCTL(uint8_t lun, uint8_t ctl)</div><div class="ttdef"><b>Definition:</b> <a href="masstorage_8cpp_source.html#l00130">masstorage.cpp:130</a></div></div>
<div class="ttc" id="struct_request_sense_responce_html_ae2d8ba719fa3365271924facb832b6d5"><div class="ttname"><a href="struct_request_sense_responce.html#ae2d8ba719fa3365271924facb832b6d5">RequestSenseResponce::bmReserved</a></div><div class="ttdeci">uint8_t bmReserved</div><div class="ttdef"><b>Definition:</b> <a href="masstorage_8h_source.html#l00448">masstorage.h:448</a></div></div>
<div class="ttc" id="struct_c_d_b10_html_a26b2c33b7867c33d19e77c6d873d7924"><div class="ttname"><a href="struct_c_d_b10.html#a26b2c33b7867c33d19e77c6d873d7924">CDB10::Misc2</a></div><div class="ttdeci">uint8_t Misc2</div><div class="ttdef"><b>Definition:</b> <a href="masstorage_8h_source.html#l00233">masstorage.h:233</a></div></div>
<div class="ttc" id="struct_c_d_b10_html_abd4957a41f650b096987db5963efb674"><div class="ttname"><a href="struct_c_d_b10.html#abd4957a41f650b096987db5963efb674">CDB10::CDB10</a></div><div class="ttdeci">CDB10(uint8_t _Opcode, uint8_t _LUN)</div><div class="ttdef"><b>Definition:</b> <a href="masstorage_8h_source.html#l00241">masstorage.h:241</a></div></div>
<div class="ttc" id="struct_inquiry_response_html_acc610ff84bef225f8826585725ad9802"><div class="ttname"><a href="struct_inquiry_response.html#acc610ff84bef225f8826585725ad9802">InquiryResponse::VendorID</a></div><div class="ttdeci">uint8_t VendorID[8]</div><div class="ttdef"><b>Definition:</b> <a href="masstorage_8h_source.html#l00365">masstorage.h:365</a></div></div>
<div class="ttc" id="struct_command_block_wrapper_base_html_a396b36ceef993c32f28b1354727a5e9e"><div class="ttname"><a href="struct_command_block_wrapper_base.html#a396b36ceef993c32f28b1354727a5e9e">CommandBlockWrapperBase::bmCBWFlags</a></div><div class="ttdeci">uint8_t bmCBWFlags</div><div class="ttdef"><b>Definition:</b> <a href="masstorage_8h_source.html#l00374">masstorage.h:374</a></div></div>
<div class="ttc" id="class_bulk_only_html_a8d527bdc285870f3571481a4fd982721"><div class="ttname"><a href="class_bulk_only.html#a8d527bdc285870f3571481a4fd982721">BulkOnly::epDataOutIndex</a></div><div class="ttdeci">static const uint8_t epDataOutIndex</div><div class="ttdef"><b>Definition:</b> <a href="masstorage_8h_source.html#l00465">masstorage.h:465</a></div></div>
<div class="ttc" id="struct_c_d_b12_html_a40bc765adf21818c3a1bc3c8ffeabc94"><div class="ttname"><a href="struct_c_d_b12.html#a40bc765adf21818c3a1bc3c8ffeabc94">CDB12::LBA_L_L_MB</a></div><div class="ttdeci">uint8_t LBA_L_L_MB</div><div class="ttdef"><b>Definition:</b> <a href="masstorage_8h_source.html#l00263">masstorage.h:263</a></div></div>
<div class="ttc" id="struct_capacity_html"><div class="ttname"><a href="struct_capacity.html">Capacity</a></div><div class="ttdef"><b>Definition:</b> <a href="masstorage_8h_source.html#l00179">masstorage.h:179</a></div></div>
<div class="ttc" id="struct_inquiry_response_html_a64b542b21ee54739136235785563e036"><div class="ttname"><a href="struct_inquiry_response.html#a64b542b21ee54739136235785563e036">InquiryResponse::HISUP</a></div><div class="ttdeci">unsigned HISUP</div><div class="ttdef"><b>Definition:</b> <a href="masstorage_8h_source.html#l00332">masstorage.h:332</a></div></div>
<div class="ttc" id="struct_request_sense_responce_html"><div class="ttname"><a href="struct_request_sense_responce.html">RequestSenseResponce</a></div><div class="ttdef"><b>Definition:</b> <a href="masstorage_8h_source.html#l00443">masstorage.h:443</a></div></div>
<div class="ttc" id="struct_inquiry_response_html_a64121510090cb38926bbb321e98b1a13"><div class="ttname"><a href="struct_inquiry_response.html#a64121510090cb38926bbb321e98b1a13">InquiryResponse::RelAddr</a></div><div class="ttdeci">unsigned RelAddr</div><div class="ttdef"><b>Definition:</b> <a href="masstorage_8h_source.html#l00363">masstorage.h:363</a></div></div>
<div class="ttc" id="struct_c_d_b___l_b_a32__16_html_a3809ba2a5399bd407b50b04b8c83cb9f"><div class="ttname"><a href="struct_c_d_b___l_b_a32__16.html#a3809ba2a5399bd407b50b04b8c83cb9f">CDB_LBA32_16::Misc2</a></div><div class="ttdeci">uint8_t Misc2</div><div class="ttdef"><b>Definition:</b> <a href="masstorage_8h_source.html#l00295">masstorage.h:295</a></div></div>
<div class="ttc" id="struct_inquiry_response_html_ab6572ef8e5cd457e0699095f6a0c7a3d"><div class="ttname"><a href="struct_inquiry_response.html#ab6572ef8e5cd457e0699095f6a0c7a3d">InquiryResponse::Removable</a></div><div class="ttdeci">unsigned Removable</div><div class="ttdef"><b>Definition:</b> <a href="masstorage_8h_source.html#l00327">masstorage.h:327</a></div></div>
<div class="ttc" id="class_bulk_only_html_a9f9d9b0925a2cb6b2fb8b10e4d581d28"><div class="ttname"><a href="class_bulk_only.html#a9f9d9b0925a2cb6b2fb8b10e4d581d28">BulkOnly::LUNOk</a></div><div class="ttdeci">bool LUNOk[MASS_MAX_SUPPORTED_LUN]</div><div class="ttdef"><b>Definition:</b> <a href="masstorage_8h_source.html#l00485">masstorage.h:485</a></div></div>
<div class="ttc" id="struct_c_d_b6_html_a28933fcb497ecd202ea07d665be57f9c"><div class="ttname"><a href="struct_c_d_b6.html#a28933fcb497ecd202ea07d665be57f9c">CDB6::LBALB</a></div><div class="ttdeci">uint8_t LBALB</div><div class="ttdef"><b>Definition:</b> <a href="masstorage_8h_source.html#l00203">masstorage.h:203</a></div></div>
<div class="ttc" id="struct_b_a_s_i_c_c_d_b_html_a2cec985f2fd10576a004108c01d42fb4"><div class="ttname"><a href="struct_b_a_s_i_c_c_d_b.html#a2cec985f2fd10576a004108c01d42fb4">BASICCDB::LUN</a></div><div class="ttdeci">unsigned LUN</div><div class="ttdef"><b>Definition:</b> <a href="masstorage_8h_source.html#l00189">masstorage.h:189</a></div></div>
<div class="ttc" id="struct_command_block_wrapper_html_a2f5feafb5e1c993454c1ccd14a17965a"><div class="ttname"><a href="struct_command_block_wrapper.html#a2f5feafb5e1c993454c1ccd14a17965a">CommandBlockWrapper::CBWCB</a></div><div class="ttdeci">uint8_t CBWCB[16]</div><div class="ttdef"><b>Definition:</b> <a href="masstorage_8h_source.html#l00397">masstorage.h:397</a></div></div>
<div class="ttc" id="struct_c_d_b___l_b_a32__16_html_a1e239989f80f36157fd9271f2141acd1"><div class="ttname"><a href="struct_c_d_b___l_b_a32__16.html#a1e239989f80f36157fd9271f2141acd1">CDB_LBA32_16::LBA_L_L_LB</a></div><div class="ttdeci">uint8_t LBA_L_L_LB</div><div class="ttdef"><b>Definition:</b> <a href="masstorage_8h_source.html#l00283">masstorage.h:283</a></div></div>
<div class="ttc" id="struct_c_d_b___l_b_a32__16_html"><div class="ttname"><a href="struct_c_d_b___l_b_a32__16.html">CDB_LBA32_16</a></div><div class="ttdef"><b>Definition:</b> <a href="masstorage_8h_source.html#l00274">masstorage.h:274</a></div></div>
<div class="ttc" id="struct_inquiry_response_html_a02cb9a4f4f1a080853eeb3fe3a97b6fe"><div class="ttname"><a href="struct_inquiry_response.html#a02cb9a4f4f1a080853eeb3fe3a97b6fe">InquiryResponse::NormACA</a></div><div class="ttdeci">unsigned NormACA</div><div class="ttdef"><b>Definition:</b> <a href="masstorage_8h_source.html#l00333">masstorage.h:333</a></div></div>
<div class="ttc" id="class_bulk_only_html_a03cd96b415990821bdce43b4004c85e4"><div class="ttname"><a href="class_bulk_only.html#a03cd96b415990821bdce43b4004c85e4">BulkOnly::epInterruptInIndex</a></div><div class="ttdeci">static const uint8_t epInterruptInIndex</div><div class="ttdef"><b>Definition:</b> <a href="masstorage_8h_source.html#l00466">masstorage.h:466</a></div></div>
<div class="ttc" id="masstorage_8h_html_af952fd9270407996656ba95772511002"><div class="ttname"><a href="masstorage_8h.html#af952fd9270407996656ba95772511002">CDB10_t</a></div><div class="ttdeci">CDB10 CDB10_t</div><div class="ttdef"><b>Definition:</b> <a href="masstorage_8h_source.html#l00254">masstorage.h:254</a></div></div>
<div class="ttc" id="struct_request_sense_responce_html_adbc6f965fe2820222504d1e8853f1518"><div class="ttname"><a href="struct_request_sense_responce.html#adbc6f965fe2820222504d1e8853f1518">RequestSenseResponce::bAdditionalLength</a></div><div class="ttdeci">uint8_t bAdditionalLength</div><div class="ttdef"><b>Definition:</b> <a href="masstorage_8h_source.html#l00454">masstorage.h:454</a></div></div>
<div class="ttc" id="_usb_core_8h_html_aa99b73e335df09e6545fc44798a3c1f2"><div class="ttname"><a href="_usb_core_8h.html#aa99b73e335df09e6545fc44798a3c1f2">USB_CLASS_MASS_STORAGE</a></div><div class="ttdeci">#define USB_CLASS_MASS_STORAGE</div><div class="ttdef"><b>Definition:</b> <a href="_usb_core_8h_source.html#l00063">UsbCore.h:63</a></div></div>
<div class="ttc" id="struct_c_d_b10_html_a5115777023c2a37ed50b81db126f648c"><div class="ttname"><a href="struct_c_d_b10.html#a5115777023c2a37ed50b81db126f648c">CDB10::ALC_LB</a></div><div class="ttdeci">uint8_t ALC_LB</div><div class="ttdef"><b>Definition:</b> <a href="masstorage_8h_source.html#l00236">masstorage.h:236</a></div></div>
<div class="ttc" id="struct_command_status_wrapper_html_adf944665d28bb394a3d9756e8418d09e"><div class="ttname"><a href="struct_command_status_wrapper.html#adf944665d28bb394a3d9756e8418d09e">CommandStatusWrapper::dCSWDataResidue</a></div><div class="ttdeci">uint32_t dCSWDataResidue</div><div class="ttdef"><b>Definition:</b> <a href="masstorage_8h_source.html#l00439">masstorage.h:439</a></div></div>
<div class="ttc" id="struct_command_block_wrapper_html_a66833cea74ea81da389cc54cc78f3013"><div class="ttname"><a href="struct_command_block_wrapper.html#a66833cea74ea81da389cc54cc78f3013">CommandBlockWrapper::CommandBlockWrapper</a></div><div class="ttdeci">CommandBlockWrapper(uint32_t tag, uint32_t xflen, CDB10_t *cdb, uint8_t dir)</div><div class="ttdef"><b>Definition:</b> <a href="masstorage_8h_source.html#l00429">masstorage.h:429</a></div></div>
<div class="ttc" id="struct_c_d_b10_html_aa74c5c59a4bdfeb2aa6e8c163f1fae10"><div class="ttname"><a href="struct_c_d_b10.html#aa74c5c59a4bdfeb2aa6e8c163f1fae10">CDB10::LBA_L_M_LB</a></div><div class="ttdeci">uint8_t LBA_L_M_LB</div><div class="ttdef"><b>Definition:</b> <a href="masstorage_8h_source.html#l00229">masstorage.h:229</a></div></div>
<div class="ttc" id="struct_u_s_b___e_n_d_p_o_i_n_t___d_e_s_c_r_i_p_t_o_r_html"><div class="ttname"><a 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></div><div class="ttdef"><b>Definition:</b> <a href="usb__ch9_8h_source.html#l00141">usb_ch9.h:141</a></div></div>
<div class="ttc" id="struct_request_sense_responce_html_ae14c0df03bdb15da04b4db655a5a9b66"><div class="ttname"><a href="struct_request_sense_responce.html#ae14c0df03bdb15da04b4db655a5a9b66">RequestSenseResponce::bmILI</a></div><div class="ttdeci">uint8_t bmILI</div><div class="ttdef"><b>Definition:</b> <a href="masstorage_8h_source.html#l00449">masstorage.h:449</a></div></div>
<div class="ttc" id="struct_c_d_b___l_b_a64__16_html_a43f9e4f510e12a6fcc5afd90f740f76e"><div class="ttname"><a href="struct_c_d_b___l_b_a64__16.html#a43f9e4f510e12a6fcc5afd90f740f76e">CDB_LBA64_16::LBA_L_L_MB</a></div><div class="ttdeci">uint8_t LBA_L_L_MB</div><div class="ttdef"><b>Definition:</b> <a href="masstorage_8h_source.html#l00310">masstorage.h:310</a></div></div>
<div class="ttc" id="class_bulk_only_html_a9968a2119df66fa0093b020e318d8ac6"><div class="ttname"><a href="class_bulk_only.html#a9968a2119df66fa0093b020e318d8ac6">BulkOnly::bAddress</a></div><div class="ttdeci">uint8_t bAddress</div><div class="ttdef"><b>Definition:</b> <a href="masstorage_8h_source.html#l00469">masstorage.h:469</a></div></div>
<div class="ttc" id="struct_c_d_b6_html_a6a0be8910a3e8039534b8570365a4207"><div class="ttname"><a href="struct_c_d_b6.html#a6a0be8910a3e8039534b8570365a4207">CDB6::LBAHB</a></div><div class="ttdeci">uint8_t LBAHB</div><div class="ttdef"><b>Definition:</b> <a href="masstorage_8h_source.html#l00202">masstorage.h:202</a></div></div>
<div class="ttc" id="struct_c_d_b10_html_af1cd479d32aae0c581b735eb5aa081bc"><div class="ttname"><a href="struct_c_d_b10.html#af1cd479d32aae0c581b735eb5aa081bc">CDB10::Service_Action</a></div><div class="ttdeci">unsigned Service_Action</div><div class="ttdef"><b>Definition:</b> <a href="masstorage_8h_source.html#l00225">masstorage.h:225</a></div></div>
<div class="ttc" id="struct_c_d_b___l_b_a32__16_html_af642464073c45113c7fdf221f40ade1b"><div class="ttname"><a href="struct_c_d_b___l_b_a32__16.html#af642464073c45113c7fdf221f40ade1b">CDB_LBA32_16::LBA_L_M_LB</a></div><div class="ttdeci">uint8_t LBA_L_M_LB</div><div class="ttdef"><b>Definition:</b> <a href="masstorage_8h_source.html#l00281">masstorage.h:281</a></div></div>
<div class="ttc" id="struct_command_block_wrapper_base_html_a0898a332eec2d598b80a896ff66d5549"><div class="ttname"><a href="struct_command_block_wrapper_base.html#a0898a332eec2d598b80a896ff66d5549">CommandBlockWrapperBase::dCBWTag</a></div><div class="ttdeci">uint32_t dCBWTag</div><div class="ttdef"><b>Definition:</b> <a href="masstorage_8h_source.html#l00372">masstorage.h:372</a></div></div>
<div class="ttc" id="struct_c_d_b12_html"><div class="ttname"><a href="struct_c_d_b12.html">CDB12</a></div><div class="ttdef"><b>Definition:</b> <a href="masstorage_8h_source.html#l00256">masstorage.h:256</a></div></div>
<div class="ttc" id="struct_c_d_b6_html_a49d35d920a46db55bc300ee25f6065ef"><div class="ttname"><a href="struct_c_d_b6.html#a49d35d920a46db55bc300ee25f6065ef">CDB6::AllocationLength</a></div><div class="ttdeci">uint8_t AllocationLength</div><div class="ttdef"><b>Definition:</b> <a href="masstorage_8h_source.html#l00204">masstorage.h:204</a></div></div>
<div class="ttc" id="struct_inquiry_response_html_ad02da835cba8057f07b359903ee0c389"><div class="ttname"><a href="struct_inquiry_response.html#ad02da835cba8057f07b359903ee0c389">InquiryResponse::AERC</a></div><div class="ttdeci">unsigned AERC</div><div class="ttdef"><b>Definition:</b> <a href="masstorage_8h_source.html#l00335">masstorage.h:335</a></div></div>
<div class="ttc" id="class_bulk_only_html_a7ae682d50badd1386a06f30f35a32d1d"><div class="ttname"><a href="class_bulk_only.html#a7ae682d50badd1386a06f30f35a32d1d">BulkOnly::dCBWTag</a></div><div class="ttdeci">uint32_t dCBWTag</div><div class="ttdef"><b>Definition:</b> <a href="masstorage_8h_source.html#l00478">masstorage.h:478</a></div></div>
<div class="ttc" id="struct_inquiry_response_html_ada0ff6b78ecefa9b00bbe4e518ca4870"><div class="ttname"><a href="struct_inquiry_response.html#ada0ff6b78ecefa9b00bbe4e518ca4870">InquiryResponse::TPGS</a></div><div class="ttdeci">unsigned TPGS</div><div class="ttdef"><b>Definition:</b> <a href="masstorage_8h_source.html#l00343">masstorage.h:343</a></div></div>
<div class="ttc" id="class_bulk_only_html_ab54f472ec9cd39abdb9f90867943d162"><div class="ttname"><a href="class_bulk_only.html#ab54f472ec9cd39abdb9f90867943d162">BulkOnly::bConfNum</a></div><div class="ttdeci">uint8_t bConfNum</div><div class="ttdef"><b>Definition:</b> <a href="masstorage_8h_source.html#l00470">masstorage.h:470</a></div></div>
<div class="ttc" id="struct_c_d_b6_html_a8629bc31675353132e17e5e37b3e0e41"><div class="ttname"><a href="struct_c_d_b6.html#a8629bc31675353132e17e5e37b3e0e41">CDB6::Control</a></div><div class="ttdeci">uint8_t Control</div><div class="ttdef"><b>Definition:</b> <a href="masstorage_8h_source.html#l00205">masstorage.h:205</a></div></div>
<div class="ttc" id="class_bulk_only_html_aa8fe167a7af12dce9964fa5a430c53ea"><div class="ttname"><a href="class_bulk_only.html#aa8fe167a7af12dce9964fa5a430c53ea">BulkOnly::ConfigureDevice</a></div><div class="ttdeci">uint8_t ConfigureDevice(uint8_t parent, uint8_t port, bool lowspeed)</div><div class="ttdef"><b>Definition:</b> <a href="masstorage_8cpp_source.html#l00251">masstorage.cpp:251</a></div></div>
<div class="ttc" id="struct_inquiry_response_html_a72abbdbd399647227ea05cb1cec32b2d"><div class="ttname"><a href="struct_inquiry_response.html#a72abbdbd399647227ea05cb1cec32b2d">InquiryResponse::R1</a></div><div class="ttdeci">unsigned R1</div><div class="ttdef"><b>Definition:</b> <a href="masstorage_8h_source.html#l00348">masstorage.h:348</a></div></div>
<div class="ttc" id="struct_c_d_b12_html_a7d9153a24a41f0432b1467b39d1d5238"><div class="ttname"><a href="struct_c_d_b12.html#a7d9153a24a41f0432b1467b39d1d5238">CDB12::Service_Action</a></div><div class="ttdeci">unsigned Service_Action</div><div class="ttdef"><b>Definition:</b> <a href="masstorage_8h_source.html#l00259">masstorage.h:259</a></div></div>
<div class="ttc" id="macros_8h_html_a773ca2920fd4808c94e6645a7a8d63d1"><div class="ttname"><a href="macros_8h.html#a773ca2920fd4808c94e6645a7a8d63d1">BGRAB0</a></div><div class="ttdeci">#define BGRAB0(__usi__)</div><div class="ttdef"><b>Definition:</b> <a href="macros_8h_source.html#l00049">macros.h:49</a></div></div>
<div class="ttc" id="struct_inquiry_response_html_a335e2997167a36347d717e1ed997f9be"><div class="ttname"><a href="struct_inquiry_response.html#a335e2997167a36347d717e1ed997f9be">InquiryResponse::CmdQue</a></div><div class="ttdeci">unsigned CmdQue</div><div class="ttdef"><b>Definition:</b> <a href="masstorage_8h_source.html#l00357">masstorage.h:357</a></div></div>
<div class="ttc" id="struct_request_sense_responce_html_a72c82a54965c687da13f217753f18f7d"><div class="ttname"><a href="struct_request_sense_responce.html#a72c82a54965c687da13f217753f18f7d">RequestSenseResponce::bmEOM</a></div><div class="ttdeci">uint8_t bmEOM</div><div class="ttdef"><b>Definition:</b> <a href="masstorage_8h_source.html#l00450">masstorage.h:450</a></div></div>
<div class="ttc" id="class_bulk_only_html_a73c3f6b8f6f79ad60e5ba05e560b277d"><div class="ttname"><a href="class_bulk_only.html#a73c3f6b8f6f79ad60e5ba05e560b277d">BulkOnly::CurrentCapacity</a></div><div class="ttdeci">uint32_t CurrentCapacity[MASS_MAX_SUPPORTED_LUN]</div><div class="ttdef"><b>Definition:</b> <a href="masstorage_8h_source.html#l00483">masstorage.h:483</a></div></div>
<div class="ttc" id="class_bulk_only_html_a51b8a76f5e16697476ce2dcff2514bc6"><div class="ttname"><a href="class_bulk_only.html#a51b8a76f5e16697476ce2dcff2514bc6">BulkOnly::Poll</a></div><div class="ttdeci">uint8_t Poll()</div><div class="ttdef"><b>Definition:</b> <a href="masstorage_8cpp_source.html#l00668">masstorage.cpp:668</a></div></div>
<div class="ttc" id="struct_c_d_b___l_b_a64__16_html_a275834d52785e9b72c4eb6b8c0a7d2e2"><div class="ttname"><a href="struct_c_d_b___l_b_a64__16.html#a275834d52785e9b72c4eb6b8c0a7d2e2">CDB_LBA64_16::LBA_L_L_LB</a></div><div class="ttdeci">uint8_t LBA_L_L_LB</div><div class="ttdef"><b>Definition:</b> <a href="masstorage_8h_source.html#l00311">masstorage.h:311</a></div></div>
<div class="ttc" id="struct_inquiry_response_html_a02c12d5c3f7b9e821c6f28dc827f5629"><div class="ttname"><a href="struct_inquiry_response.html#a02c12d5c3f7b9e821c6f28dc827f5629">InquiryResponse::ProductID</a></div><div class="ttdeci">uint8_t ProductID[16]</div><div class="ttdef"><b>Definition:</b> <a href="masstorage_8h_source.html#l00366">masstorage.h:366</a></div></div>
<div class="ttc" id="class_bulk_only_html_af763ffffdd131949322d583fb4cd2737"><div class="ttname"><a href="class_bulk_only.html#af763ffffdd131949322d583fb4cd2737">BulkOnly::WriteOk</a></div><div class="ttdeci">bool WriteOk[MASS_MAX_SUPPORTED_LUN]</div><div class="ttdef"><b>Definition:</b> <a href="masstorage_8h_source.html#l00486">masstorage.h:486</a></div></div>
<div class="ttc" id="settings_8h_html_a68a8c3241954d2159ff8df696dd5cff6"><div class="ttname"><a href="settings_8h.html#a68a8c3241954d2159ff8df696dd5cff6">MASS_MAX_SUPPORTED_LUN</a></div><div class="ttdeci">#define MASS_MAX_SUPPORTED_LUN</div><div class="ttdef"><b>Definition:</b> <a href="settings_8h_source.html#l00064">settings.h:64</a></div></div>
<div class="ttc" id="struct_c_d_b___l_b_a64__16_html_ad3fc14c1607698368df8704cc8d21562"><div class="ttname"><a href="struct_c_d_b___l_b_a64__16.html#ad3fc14c1607698368df8704cc8d21562">CDB_LBA64_16::LBA_M_L_LB</a></div><div class="ttdeci">uint8_t LBA_M_L_LB</div><div class="ttdef"><b>Definition:</b> <a href="masstorage_8h_source.html#l00306">masstorage.h:306</a></div></div>
<div class="ttc" id="class_bulk_only_html_af07ab48c6b9e6bdb4f0d050adbae518d"><div class="ttname"><a href="class_bulk_only.html#af07ab48c6b9e6bdb4f0d050adbae518d">BulkOnly::SCSITransaction10</a></div><div class="ttdeci">uint8_t SCSITransaction10(CDB10_t *cdb, uint16_t buf_size, void *buf, uint8_t dir)</div><div class="ttdef"><b>Definition:</b> <a href="masstorage_8cpp_source.html#l00099">masstorage.cpp:99</a></div></div>
<div class="ttc" id="class_bulk_only_html_ac8a1d7b2ef82d9f6da44928c78039964"><div class="ttname"><a href="class_bulk_only.html#ac8a1d7b2ef82d9f6da44928c78039964">BulkOnly::PrintEndpointDescriptor</a></div><div class="ttdeci">void PrintEndpointDescriptor(const USB_ENDPOINT_DESCRIPTOR *ep_ptr)</div><div class="ttdef"><b>Definition:</b> <a href="masstorage_8cpp_source.html#l01213">masstorage.cpp:1213</a></div></div>
<div class="ttc" id="struct_command_block_wrapper_html_afc172d7a8531a20ac0ff37bd43ff9335"><div class="ttname"><a href="struct_command_block_wrapper.html#afc172d7a8531a20ac0ff37bd43ff9335">CommandBlockWrapper::CommandBlockWrapper</a></div><div class="ttdeci">CommandBlockWrapper()</div><div class="ttdef"><b>Definition:</b> <a href="masstorage_8h_source.html#l00402">masstorage.h:402</a></div></div>
<div class="ttc" id="class_bulk_only_html_a8a9b213d1800db2d8e661d242b57b195"><div class="ttname"><a href="class_bulk_only.html#a8a9b213d1800db2d8e661d242b57b195">BulkOnly::Release</a></div><div class="ttdeci">uint8_t Release()</div><div class="ttdef"><b>Definition:</b> <a href="masstorage_8cpp_source.html#l00590">masstorage.cpp:590</a></div></div>
<div class="ttc" id="class_u_s_b_device_config_html"><div class="ttname"><a href="class_u_s_b_device_config.html">USBDeviceConfig</a></div><div class="ttdef"><b>Definition:</b> <a href="_usb_core_8h_source.html#l00121">UsbCore.h:121</a></div></div>
<div class="ttc" id="_usb_8h_html"><div class="ttname"><a href="_usb_8h.html">Usb.h</a></div></div>
<div class="ttc" id="struct_c_d_b___l_b_a32__16_html_aed4424e6a3afd515084359084a5e8fcb"><div class="ttname"><a href="struct_c_d_b___l_b_a32__16.html#aed4424e6a3afd515084359084a5e8fcb">CDB_LBA32_16::Control</a></div><div class="ttdeci">uint8_t Control</div><div class="ttdef"><b>Definition:</b> <a href="masstorage_8h_source.html#l00296">masstorage.h:296</a></div></div>
<div class="ttc" id="class_bulk_only_html_a470a8f0ffd6694d9dfc834da5efa627a"><div class="ttname"><a href="class_bulk_only.html#a470a8f0ffd6694d9dfc834da5efa627a">BulkOnly::Read</a></div><div class="ttdeci">uint8_t Read(uint8_t lun, uint32_t addr, uint16_t bsize, uint8_t blocks, uint8_t *buf)</div><div class="ttdef"><b>Definition:</b> <a href="masstorage_8cpp_source.html#l00154">masstorage.cpp:154</a></div></div>
<div class="ttc" id="struct_c_d_b___l_b_a32__16_html_a7e845f1253ac116a6e9d7178f1f82b6d"><div class="ttname"><a href="struct_c_d_b___l_b_a32__16.html#a7e845f1253ac116a6e9d7178f1f82b6d">CDB_LBA32_16::Service_Action</a></div><div class="ttdeci">unsigned Service_Action</div><div class="ttdef"><b>Definition:</b> <a href="masstorage_8h_source.html#l00277">masstorage.h:277</a></div></div>
<div class="ttc" id="struct_command_status_wrapper_html"><div class="ttname"><a href="struct_command_status_wrapper.html">CommandStatusWrapper</a></div><div class="ttdef"><b>Definition:</b> <a href="masstorage_8h_source.html#l00436">masstorage.h:436</a></div></div>
<div class="ttc" id="struct_command_block_wrapper_base_html_a62c537797107ada830b86e1f2d629164"><div class="ttname"><a href="struct_command_block_wrapper_base.html#a62c537797107ada830b86e1f2d629164">CommandBlockWrapperBase::dCBWDataTransferLength</a></div><div class="ttdeci">uint32_t dCBWDataTransferLength</div><div class="ttdef"><b>Definition:</b> <a href="masstorage_8h_source.html#l00373">masstorage.h:373</a></div></div>
<div class="ttc" id="struct_command_block_wrapper_html_a4954eacb2cd6d0ee7be475da3b46d907"><div class="ttname"><a href="struct_command_block_wrapper.html#a4954eacb2cd6d0ee7be475da3b46d907">CommandBlockWrapper::bmReserved1</a></div><div class="ttdeci">uint8_t bmReserved1</div><div class="ttdef"><b>Definition:</b> <a href="masstorage_8h_source.html#l00389">masstorage.h:389</a></div></div>
<div class="ttc" id="class_bulk_only_html_abec80bf6c8306115de66c0f87389bbd3"><div class="ttname"><a href="class_bulk_only.html#abec80bf6c8306115de66c0f87389bbd3">BulkOnly::SCSITransaction6</a></div><div class="ttdeci">uint8_t SCSITransaction6(CDB6_t *cdb, uint16_t buf_size, void *buf, uint8_t dir)</div><div class="ttdef"><b>Definition:</b> <a href="masstorage_8cpp_source.html#l00083">masstorage.cpp:83</a></div></div>
<div class="ttc" id="struct_inquiry_response_html_abf1bb662cae5c4d2c2e4dbb454f92e91"><div class="ttname"><a href="struct_inquiry_response.html#abf1bb662cae5c4d2c2e4dbb454f92e91">InquiryResponse::AdditionalLength</a></div><div class="ttdeci">uint8_t AdditionalLength</div><div class="ttdef"><b>Definition:</b> <a href="masstorage_8h_source.html#l00337">masstorage.h:337</a></div></div>
<div class="ttc" id="struct_inquiry_response_html_a23775c8cb582ae07c78449dc1a08c23e"><div class="ttname"><a href="struct_inquiry_response.html#a23775c8cb582ae07c78449dc1a08c23e">InquiryResponse::RevisionID</a></div><div class="ttdeci">uint8_t RevisionID[4]</div><div class="ttdef"><b>Definition:</b> <a href="masstorage_8h_source.html#l00367">masstorage.h:367</a></div></div>
<div class="ttc" id="class_bulk_only_html_abe1e768a46e751e6792164334c973b44"><div class="ttname"><a href="class_bulk_only.html#abe1e768a46e751e6792164334c973b44">BulkOnly::GetLastUsbError</a></div><div class="ttdeci">uint8_t GetLastUsbError()</div><div class="ttdef"><b>Definition:</b> <a href="masstorage_8h_source.html#l00498">masstorage.h:498</a></div></div>
<div class="ttc" id="class_bulk_only_html_a597193e88b168e96878d383619f1377d"><div class="ttname"><a href="class_bulk_only.html#a597193e88b168e96878d383619f1377d">BulkOnly::GetCapacity</a></div><div class="ttdeci">uint32_t GetCapacity(uint8_t lun)</div><div class="ttdef"><b>Definition:</b> <a href="masstorage_8cpp_source.html#l00036">masstorage.cpp:36</a></div></div>
<div class="ttc" id="struct_command_block_wrapper_base_html_a4790cb74c1b2a0fd6bb73d46724a35e3"><div class="ttname"><a href="struct_command_block_wrapper_base.html#a4790cb74c1b2a0fd6bb73d46724a35e3">CommandBlockWrapperBase::CommandBlockWrapperBase</a></div><div class="ttdeci">CommandBlockWrapperBase(uint32_t tag, uint32_t xflen, uint8_t flgs)</div><div class="ttdef"><b>Definition:</b> <a href="masstorage_8h_source.html#l00380">masstorage.h:380</a></div></div>
<div class="ttc" id="struct_command_status_wrapper_html_af872c29cfee3fb74e7ad9471ee4461fb"><div class="ttname"><a href="struct_command_status_wrapper.html#af872c29cfee3fb74e7ad9471ee4461fb">CommandStatusWrapper::dCSWTag</a></div><div class="ttdeci">uint32_t dCSWTag</div><div class="ttdef"><b>Definition:</b> <a href="masstorage_8h_source.html#l00438">masstorage.h:438</a></div></div>
<div class="ttc" id="struct_b_a_s_i_c_c_d_b_html_a64d8bea0216a84b8ba8c8f411ceae2c3"><div class="ttname"><a href="struct_b_a_s_i_c_c_d_b.html#a64d8bea0216a84b8ba8c8f411ceae2c3">BASICCDB::Opcode</a></div><div class="ttdeci">uint8_t Opcode</div><div class="ttdef"><b>Definition:</b> <a href="masstorage_8h_source.html#l00186">masstorage.h:186</a></div></div>
<div class="ttc" id="struct_inquiry_response_html_a48b774030b80f98823e9b38aba8a625d"><div class="ttname"><a href="struct_inquiry_response.html#a48b774030b80f98823e9b38aba8a625d">InquiryResponse::ThreePC</a></div><div class="ttdeci">unsigned ThreePC</div><div class="ttdef"><b>Definition:</b> <a href="masstorage_8h_source.html#l00342">masstorage.h:342</a></div></div>
<div class="ttc" id="struct_request_sense_responce_html_a243e278d4598f7524e2fd48a45269af8"><div class="ttname"><a href="struct_request_sense_responce.html#a243e278d4598f7524e2fd48a45269af8">RequestSenseResponce::bSegmentNumber</a></div><div class="ttdeci">uint8_t bSegmentNumber</div><div class="ttdef"><b>Definition:</b> <a href="masstorage_8h_source.html#l00445">masstorage.h:445</a></div></div>
<div class="ttc" id="struct_c_d_b10_html_a87dd0f57fdaedb842f4c7db9b3f7cb2e"><div class="ttname"><a href="struct_c_d_b10.html#a87dd0f57fdaedb842f4c7db9b3f7cb2e">CDB10::LBA_L_L_LB</a></div><div class="ttdeci">uint8_t LBA_L_L_LB</div><div class="ttdef"><b>Definition:</b> <a href="masstorage_8h_source.html#l00231">masstorage.h:231</a></div></div>
<div class="ttc" id="struct_c_d_b___l_b_a64__16_html_a9cf979f1acbdc8e11b29b1f9aa81c2f3"><div class="ttname"><a href="struct_c_d_b___l_b_a64__16.html#a9cf979f1acbdc8e11b29b1f9aa81c2f3">CDB_LBA64_16::ALC_M_MB</a></div><div class="ttdeci">uint8_t ALC_M_MB</div><div class="ttdef"><b>Definition:</b> <a href="masstorage_8h_source.html#l00313">masstorage.h:313</a></div></div>
<div class="ttc" id="struct_c_d_b___l_b_a32__16_html_a57fc0fb5cba1f737be25721e7f34f11f"><div class="ttname"><a href="struct_c_d_b___l_b_a32__16.html#a57fc0fb5cba1f737be25721e7f34f11f">CDB_LBA32_16::ALC_M_LB</a></div><div class="ttdeci">uint8_t ALC_M_LB</div><div class="ttdef"><b>Definition:</b> <a href="masstorage_8h_source.html#l00291">masstorage.h:291</a></div></div>
<div class="ttc" id="masstorage_8h_html_aef69aa16d6edcea3e79cb44775be6b94"><div class="ttname"><a href="masstorage_8h.html#aef69aa16d6edcea3e79cb44775be6b94">CDB12_t</a></div><div class="ttdeci">CDB12 CDB12_t</div><div class="ttdef"><b>Definition:</b> <a href="masstorage_8h_source.html#l00272">masstorage.h:272</a></div></div>
<div class="ttc" id="struct_inquiry_response_html_a9a6c47a45be5bd1ce230c9fac3cc9bbd"><div class="ttname"><a href="struct_inquiry_response.html#a9a6c47a45be5bd1ce230c9fac3cc9bbd">InquiryResponse::VS</a></div><div class="ttdeci">unsigned VS</div><div class="ttdef"><b>Definition:</b> <a href="masstorage_8h_source.html#l00352">masstorage.h:352</a></div></div>
<div class="ttc" id="struct_request_sense_responce_html_ada14013a7a12b33b5d1ed747a48d5fe0"><div class="ttname"><a href="struct_request_sense_responce.html#ada14013a7a12b33b5d1ed747a48d5fe0">RequestSenseResponce::bFieldReplaceableUnitCode</a></div><div class="ttdeci">uint8_t bFieldReplaceableUnitCode</div><div class="ttdef"><b>Definition:</b> <a href="masstorage_8h_source.html#l00458">masstorage.h:458</a></div></div>
<div class="ttc" id="struct_c_d_b___l_b_a64__16_html_ad40f82369182a1001877c7f8d818c418"><div class="ttname"><a href="struct_c_d_b___l_b_a64__16.html#ad40f82369182a1001877c7f8d818c418">CDB_LBA64_16::Control</a></div><div class="ttdeci">uint8_t Control</div><div class="ttdef"><b>Definition:</b> <a href="masstorage_8h_source.html#l00319">masstorage.h:319</a></div></div>
<div class="ttc" id="class_bulk_only_html_a20ff3cc4bb15c557f57a8c6200b412d1"><div class="ttname"><a href="class_bulk_only.html#a20ff3cc4bb15c557f57a8c6200b412d1">BulkOnly::bLastUsbError</a></div><div class="ttdeci">uint8_t bLastUsbError</div><div class="ttdef"><b>Definition:</b> <a href="masstorage_8h_source.html#l00480">masstorage.h:480</a></div></div>
<div class="ttc" id="struct_c_d_b___l_b_a32__16_html_ab03ff411de8da944cbaba39bd33ae7bc"><div class="ttname"><a href="struct_c_d_b___l_b_a32__16.html#ab03ff411de8da944cbaba39bd33ae7bc">CDB_LBA32_16::ALC_M_MB</a></div><div class="ttdeci">uint8_t ALC_M_MB</div><div class="ttdef"><b>Definition:</b> <a href="masstorage_8h_source.html#l00290">masstorage.h:290</a></div></div>
<div class="ttc" id="struct_inquiry_response_html_a801e10546dedbd134568bef84f1b287a"><div class="ttname"><a href="struct_inquiry_response.html#a801e10546dedbd134568bef84f1b287a">InquiryResponse::ResponseDataFormat</a></div><div class="ttdeci">unsigned ResponseDataFormat</div><div class="ttdef"><b>Definition:</b> <a href="masstorage_8h_source.html#l00331">masstorage.h:331</a></div></div>
<div class="ttc" id="masstorage_8h_html_aa0e2e213a2f05df124f199eeac3dbdd8"><div class="ttname"><a href="masstorage_8h.html#aa0e2e213a2f05df124f199eeac3dbdd8">BASICCDB_t</a></div><div class="ttdeci">BASICCDB BASICCDB_t</div><div class="ttdef"><b>Definition:</b> <a href="masstorage_8h_source.html#l00194">masstorage.h:194</a></div></div>
<div class="ttc" id="class_bulk_only_html_af4779aa3a30058dd15eb6e612d6761af"><div class="ttname"><a href="class_bulk_only.html#af4779aa3a30058dd15eb6e612d6761af">BulkOnly::GetbMaxLUN</a></div><div class="ttdeci">uint8_t GetbMaxLUN()</div><div class="ttdef"><b>Definition:</b> <a href="masstorage_8h_source.html#l00502">masstorage.h:502</a></div></div>
<div class="ttc" id="class_bulk_only_html_a9e487226408578a2971570bcf7de62fe"><div class="ttname"><a href="class_bulk_only.html#a9e487226408578a2971570bcf7de62fe">BulkOnly::epDataInIndex</a></div><div class="ttdeci">static const uint8_t epDataInIndex</div><div class="ttdef"><b>Definition:</b> <a href="masstorage_8h_source.html#l00464">masstorage.h:464</a></div></div>
<div class="ttc" id="class_bulk_only_html_a85d034c7da25090c36c9bdeb85338009"><div class="ttname"><a href="class_bulk_only.html#a85d034c7da25090c36c9bdeb85338009">BulkOnly::WriteProtected</a></div><div class="ttdeci">bool WriteProtected(uint8_t lun)</div><div class="ttdef"><b>Definition:</b> <a href="masstorage_8cpp_source.html#l00070">masstorage.cpp:70</a></div></div>
<div class="ttc" id="struct_inquiry_response_html_a8e8f2cb6b5a0d1ed2c300155bf2b3faa"><div class="ttname"><a href="struct_inquiry_response.html#a8e8f2cb6b5a0d1ed2c300155bf2b3faa">InquiryResponse::PeripheralQualifier</a></div><div class="ttdeci">uint8_t PeripheralQualifier</div><div class="ttdef"><b>Definition:</b> <a href="masstorage_8h_source.html#l00324">masstorage.h:324</a></div></div>
<div class="ttc" id="class_bulk_only_html_aa4e2711c6279d48c63e82a63ad458421"><div class="ttname"><a href="class_bulk_only.html#aa4e2711c6279d48c63e82a63ad458421">BulkOnly::CurrentSectorSize</a></div><div class="ttdeci">uint16_t CurrentSectorSize[MASS_MAX_SUPPORTED_LUN]</div><div class="ttdef"><b>Definition:</b> <a href="masstorage_8h_source.html#l00484">masstorage.h:484</a></div></div>
<div class="ttc" id="struct_c_d_b12_html_a1478895d17ea1ba1e2a70f5f5904e0b7"><div class="ttname"><a href="struct_c_d_b12.html#a1478895d17ea1ba1e2a70f5f5904e0b7">CDB12::Control</a></div><div class="ttdeci">uint8_t Control</div><div class="ttdef"><b>Definition:</b> <a href="masstorage_8h_source.html#l00269">masstorage.h:269</a></div></div>
<div class="ttc" id="struct_c_d_b6_html_a1d5e2c34147b5ecc84d20f10e307fd1e"><div class="ttname"><a href="struct_c_d_b6.html#a1d5e2c34147b5ecc84d20f10e307fd1e">CDB6::LBAMSB</a></div><div class="ttdeci">unsigned LBAMSB</div><div class="ttdef"><b>Definition:</b> <a href="masstorage_8h_source.html#l00199">masstorage.h:199</a></div></div>
<div class="ttc" id="masstorage_8h_html_ab4baa1ea500923e1fc59e5991f05fe99"><div class="ttname"><a href="masstorage_8h.html#ab4baa1ea500923e1fc59e5991f05fe99">MASS_MAX_ENDPOINTS</a></div><div class="ttdeci">#define MASS_MAX_ENDPOINTS</div><div class="ttdef"><b>Definition:</b> <a href="masstorage_8h_source.html#l00177">masstorage.h:177</a></div></div>
<div class="ttc" id="struct_request_sense_responce_html_a554063acfa94e465da27a7dc73cf786a"><div class="ttname"><a href="struct_request_sense_responce.html#a554063acfa94e465da27a7dc73cf786a">RequestSenseResponce::bAdditionalSenseCode</a></div><div class="ttdeci">uint8_t bAdditionalSenseCode</div><div class="ttdef"><b>Definition:</b> <a href="masstorage_8h_source.html#l00456">masstorage.h:456</a></div></div>
<div class="ttc" id="struct_inquiry_response_html_ae5c315ca0c47104b17d5bde7c4d485a6"><div class="ttname"><a href="struct_inquiry_response.html#ae5c315ca0c47104b17d5bde7c4d485a6">InquiryResponse::Reserved4</a></div><div class="ttdeci">unsigned Reserved4</div><div class="ttdef"><b>Definition:</b> <a href="masstorage_8h_source.html#l00358">masstorage.h:358</a></div></div>
<div class="ttc" id="class_bulk_only_html_a3d253a0bc8f1ac5b7fe1c9e7078691e3"><div class="ttname"><a href="class_bulk_only.html#a3d253a0bc8f1ac5b7fe1c9e7078691e3">BulkOnly::OnInit</a></div><div class="ttdeci">virtual uint8_t OnInit()</div><div class="ttdef"><b>Definition:</b> <a href="masstorage_8h_source.html#l00492">masstorage.h:492</a></div></div>
<div class="ttc" id="class_bulk_only_html_a2d422ee0745cd7c04afff905278c4233"><div class="ttname"><a href="class_bulk_only.html#a2d422ee0745cd7c04afff905278c4233">BulkOnly::qNextPollTime</a></div><div class="ttdeci">uint32_t qNextPollTime</div><div class="ttdef"><b>Definition:</b> <a href="masstorage_8h_source.html#l00473">masstorage.h:473</a></div></div>
<div class="ttc" id="class_bulk_only_html_aa6d74267dc98daeb0552fa234739ab08"><div class="ttname"><a href="class_bulk_only.html#aa6d74267dc98daeb0552fa234739ab08">BulkOnly::LUNIsGood</a></div><div class="ttdeci">bool LUNIsGood(uint8_t lun)</div><div class="ttdef"><b>Definition:</b> <a href="masstorage_8cpp_source.html#l00060">masstorage.cpp:60</a></div></div>
<div class="ttc" id="struct_c_d_b10_html_ae954128996312f8c1ac3ef9982dfb033"><div class="ttname"><a href="struct_c_d_b10.html#ae954128996312f8c1ac3ef9982dfb033">CDB10::LBA_L_M_MB</a></div><div class="ttdeci">uint8_t LBA_L_M_MB</div><div class="ttdef"><b>Definition:</b> <a href="masstorage_8h_source.html#l00228">masstorage.h:228</a></div></div>
<div class="ttc" id="struct_c_d_b6_html"><div class="ttname"><a href="struct_c_d_b6.html">CDB6</a></div><div class="ttdef"><b>Definition:</b> <a href="masstorage_8h_source.html#l00196">masstorage.h:196</a></div></div>
<div class="ttc" id="struct_c_d_b___l_b_a64__16_html_aed9c8595adf84a0fde2176afe2e45608"><div class="ttname"><a href="struct_c_d_b___l_b_a64__16.html#aed9c8595adf84a0fde2176afe2e45608">CDB_LBA64_16::LBA_M_M_LB</a></div><div class="ttdeci">uint8_t LBA_M_M_LB</div><div class="ttdef"><b>Definition:</b> <a href="masstorage_8h_source.html#l00304">masstorage.h:304</a></div></div>
<div class="ttc" id="struct_c_d_b___l_b_a64__16_html_a84e73dddce6f0967367cbfaeb64bb01f"><div class="ttname"><a href="struct_c_d_b___l_b_a64__16.html#a84e73dddce6f0967367cbfaeb64bb01f">CDB_LBA64_16::LBA_L_M_MB</a></div><div class="ttdeci">uint8_t LBA_L_M_MB</div><div class="ttdef"><b>Definition:</b> <a href="masstorage_8h_source.html#l00308">masstorage.h:308</a></div></div>
<div class="ttc" id="struct_c_d_b6_html_ada1275c63867c75daf71348ec1f8d666"><div class="ttname"><a href="struct_c_d_b6.html#ada1275c63867c75daf71348ec1f8d666">CDB6::LUN</a></div><div class="ttdeci">unsigned LUN</div><div class="ttdef"><b>Definition:</b> <a href="masstorage_8h_source.html#l00200">masstorage.h:200</a></div></div>
<div class="ttc" id="struct_b_a_s_i_c_c_d_b_html_a2c6031f3dde94acd5d03c80db213c534"><div class="ttname"><a href="struct_b_a_s_i_c_c_d_b.html#a2c6031f3dde94acd5d03c80db213c534">BASICCDB::unused</a></div><div class="ttdeci">unsigned unused</div><div class="ttdef"><b>Definition:</b> <a href="masstorage_8h_source.html#l00188">masstorage.h:188</a></div></div>
<div class="ttc" id="class_bulk_only_html_a376cb3367071555816e2b0c74ad7eb12"><div class="ttname"><a href="class_bulk_only.html#a376cb3367071555816e2b0c74ad7eb12">BulkOnly::GetAddress</a></div><div class="ttdeci">virtual uint8_t GetAddress()</div><div class="ttdef"><b>Definition:</b> <a href="masstorage_8h_source.html#l00528">masstorage.h:528</a></div></div>
<div class="ttc" id="struct_ep_info_html"><div class="ttname"><a href="struct_ep_info.html">EpInfo</a></div><div class="ttdef"><b>Definition:</b> <a href="address_8h_source.html#l00032">address.h:32</a></div></div>
<div class="ttc" id="struct_inquiry_response_html_a9f642c5fccc1c87cf6b444a138b6aa4b"><div class="ttname"><a href="struct_inquiry_response.html#a9f642c5fccc1c87cf6b444a138b6aa4b">InquiryResponse::Res</a></div><div class="ttdeci">unsigned Res</div><div class="ttdef"><b>Definition:</b> <a href="masstorage_8h_source.html#l00341">masstorage.h:341</a></div></div>
<div class="ttc" id="struct_request_sense_responce_html_a628379310065c48e738bd07037b329e6"><div class="ttname"><a href="struct_request_sense_responce.html#a628379310065c48e738bd07037b329e6">RequestSenseResponce::bAdditionalSenseQualifier</a></div><div class="ttdeci">uint8_t bAdditionalSenseQualifier</div><div class="ttdef"><b>Definition:</b> <a href="masstorage_8h_source.html#l00457">masstorage.h:457</a></div></div>
<div class="ttc" id="class_bulk_only_html_ac97cfb7558681af4cfaa11fcccc00170"><div class="ttname"><a href="class_bulk_only.html#ac97cfb7558681af4cfaa11fcccc00170">BulkOnly::GetSectorSize</a></div><div class="ttdeci">uint16_t GetSectorSize(uint8_t lun)</div><div class="ttdef"><b>Definition:</b> <a href="masstorage_8cpp_source.html#l00048">masstorage.cpp:48</a></div></div>
<div class="ttc" id="struct_inquiry_response_html_ac0ee71a9c07b0c1fd9ff09461a81fa0e"><div class="ttname"><a href="struct_inquiry_response.html#ac0ee71a9c07b0c1fd9ff09461a81fa0e">InquiryResponse::Linked</a></div><div class="ttdeci">unsigned Linked</div><div class="ttdef"><b>Definition:</b> <a href="masstorage_8h_source.html#l00359">masstorage.h:359</a></div></div>
<div class="ttc" id="struct_c_d_b___l_b_a64__16_html_accc008fb29aef96d80833c81b1ab6a7b"><div class="ttname"><a href="struct_c_d_b___l_b_a64__16.html#accc008fb29aef96d80833c81b1ab6a7b">CDB_LBA64_16::ALC_L_MB</a></div><div class="ttdeci">uint8_t ALC_L_MB</div><div class="ttdef"><b>Definition:</b> <a href="masstorage_8h_source.html#l00315">masstorage.h:315</a></div></div>
<div class="ttc" id="struct_c_d_b12_html_a02594e3177ddf6fbc85b11182a00e686"><div class="ttname"><a href="struct_c_d_b12.html#a02594e3177ddf6fbc85b11182a00e686">CDB12::ALC_L_MB</a></div><div class="ttdeci">uint8_t ALC_L_MB</div><div class="ttdef"><b>Definition:</b> <a href="masstorage_8h_source.html#l00267">masstorage.h:267</a></div></div>
<div class="ttc" id="struct_request_sense_responce_html_a4342aa28405753a185d867060fec931e"><div class="ttname"><a href="struct_request_sense_responce.html#a4342aa28405753a185d867060fec931e">RequestSenseResponce::Information</a></div><div class="ttdeci">uint8_t Information[4]</div><div class="ttdef"><b>Definition:</b> <a href="masstorage_8h_source.html#l00453">masstorage.h:453</a></div></div>
<div class="ttc" id="struct_c_d_b___l_b_a32__16_html_a104deb61d8c0973b5140fd8f586df4e9"><div class="ttname"><a href="struct_c_d_b___l_b_a32__16.html#a104deb61d8c0973b5140fd8f586df4e9">CDB_LBA32_16::A_M_L_MB</a></div><div class="ttdeci">uint8_t A_M_L_MB</div><div class="ttdef"><b>Definition:</b> <a href="masstorage_8h_source.html#l00287">masstorage.h:287</a></div></div>
<div class="ttc" id="class_bulk_only_html"><div class="ttname"><a href="class_bulk_only.html">BulkOnly</a></div><div class="ttdef"><b>Definition:</b> <a href="masstorage_8h_source.html#l00462">masstorage.h:462</a></div></div>
<div class="ttc" id="class_bulk_only_html_a21961ad1130480f534ef3e91f24c56a0"><div class="ttname"><a href="class_bulk_only.html#a21961ad1130480f534ef3e91f24c56a0">BulkOnly::bPollEnable</a></div><div class="ttdeci">bool bPollEnable</div><div class="ttdef"><b>Definition:</b> <a href="masstorage_8h_source.html#l00474">masstorage.h:474</a></div></div>
<div class="ttc" id="struct_c_d_b___l_b_a32__16_html_a636ad8867ce15eb200e30fe1002f3df2"><div class="ttname"><a href="struct_c_d_b___l_b_a32__16.html#a636ad8867ce15eb200e30fe1002f3df2">CDB_LBA32_16::A_M_L_LB</a></div><div class="ttdeci">uint8_t A_M_L_LB</div><div class="ttdef"><b>Definition:</b> <a href="masstorage_8h_source.html#l00288">masstorage.h:288</a></div></div>
<div class="ttc" id="class_bulk_only_html_ae7561d686d0b1374b5f9937d6ec8a035"><div class="ttname"><a href="class_bulk_only.html#ae7561d686d0b1374b5f9937d6ec8a035">BulkOnly::LockMedia</a></div><div class="ttdeci">uint8_t LockMedia(uint8_t lun, uint8_t lock)</div><div class="ttdef"><b>Definition:</b> <a href="masstorage_8cpp_source.html#l00114">masstorage.cpp:114</a></div></div>
<div class="ttc" id="struct_request_sense_responce_html_a7255f887c70660d714500b4131f7ab23"><div class="ttname"><a href="struct_request_sense_responce.html#a7255f887c70660d714500b4131f7ab23">RequestSenseResponce::bmFileMark</a></div><div class="ttdeci">uint8_t bmFileMark</div><div class="ttdef"><b>Definition:</b> <a href="masstorage_8h_source.html#l00451">masstorage.h:451</a></div></div>
<div class="ttc" id="struct_command_status_wrapper_html_a7170ed5bc0e2bbe04758e687beef4487"><div class="ttname"><a href="struct_command_status_wrapper.html#a7170ed5bc0e2bbe04758e687beef4487">CommandStatusWrapper::bCSWStatus</a></div><div class="ttdeci">uint8_t bCSWStatus</div><div class="ttdef"><b>Definition:</b> <a href="masstorage_8h_source.html#l00440">masstorage.h:440</a></div></div>
<div class="ttc" id="struct_c_d_b___l_b_a64__16_html_a61acd48736824f7a82f23e3dd52a3233"><div class="ttname"><a href="struct_c_d_b___l_b_a64__16.html#a61acd48736824f7a82f23e3dd52a3233">CDB_LBA64_16::ALC_M_LB</a></div><div class="ttdeci">uint8_t ALC_M_LB</div><div class="ttdef"><b>Definition:</b> <a href="masstorage_8h_source.html#l00314">masstorage.h:314</a></div></div>
<div class="ttc" id="struct_c_d_b10_html_af18bbff0fec1a1d31c741c542f2e92d6"><div class="ttname"><a href="struct_c_d_b10.html#af18bbff0fec1a1d31c741c542f2e92d6">CDB10::Opcode</a></div><div class="ttdeci">uint8_t Opcode</div><div class="ttdef"><b>Definition:</b> <a href="masstorage_8h_source.html#l00223">masstorage.h:223</a></div></div>
<div class="ttc" id="struct_c_d_b10_html_a31ae08f4bd0767c4fdb070c4c3f64212"><div class="ttname"><a href="struct_c_d_b10.html#a31ae08f4bd0767c4fdb070c4c3f64212">CDB10::ALC_MB</a></div><div class="ttdeci">uint8_t ALC_MB</div><div class="ttdef"><b>Definition:</b> <a href="masstorage_8h_source.html#l00235">masstorage.h:235</a></div></div>
<div class="ttc" id="struct_c_d_b___l_b_a64__16_html_a5f3b9efa508e9e3d79a70414ea5c74ff"><div class="ttname"><a href="struct_c_d_b___l_b_a64__16.html#a5f3b9efa508e9e3d79a70414ea5c74ff">CDB_LBA64_16::Misc</a></div><div class="ttdeci">uint8_t Misc</div><div class="ttdef"><b>Definition:</b> <a href="masstorage_8h_source.html#l00301">masstorage.h:301</a></div></div>
<div class="ttc" id="masstorage_8h_html_a56ab0baf4e98a591274bf8d1acf96d85"><div class="ttname"><a href="masstorage_8h.html#a56ab0baf4e98a591274bf8d1acf96d85">CDB6_t</a></div><div class="ttdeci">CDB6 CDB6_t</div><div class="ttdef"><b>Definition:</b> <a href="masstorage_8h_source.html#l00220">masstorage.h:220</a></div></div>
<div class="ttc" id="class_bulk_only_html_aee2247fd0a251e4da36e8c09bbe6917f"><div class="ttname"><a href="class_bulk_only.html#aee2247fd0a251e4da36e8c09bbe6917f">BulkOnly::epInfo</a></div><div class="ttdeci">EpInfo epInfo[MASS_MAX_ENDPOINTS]</div><div class="ttdef"><b>Definition:</b> <a href="masstorage_8h_source.html#l00476">masstorage.h:476</a></div></div>
<div class="ttc" id="struct_c_d_b___l_b_a64__16_html_a1b0f65bbe0956d6e4c99d00339fadfec"><div class="ttname"><a href="struct_c_d_b___l_b_a64__16.html#a1b0f65bbe0956d6e4c99d00339fadfec">CDB_LBA64_16::ALC_L_LB</a></div><div class="ttdeci">uint8_t ALC_L_LB</div><div class="ttdef"><b>Definition:</b> <a href="masstorage_8h_source.html#l00316">masstorage.h:316</a></div></div>
<div class="ttc" id="struct_c_d_b___l_b_a32__16_html_a4a6ab8304338fa8af41bc180413a4c37"><div class="ttname"><a href="struct_c_d_b___l_b_a32__16.html#a4a6ab8304338fa8af41bc180413a4c37">CDB_LBA32_16::LBA_L_M_MB</a></div><div class="ttdeci">uint8_t LBA_L_M_MB</div><div class="ttdef"><b>Definition:</b> <a href="masstorage_8h_source.html#l00280">masstorage.h:280</a></div></div>
<div class="ttc" id="struct_command_block_wrapper_base_html"><div class="ttname"><a href="struct_command_block_wrapper_base.html">CommandBlockWrapperBase</a></div><div class="ttdef"><b>Definition:</b> <a href="masstorage_8h_source.html#l00370">masstorage.h:370</a></div></div>
<div class="ttc" id="struct_c_d_b10_html_a451be0bca5ee00395c3f6c6993ac384a"><div class="ttname"><a href="struct_c_d_b10.html#a451be0bca5ee00395c3f6c6993ac384a">CDB10::LUN</a></div><div class="ttdeci">unsigned LUN</div><div class="ttdef"><b>Definition:</b> <a href="masstorage_8h_source.html#l00226">masstorage.h:226</a></div></div>
<div class="ttc" id="struct_inquiry_response_html_a3ed45a85bce19a76850cf5085ab35187"><div class="ttname"><a href="struct_inquiry_response.html#a3ed45a85bce19a76850cf5085ab35187">InquiryResponse::SCCS</a></div><div class="ttdeci">unsigned SCCS</div><div class="ttdef"><b>Definition:</b> <a href="masstorage_8h_source.html#l00345">masstorage.h:345</a></div></div>
<div class="ttc" id="struct_c_d_b10_html"><div class="ttname"><a href="struct_c_d_b10.html">CDB10</a></div><div class="ttdef"><b>Definition:</b> <a href="masstorage_8h_source.html#l00222">masstorage.h:222</a></div></div>
<div class="ttc" id="class_u_s_b_read_parser_html"><div class="ttname"><a href="class_u_s_b_read_parser.html">USBReadParser</a></div><div class="ttdef"><b>Definition:</b> <a href="_usb_core_8h_source.html#l00192">UsbCore.h:192</a></div></div>
<div class="ttc" id="struct_c_d_b10_html_a82b8e9bddbdbc8ef4d8b19017743f4a9"><div class="ttname"><a href="struct_c_d_b10.html#a82b8e9bddbdbc8ef4d8b19017743f4a9">CDB10::LBA_L_L_MB</a></div><div class="ttdeci">uint8_t LBA_L_L_MB</div><div class="ttdef"><b>Definition:</b> <a href="masstorage_8h_source.html#l00230">masstorage.h:230</a></div></div>
<div class="ttc" id="class_bulk_only_html_a24c051d401f5f1a9ce65c1bc25ab02dd"><div class="ttname"><a href="class_bulk_only.html#a24c051d401f5f1a9ce65c1bc25ab02dd">BulkOnly::bTheLUN</a></div><div class="ttdeci">uint8_t bTheLUN</div><div class="ttdef"><b>Definition:</b> <a href="masstorage_8h_source.html#l00482">masstorage.h:482</a></div></div>
<div class="ttc" id="struct_request_sense_responce_html_ab2f0cab24692ca29dffc231f31198726"><div class="ttname"><a href="struct_request_sense_responce.html#ab2f0cab24692ca29dffc231f31198726">RequestSenseResponce::CmdSpecificInformation</a></div><div class="ttdeci">uint8_t CmdSpecificInformation[4]</div><div class="ttdef"><b>Definition:</b> <a href="masstorage_8h_source.html#l00455">masstorage.h:455</a></div></div>
<div class="ttc" id="class_bulk_only_html_a530fb250b0a0c92b48bc57e2957ace25"><div class="ttname"><a href="class_bulk_only.html#a530fb250b0a0c92b48bc57e2957ace25">BulkOnly::BulkOnly</a></div><div class="ttdeci">BulkOnly(USB *p)</div><div class="ttdef"><b>Definition:</b> <a href="masstorage_8cpp_source.html#l00222">masstorage.cpp:222</a></div></div>
<div class="ttc" id="struct_inquiry_response_html_a6b4df8c5346c15186c9f200997bfb287"><div class="ttname"><a href="struct_inquiry_response.html#a6b4df8c5346c15186c9f200997bfb287">InquiryResponse::ENCSERV</a></div><div class="ttdeci">unsigned ENCSERV</div><div class="ttdef"><b>Definition:</b> <a href="masstorage_8h_source.html#l00353">masstorage.h:353</a></div></div>
<div class="ttc" id="struct_c_d_b6_html_ac68515ca26c4eabe62e63b5d722c3962"><div class="ttname"><a href="struct_c_d_b6.html#ac68515ca26c4eabe62e63b5d722c3962">CDB6::CDB6</a></div><div class="ttdeci">CDB6(uint8_t _Opcode, uint8_t _LUN, uint32_t LBA, uint8_t _AllocationLength, uint8_t _Control)</div><div class="ttdef"><b>Definition:</b> <a href="masstorage_8h_source.html#l00209">masstorage.h:209</a></div></div>
<div class="ttc" id="struct_inquiry_response_html_aa635575deb7f984d27142ee2071af5b3"><div class="ttname"><a href="struct_inquiry_response.html#aa635575deb7f984d27142ee2071af5b3">InquiryResponse::R2</a></div><div class="ttdeci">unsigned R2</div><div class="ttdef"><b>Definition:</b> <a href="masstorage_8h_source.html#l00349">masstorage.h:349</a></div></div>
<div class="ttc" id="class_usb_config_xtracter_html"><div class="ttname"><a href="class_usb_config_xtracter.html">UsbConfigXtracter</a></div><div class="ttdef"><b>Definition:</b> <a href="confdescparser_8h_source.html#l00023">confdescparser.h:23</a></div></div>
<div class="ttc" id="struct_c_d_b___l_b_a64__16_html_a3e6a585296d7ae2e425604b1b1ba3113"><div class="ttname"><a href="struct_c_d_b___l_b_a64__16.html#a3e6a585296d7ae2e425604b1b1ba3113">CDB_LBA64_16::LBA_M_L_MB</a></div><div class="ttdeci">uint8_t LBA_M_L_MB</div><div class="ttdef"><b>Definition:</b> <a href="masstorage_8h_source.html#l00305">masstorage.h:305</a></div></div>
<div class="ttc" id="struct_c_d_b12_html_a4ff6f2492ed55afa147edeb4605e6c06"><div class="ttname"><a href="struct_c_d_b12.html#a4ff6f2492ed55afa147edeb4605e6c06">CDB12::ALC_M_LB</a></div><div class="ttdeci">uint8_t ALC_M_LB</div><div class="ttdef"><b>Definition:</b> <a href="masstorage_8h_source.html#l00266">masstorage.h:266</a></div></div>
<div class="ttc" id="struct_c_d_b10_html_ae6b8b5161b2e7971603589c35a27c586"><div class="ttname"><a href="struct_c_d_b10.html#ae6b8b5161b2e7971603589c35a27c586">CDB10::CDB10</a></div><div class="ttdeci">CDB10(uint8_t _Opcode, uint8_t _LUN, uint16_t xflen, uint32_t _LBA)</div><div class="ttdef"><b>Definition:</b> <a href="masstorage_8h_source.html#l00247">masstorage.h:247</a></div></div>
<div class="ttc" id="struct_c_d_b___l_b_a32__16_html_a03d583e8bd99b2d196d734ffd0951fff"><div class="ttname"><a href="struct_c_d_b___l_b_a32__16.html#a03d583e8bd99b2d196d734ffd0951fff">CDB_LBA32_16::ALC_L_LB</a></div><div class="ttdeci">uint8_t ALC_L_LB</div><div class="ttdef"><b>Definition:</b> <a href="masstorage_8h_source.html#l00293">masstorage.h:293</a></div></div>
<div class="ttc" id="struct_c_d_b12_html_a75c7fb542c6c0ad6ba4a0e95a49ba1e1"><div class="ttname"><a href="struct_c_d_b12.html#a75c7fb542c6c0ad6ba4a0e95a49ba1e1">CDB12::Opcode</a></div><div class="ttdeci">uint8_t Opcode</div><div class="ttdef"><b>Definition:</b> <a href="masstorage_8h_source.html#l00257">masstorage.h:257</a></div></div>
<div class="ttc" id="struct_command_block_wrapper_html_aed4fbab705f9d412f5f436b8b4ad1b18"><div class="ttname"><a href="struct_command_block_wrapper.html#aed4fbab705f9d412f5f436b8b4ad1b18">CommandBlockWrapper::CommandBlockWrapper</a></div><div class="ttdeci">CommandBlockWrapper(uint32_t tag, uint32_t xflen, uint8_t flgs, uint8_t lu, uint8_t cmdlen, uint8_t cmd)</div><div class="ttdef"><b>Definition:</b> <a href="masstorage_8h_source.html#l00409">masstorage.h:409</a></div></div>
<div class="ttc" id="struct_c_d_b___l_b_a64__16_html_a9a71353cc6ecb838dfd560a3c985e4a6"><div class="ttname"><a href="struct_c_d_b___l_b_a64__16.html#a9a71353cc6ecb838dfd560a3c985e4a6">CDB_LBA64_16::Misc2</a></div><div class="ttdeci">uint8_t Misc2</div><div class="ttdef"><b>Definition:</b> <a href="masstorage_8h_source.html#l00318">masstorage.h:318</a></div></div>
<div class="ttc" id="struct_inquiry_response_html_abc2af027a176dc85d4e83f14eec7972e"><div class="ttname"><a href="struct_inquiry_response.html#abc2af027a176dc85d4e83f14eec7972e">InquiryResponse::DeviceType</a></div><div class="ttdeci">uint8_t DeviceType</div><div class="ttdef"><b>Definition:</b> <a href="masstorage_8h_source.html#l00323">masstorage.h:323</a></div></div>
<div class="ttc" id="class_bulk_only_html_ac18ad598cd9a1ee99f49d51a572a50a4"><div class="ttname"><a href="class_bulk_only.html#ac18ad598cd9a1ee99f49d51a572a50a4">BulkOnly::bIface</a></div><div class="ttdeci">uint8_t bIface</div><div class="ttdef"><b>Definition:</b> <a href="masstorage_8h_source.html#l00471">masstorage.h:471</a></div></div>
<div class="ttc" id="struct_request_sense_responce_html_affd71e9a5912c4752adb0cb108cf4118"><div class="ttname"><a href="struct_request_sense_responce.html#affd71e9a5912c4752adb0cb108cf4118">RequestSenseResponce::bmSenseKey</a></div><div class="ttdeci">uint8_t bmSenseKey</div><div class="ttdef"><b>Definition:</b> <a href="masstorage_8h_source.html#l00447">masstorage.h:447</a></div></div>
<div class="ttc" id="struct_command_block_wrapper_html_a3e59ab853c6091430a6ccf60845c6822"><div class="ttname"><a href="struct_command_block_wrapper.html#a3e59ab853c6091430a6ccf60845c6822">CommandBlockWrapper::CommandBlockWrapper</a></div><div class="ttdeci">CommandBlockWrapper(uint32_t tag, uint32_t xflen, CDB6_t *cdb, uint8_t dir)</div><div class="ttdef"><b>Definition:</b> <a href="masstorage_8h_source.html#l00422">masstorage.h:422</a></div></div>
<div class="ttc" id="class_bulk_only_html_a878110a3df287aae4f95807865d18819"><div class="ttname"><a href="class_bulk_only.html#a878110a3df287aae4f95807865d18819">BulkOnly::DEVCLASSOK</a></div><div class="ttdeci">virtual bool DEVCLASSOK(uint8_t klass)</div><div class="ttdef"><b>Definition:</b> <a href="masstorage_8h_source.html#l00535">masstorage.h:535</a></div></div>
<div class="ttc" id="struct_command_block_wrapper_html_a2a16bb9a98e3ee4eaac8fea6310b4e01"><div class="ttname"><a href="struct_command_block_wrapper.html#a2a16bb9a98e3ee4eaac8fea6310b4e01">CommandBlockWrapper::bmCBWLUN</a></div><div class="ttdeci">uint8_t bmCBWLUN</div><div class="ttdef"><b>Definition:</b> <a href="masstorage_8h_source.html#l00388">masstorage.h:388</a></div></div>
<div class="ttc" id="struct_inquiry_response_html_a0acb31c77f25be1d6e37c827147645af"><div class="ttname"><a href="struct_inquiry_response.html#a0acb31c77f25be1d6e37c827147645af">InquiryResponse::PROTECT</a></div><div class="ttdeci">unsigned PROTECT</div><div class="ttdef"><b>Definition:</b> <a href="masstorage_8h_source.html#l00340">masstorage.h:340</a></div></div>
<div class="ttc" id="struct_command_block_wrapper_base_html_a133ffc8ac9be6ce284f10efece567748"><div class="ttname"><a href="struct_command_block_wrapper_base.html#a133ffc8ac9be6ce284f10efece567748">CommandBlockWrapperBase::dCBWSignature</a></div><div class="ttdeci">uint32_t dCBWSignature</div><div class="ttdef"><b>Definition:</b> <a href="masstorage_8h_source.html#l00371">masstorage.h:371</a></div></div>
<div class="ttc" id="struct_inquiry_response_html_ac70c33310966b01936cd0c3ab7477c83"><div class="ttname"><a href="struct_inquiry_response.html#ac70c33310966b01936cd0c3ab7477c83">InquiryResponse::Sync</a></div><div class="ttdeci">unsigned Sync</div><div class="ttdef"><b>Definition:</b> <a href="masstorage_8h_source.html#l00360">masstorage.h:360</a></div></div>
<div class="ttc" id="class_bulk_only_html_a6bbdd41bf6efc4060f3c36da7d6ed8b2"><div class="ttname"><a href="class_bulk_only.html#a6bbdd41bf6efc4060f3c36da7d6ed8b2">BulkOnly::bMaxLUN</a></div><div class="ttdeci">uint8_t bMaxLUN</div><div class="ttdef"><b>Definition:</b> <a href="masstorage_8h_source.html#l00481">masstorage.h:481</a></div></div>
<div class="ttc" id="struct_c_d_b___l_b_a32__16_html_a9b4af68995d60538e2c15ce5e2c06754"><div class="ttname"><a href="struct_c_d_b___l_b_a32__16.html#a9b4af68995d60538e2c15ce5e2c06754">CDB_LBA32_16::LBA_L_L_MB</a></div><div class="ttdeci">uint8_t LBA_L_L_MB</div><div class="ttdef"><b>Definition:</b> <a href="masstorage_8h_source.html#l00282">masstorage.h:282</a></div></div>
<div class="ttc" id="struct_inquiry_response_html"><div class="ttname"><a href="struct_inquiry_response.html">InquiryResponse</a></div><div class="ttdef"><b>Definition:</b> <a href="masstorage_8h_source.html#l00322">masstorage.h:322</a></div></div>
<div class="ttc" id="class_bulk_only_html_a45d327ddf87e01607c3a5b1849936053"><div class="ttname"><a href="class_bulk_only.html#a45d327ddf87e01607c3a5b1849936053">BulkOnly::Write</a></div><div class="ttdeci">uint8_t Write(uint8_t lun, uint32_t addr, uint16_t bsize, uint8_t blocks, const uint8_t *buf)</div><div class="ttdef"><b>Definition:</b> <a href="masstorage_8cpp_source.html#l00188">masstorage.cpp:188</a></div></div>
<div class="ttc" id="struct_c_d_b12_html_a20b3adfe30452dfcb15466097223dc96"><div class="ttname"><a href="struct_c_d_b12.html#a20b3adfe30452dfcb15466097223dc96">CDB12::ALC_L_LB</a></div><div class="ttdeci">uint8_t ALC_L_LB</div><div class="ttdef"><b>Definition:</b> <a href="masstorage_8h_source.html#l00268">masstorage.h:268</a></div></div>
<div class="ttc" id="struct_inquiry_response_html_ada87cc4b574b2d9dcce27c6837ee09a3"><div class="ttname"><a href="struct_inquiry_response.html#ada87cc4b574b2d9dcce27c6837ee09a3">InquiryResponse::ADDR16</a></div><div class="ttdeci">unsigned ADDR16</div><div class="ttdef"><b>Definition:</b> <a href="masstorage_8h_source.html#l00347">masstorage.h:347</a></div></div>
<div class="ttc" id="struct_c_d_b___l_b_a32__16_html_afe7168380c8e629cc53432938b47f1f1"><div class="ttname"><a href="struct_c_d_b___l_b_a32__16.html#afe7168380c8e629cc53432938b47f1f1">CDB_LBA32_16::A_M_M_LB</a></div><div class="ttdeci">uint8_t A_M_M_LB</div><div class="ttdef"><b>Definition:</b> <a href="masstorage_8h_source.html#l00286">masstorage.h:286</a></div></div>
<div class="ttc" id="class_bulk_only_html_a13d33906543d5d6b44620f430dc729ff"><div class="ttname"><a href="class_bulk_only.html#a13d33906543d5d6b44620f430dc729ff">BulkOnly::EndpointXtract</a></div><div class="ttdeci">void EndpointXtract(uint8_t conf, uint8_t iface, uint8_t alt, uint8_t proto, const USB_ENDPOINT_DESCRIPTOR *ep)</div><div class="ttdef"><b>Definition:</b> <a href="masstorage_8cpp_source.html#l00543">masstorage.cpp:543</a></div></div>
<div class="ttc" id="struct_request_sense_responce_html_a7db2938d24b431077a52edd1b8c48557"><div class="ttname"><a href="struct_request_sense_responce.html#a7db2938d24b431077a52edd1b8c48557">RequestSenseResponce::bResponseCode</a></div><div class="ttdeci">uint8_t bResponseCode</div><div class="ttdef"><b>Definition:</b> <a href="masstorage_8h_source.html#l00444">masstorage.h:444</a></div></div>
<div class="ttc" id="struct_inquiry_response_html_abb4a48d4fc326ad932fb41c82fe289f3"><div class="ttname"><a href="struct_inquiry_response.html#abb4a48d4fc326ad932fb41c82fe289f3">InquiryResponse::Reserved</a></div><div class="ttdeci">unsigned Reserved</div><div class="ttdef"><b>Definition:</b> <a href="masstorage_8h_source.html#l00326">masstorage.h:326</a></div></div>
<div class="ttc" id="struct_inquiry_response_html_ac4236ae883e8948bc73e91b6ad091ba8"><div class="ttname"><a href="struct_inquiry_response.html#ac4236ae883e8948bc73e91b6ad091ba8">InquiryResponse::MCHNGR</a></div><div class="ttdeci">unsigned MCHNGR</div><div class="ttdef"><b>Definition:</b> <a href="masstorage_8h_source.html#l00350">masstorage.h:350</a></div></div>
<div class="ttc" id="struct_inquiry_response_html_a6a3fdde354529eb47ea3f43975bc224d"><div class="ttname"><a href="struct_inquiry_response.html#a6a3fdde354529eb47ea3f43975bc224d">InquiryResponse::MULTIP</a></div><div class="ttdeci">unsigned MULTIP</div><div class="ttdef"><b>Definition:</b> <a href="masstorage_8h_source.html#l00351">masstorage.h:351</a></div></div>
<div class="ttc" id="struct_b_a_s_i_c_c_d_b_html_ae796279e9083692e308e7819349a79fc"><div class="ttname"><a href="struct_b_a_s_i_c_c_d_b.html#ae796279e9083692e308e7819349a79fc">BASICCDB::info</a></div><div class="ttdeci">uint8_t info[12]</div><div class="ttdef"><b>Definition:</b> <a href="masstorage_8h_source.html#l00191">masstorage.h:191</a></div></div>
<div class="ttc" id="struct_c_d_b___l_b_a64__16_html_a0d132ae68523608e5365f253072da224"><div class="ttname"><a href="struct_c_d_b___l_b_a64__16.html#a0d132ae68523608e5365f253072da224">CDB_LBA64_16::LBA_M_M_MB</a></div><div class="ttdeci">uint8_t LBA_M_M_MB</div><div class="ttdef"><b>Definition:</b> <a href="masstorage_8h_source.html#l00303">masstorage.h:303</a></div></div>
<div class="ttc" id="macros_8h_html_a49c9ebd69fbb93bd97f9051f592390c6"><div class="ttname"><a href="macros_8h.html#a49c9ebd69fbb93bd97f9051f592390c6">BGRAB2</a></div><div class="ttdeci">#define BGRAB2(__usi__)</div><div class="ttdef"><b>Definition:</b> <a href="macros_8h_source.html#l00051">macros.h:51</a></div></div>
<div class="ttc" id="struct_c_d_b___l_b_a64__16_html_a63cbcd1af4db45506a83c7ec603b44ea"><div class="ttname"><a href="struct_c_d_b___l_b_a64__16.html#a63cbcd1af4db45506a83c7ec603b44ea">CDB_LBA64_16::LBA_L_M_LB</a></div><div class="ttdeci">uint8_t LBA_L_M_LB</div><div class="ttdef"><b>Definition:</b> <a href="masstorage_8h_source.html#l00309">masstorage.h:309</a></div></div>
<div class="ttc" id="class_u_s_b_html"><div class="ttname"><a href="class_u_s_b.html">USB</a></div><div class="ttdef"><b>Definition:</b> <a href="_usb_core_8h_source.html#l00197">UsbCore.h:197</a></div></div>
<div class="ttc" id="class_bulk_only_html_a51870da9badc037166b86da60bcda6ea"><div class="ttname"><a href="class_bulk_only.html#a51870da9badc037166b86da60bcda6ea">BulkOnly::Init</a></div><div class="ttdeci">uint8_t Init(uint8_t parent, uint8_t port, bool lowspeed)</div><div class="ttdef"><b>Definition:</b> <a href="masstorage_8cpp_source.html#l00326">masstorage.cpp:326</a></div></div>
<div class="ttc" id="struct_b_a_s_i_c_c_d_b_html"><div class="ttname"><a href="struct_b_a_s_i_c_c_d_b.html">BASICCDB</a></div><div class="ttdef"><b>Definition:</b> <a href="masstorage_8h_source.html#l00185">masstorage.h:185</a></div></div>
<div class="ttc" id="struct_c_d_b12_html_af59803ec81c006b7bdefc03d80579d07"><div class="ttname"><a href="struct_c_d_b12.html#af59803ec81c006b7bdefc03d80579d07">CDB12::Misc</a></div><div class="ttdeci">unsigned Misc</div><div class="ttdef"><b>Definition:</b> <a href="masstorage_8h_source.html#l00260">masstorage.h:260</a></div></div>
<div class="ttc" id="struct_request_sense_responce_html_a61d034714befc2fa0fb7dcea30942324"><div class="ttname"><a href="struct_request_sense_responce.html#a61d034714befc2fa0fb7dcea30942324">RequestSenseResponce::SenseKeySpecific</a></div><div class="ttdeci">uint8_t SenseKeySpecific[3]</div><div class="ttdef"><b>Definition:</b> <a href="masstorage_8h_source.html#l00459">masstorage.h:459</a></div></div>
<div class="ttc" id="struct_capacity_html_ae6dd521cd2ece3d6fa6fe58180fb9e8a"><div class="ttname"><a href="struct_capacity.html#ae6dd521cd2ece3d6fa6fe58180fb9e8a">Capacity::data</a></div><div class="ttdeci">uint8_t data[8]</div><div class="ttdef"><b>Definition:</b> <a href="masstorage_8h_source.html#l00180">masstorage.h:180</a></div></div>
<div class="ttc" id="macros_8h_html_a9860e9931085c9e299185903eeb0e728"><div class="ttname"><a href="macros_8h.html#a9860e9931085c9e299185903eeb0e728">BGRAB3</a></div><div class="ttdeci">#define BGRAB3(__usi__)</div><div class="ttdef"><b>Definition:</b> <a href="macros_8h_source.html#l00052">macros.h:52</a></div></div>
<div class="ttc" id="struct_c_d_b___l_b_a32__16_html_aceab9e7479ff5e3a7ea449a97a6e26e2"><div class="ttname"><a href="struct_c_d_b___l_b_a32__16.html#aceab9e7479ff5e3a7ea449a97a6e26e2">CDB_LBA32_16::A_M_M_MB</a></div><div class="ttdeci">uint8_t A_M_M_MB</div><div class="ttdef"><b>Definition:</b> <a href="masstorage_8h_source.html#l00285">masstorage.h:285</a></div></div>
<div class="ttc" id="struct_command_status_wrapper_html_a498a87759e737395829b6ff4b6420ad1"><div class="ttname"><a href="struct_command_status_wrapper.html#a498a87759e737395829b6ff4b6420ad1">CommandStatusWrapper::dCSWSignature</a></div><div class="ttdeci">uint32_t dCSWSignature</div><div class="ttdef"><b>Definition:</b> <a href="masstorage_8h_source.html#l00437">masstorage.h:437</a></div></div>
<div class="ttc" id="struct_c_d_b10_html_aa39a2ed8852448c4bcbba7d3bc478be5"><div class="ttname"><a href="struct_c_d_b10.html#aa39a2ed8852448c4bcbba7d3bc478be5">CDB10::Control</a></div><div class="ttdeci">uint8_t Control</div><div class="ttdef"><b>Definition:</b> <a href="masstorage_8h_source.html#l00238">masstorage.h:238</a></div></div>
<div class="ttc" id="struct_c_d_b6_html_af2b06ea02758f3096f48da306371a7d8"><div class="ttname"><a href="struct_c_d_b6.html#af2b06ea02758f3096f48da306371a7d8">CDB6::Opcode</a></div><div class="ttdeci">uint8_t Opcode</div><div class="ttdef"><b>Definition:</b> <a href="masstorage_8h_source.html#l00197">masstorage.h:197</a></div></div>
<div class="ttc" id="struct_c_d_b___l_b_a32__16_html_a50e5250b635b8782b1a82f4f137feefb"><div class="ttname"><a href="struct_c_d_b___l_b_a32__16.html#a50e5250b635b8782b1a82f4f137feefb">CDB_LBA32_16::Misc</a></div><div class="ttdeci">unsigned Misc</div><div class="ttdef"><b>Definition:</b> <a href="masstorage_8h_source.html#l00278">masstorage.h:278</a></div></div>
<div class="ttc" id="struct_inquiry_response_html_a78c6cf3387430de8176b006c4915be63"><div class="ttname"><a href="struct_inquiry_response.html#a78c6cf3387430de8176b006c4915be63">InquiryResponse::WideBus32Bit</a></div><div class="ttdeci">unsigned WideBus32Bit</div><div class="ttdef"><b>Definition:</b> <a href="masstorage_8h_source.html#l00362">masstorage.h:362</a></div></div>
<div class="ttc" id="struct_inquiry_response_html_a86832a5def98c1e21447497177a8cc3a"><div class="ttname"><a href="struct_inquiry_response.html#a86832a5def98c1e21447497177a8cc3a">InquiryResponse::Version</a></div><div class="ttdeci">uint8_t Version</div><div class="ttdef"><b>Definition:</b> <a href="masstorage_8h_source.html#l00329">masstorage.h:329</a></div></div>
<div class="ttc" id="masstorage_8h_html_a439c9558fff25c40219c0f20244e666d"><div class="ttname"><a href="masstorage_8h.html#a439c9558fff25c40219c0f20244e666d">MASS_CBW_SIGNATURE</a></div><div class="ttdeci">#define MASS_CBW_SIGNATURE</div><div class="ttdef"><b>Definition:</b> <a href="masstorage_8h_source.html#l00056">masstorage.h:56</a></div></div>
<div class="ttc" id="struct_inquiry_response_html_ac912c8788475256de0bb7139e4a9f069"><div class="ttname"><a href="struct_inquiry_response.html#ac912c8788475256de0bb7139e4a9f069">InquiryResponse::SoftReset</a></div><div class="ttdeci">unsigned SoftReset</div><div class="ttdef"><b>Definition:</b> <a href="masstorage_8h_source.html#l00356">masstorage.h:356</a></div></div>
<div class="ttc" id="struct_c_d_b6_html_af878d394767d1278deacb11410b772f4"><div class="ttname"><a href="struct_c_d_b6.html#af878d394767d1278deacb11410b772f4">CDB6::CDB6</a></div><div class="ttdeci">CDB6(uint8_t _Opcode, uint8_t _LUN, uint8_t _AllocationLength, uint8_t _Control)</div><div class="ttdef"><b>Definition:</b> <a href="masstorage_8h_source.html#l00214">masstorage.h:214</a></div></div>
<div class="ttc" id="struct_inquiry_response_html_add4ccc2e5f626d29a24e5f38149a2e76"><div class="ttname"><a href="struct_inquiry_response.html#add4ccc2e5f626d29a24e5f38149a2e76">InquiryResponse::TrmTsk</a></div><div class="ttdeci">unsigned TrmTsk</div><div class="ttdef"><b>Definition:</b> <a href="masstorage_8h_source.html#l00334">masstorage.h:334</a></div></div>
<div class="ttc" id="macros_8h_html_a483a8ceb644d44744abff34f61cc5442"><div class="ttname"><a href="macros_8h.html#a483a8ceb644d44744abff34f61cc5442">BGRAB1</a></div><div class="ttdeci">#define BGRAB1(__usi__)</div><div class="ttdef"><b>Definition:</b> <a href="macros_8h_source.html#l00050">macros.h:50</a></div></div>
<div class="ttc" id="class_bulk_only_html_a6cb56ebd0307845321340919e2b35952"><div class="ttname"><a href="class_bulk_only.html#a6cb56ebd0307845321340919e2b35952">BulkOnly::bNumEP</a></div><div class="ttdeci">uint8_t bNumEP</div><div class="ttdef"><b>Definition:</b> <a href="masstorage_8h_source.html#l00472">masstorage.h:472</a></div></div>
<div class="ttc" id="class_bulk_only_html_a6b4ae384eea3aacd8bf916439621973a"><div class="ttname"><a href="class_bulk_only.html#a6b4ae384eea3aacd8bf916439621973a">BulkOnly::pUsb</a></div><div class="ttdeci">USB * pUsb</div><div class="ttdef"><b>Definition:</b> <a href="masstorage_8h_source.html#l00468">masstorage.h:468</a></div></div>
<div class="ttc" id="struct_c_d_b12_html_a6fb44effe62ecb8ec0de742b836fe194"><div class="ttname"><a href="struct_c_d_b12.html#a6fb44effe62ecb8ec0de742b836fe194">CDB12::LBA_L_M_LB</a></div><div class="ttdeci">uint8_t LBA_L_M_LB</div><div class="ttdef"><b>Definition:</b> <a href="masstorage_8h_source.html#l00262">masstorage.h:262</a></div></div>
<div class="ttc" id="struct_command_block_wrapper_html"><div class="ttname"><a href="struct_command_block_wrapper.html">CommandBlockWrapper</a></div><div class="ttdef"><b>Definition:</b> <a href="masstorage_8h_source.html#l00385">masstorage.h:385</a></div></div>
<div class="ttc" id="struct_c_d_b___l_b_a64__16_html_a20868e9b945a51e146af8a31cad92977"><div class="ttname"><a href="struct_c_d_b___l_b_a64__16.html#a20868e9b945a51e146af8a31cad92977">CDB_LBA64_16::Opcode</a></div><div class="ttdeci">uint8_t Opcode</div><div class="ttdef"><b>Definition:</b> <a href="masstorage_8h_source.html#l00300">masstorage.h:300</a></div></div>
<div class="ttc" id="struct_command_block_wrapper_html_ac651509a5fc7789ba59d21fe94c55e77"><div class="ttname"><a href="struct_command_block_wrapper.html#ac651509a5fc7789ba59d21fe94c55e77">CommandBlockWrapper::bmReserved2</a></div><div class="ttdeci">uint8_t bmReserved2</div><div class="ttdef"><b>Definition:</b> <a href="masstorage_8h_source.html#l00394">masstorage.h:394</a></div></div>
<div class="ttc" id="struct_c_d_b___l_b_a32__16_html_afc2671b54d66b5b06fba9a73c2c4cad9"><div class="ttname"><a href="struct_c_d_b___l_b_a32__16.html#afc2671b54d66b5b06fba9a73c2c4cad9">CDB_LBA32_16::ALC_L_MB</a></div><div class="ttdeci">uint8_t ALC_L_MB</div><div class="ttdef"><b>Definition:</b> <a href="masstorage_8h_source.html#l00292">masstorage.h:292</a></div></div>
<div class="ttc" id="struct_inquiry_response_html_a39a63fd0fd92c50370af9aefe93c13cf"><div class="ttname"><a href="struct_inquiry_response.html#a39a63fd0fd92c50370af9aefe93c13cf">InquiryResponse::WideBus16Bit</a></div><div class="ttdeci">unsigned WideBus16Bit</div><div class="ttdef"><b>Definition:</b> <a href="masstorage_8h_source.html#l00361">masstorage.h:361</a></div></div>
<div class="ttc" id="struct_c_d_b12_html_aa95a1e5187a93f331b34c5aaf05e0cf6"><div class="ttname"><a href="struct_c_d_b12.html#aa95a1e5187a93f331b34c5aaf05e0cf6">CDB12::LBA_L_L_LB</a></div><div class="ttdeci">uint8_t LBA_L_L_LB</div><div class="ttdef"><b>Definition:</b> <a href="masstorage_8h_source.html#l00264">masstorage.h:264</a></div></div>
<div class="ttc" id="struct_inquiry_response_html_a5b8449c749fe6290adc3bf0901697fbb"><div class="ttname"><a href="struct_inquiry_response.html#a5b8449c749fe6290adc3bf0901697fbb">InquiryResponse::ACC</a></div><div class="ttdeci">unsigned ACC</div><div class="ttdef"><b>Definition:</b> <a href="masstorage_8h_source.html#l00344">masstorage.h:344</a></div></div>
<div class="ttc" id="struct_c_d_b___l_b_a64__16_html"><div class="ttname"><a href="struct_c_d_b___l_b_a64__16.html">CDB_LBA64_16</a></div><div class="ttdef"><b>Definition:</b> <a href="masstorage_8h_source.html#l00299">masstorage.h:299</a></div></div>
<div class="ttc" id="struct_c_d_b___l_b_a32__16_html_abc471d94f83905561d961f4f90629521"><div class="ttname"><a href="struct_c_d_b___l_b_a32__16.html#abc471d94f83905561d961f4f90629521">CDB_LBA32_16::Opcode</a></div><div class="ttdeci">uint8_t Opcode</div><div class="ttdef"><b>Definition:</b> <a href="masstorage_8h_source.html#l00275">masstorage.h:275</a></div></div>
<div class="ttc" id="struct_command_block_wrapper_html_a069c89f584abbf45c13ebb85ca906494"><div class="ttname"><a href="struct_command_block_wrapper.html#a069c89f584abbf45c13ebb85ca906494">CommandBlockWrapper::bmCBWCBLength</a></div><div class="ttdeci">uint8_t bmCBWCBLength</div><div class="ttdef"><b>Definition:</b> <a href="masstorage_8h_source.html#l00393">masstorage.h:393</a></div></div>
<div class="ttc" id="class_bulk_only_html_adfec4b466c0ba9db172d057727b07ab1"><div class="ttname"><a href="class_bulk_only.html#adfec4b466c0ba9db172d057727b07ab1">BulkOnly::GetbTheLUN</a></div><div class="ttdeci">uint8_t GetbTheLUN()</div><div class="ttdef"><b>Definition:</b> <a href="masstorage_8h_source.html#l00506">masstorage.h:506</a></div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.9.1
</small></address>
</body>
</html>