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