Files
discoverpixy/usbh__msc__scsi_8h.html
2015-05-12 11:12:43 +02:00

238 lines
29 KiB
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.9.1"/>
<title>discoverpixy: discovery/libs/StmUsbHost/STM32_USB_HOST_Library/Class/MSC/inc/usbh_msc_scsi.h File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/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" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td style="padding-left: 0.5em;">
<div id="projectname">discoverpixy
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.9.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<div id="navrow1" class="tabs">
<ul class="tablist">
<li><a href="index.html"><span>Main&#160;Page</span></a></li>
<li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
<li><a href="modules.html"><span>Modules</span></a></li>
<li><a href="annotated.html"><span>Classes</span></a></li>
<li class="current"><a href="files.html"><span>Files</span></a></li>
<li>
<div id="MSearchBox" class="MSearchBoxInactive">
<span class="left">
<img id="MSearchSelect" src="search/mag_sel.png"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
alt=""/>
<input type="text" id="MSearchField" value="Search" accesskey="S"
onfocus="searchBox.OnSearchFieldFocus(true)"
onblur="searchBox.OnSearchFieldFocus(false)"
onkeyup="searchBox.OnSearchFieldChange(event)"/>
</span><span class="right">
<a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
</span>
</div>
</li>
</ul>
</div>
<div id="navrow2" class="tabs2">
<ul class="tablist">
<li><a href="files.html"><span>File&#160;List</span></a></li>
<li><a href="globals.html"><span>File&#160;Members</span></a></li>
</ul>
</div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="dir_84db96586f7d962b526d6d9627d831c2.html">discovery</a></li><li class="navelem"><a class="el" href="dir_07523c13f04fd35d8848cb17a371cb5b.html">libs</a></li><li class="navelem"><a class="el" href="dir_a041ff5c2b284f3abb06af95928aadaf.html">StmUsbHost</a></li><li class="navelem"><a class="el" href="dir_bca67a7d060bcaa9c28f8aab2fffa8aa.html">STM32_USB_HOST_Library</a></li><li class="navelem"><a class="el" href="dir_0df032ba06b8eb810b5f40e1c65a502c.html">Class</a></li><li class="navelem"><a class="el" href="dir_8afe10de55c8b894271ff1b0bd6e1529.html">MSC</a></li><li class="navelem"><a class="el" href="dir_1060172239f126d4aafe962033aac0fb.html">inc</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#nested-classes">Classes</a> &#124;
<a href="#define-members">Macros</a> &#124;
<a href="#typedef-members">Typedefs</a> &#124;
<a href="#enum-members">Enumerations</a> &#124;
<a href="#func-members">Functions</a> &#124;
<a href="#var-members">Variables</a> </div>
<div class="headertitle">
<div class="title">usbh_msc_scsi.h File Reference</div> </div>
</div><!--header-->
<div class="contents">
<p>Header file for <a class="el" href="usbh__msc__scsi_8c.html" title="This file implements the SCSI commands. ">usbh_msc_scsi.c</a>.
<a href="#details">More...</a></p>
<div class="textblock"><code>#include &quot;<a class="el" href="usbh__stdreq_8h_source.html">usbh_stdreq.h</a>&quot;</code><br />
</div><div class="textblock"><div class="dynheader">
Include dependency graph for usbh_msc_scsi.h:</div>
<div class="dyncontent">
<div class="center"><img src="usbh__msc__scsi_8h__incl.png" border="0" usemap="#discovery_2libs_2_stm_usb_host_2_s_t_m32___u_s_b___h_o_s_t___library_2_class_2_m_s_c_2inc_2usbh__msc__scsi_8h" alt=""/></div>
<map name="discovery_2libs_2_stm_usb_host_2_s_t_m32___u_s_b___h_o_s_t___library_2_class_2_m_s_c_2inc_2usbh__msc__scsi_8h" id="discovery_2libs_2_stm_usb_host_2_s_t_m32___u_s_b___h_o_s_t___library_2_class_2_m_s_c_2inc_2usbh__msc__scsi_8h">
<area shape="rect" id="node2" href="usbh__stdreq_8h.html" title="Header file for usbh_stdreq.c. " alt="" coords="2283,109,2387,136"/><area shape="rect" id="node3" href="usb__conf_8h_source.html" title="usb_conf.h" alt="" coords="2193,483,2278,509"/><area shape="rect" id="node38" href="usb__hcd_8h.html" title="Host layer Header file. " alt="" coords="2239,259,2322,285"/><area shape="rect" id="node42" href="usbh__core_8h.html" title="Header file for usbh_core.c. " alt="" coords="2338,184,2431,211"/><area shape="rect" id="node43" href="usbh__def_8h.html" title="Definitions used in the USB host library. " alt="" coords="2463,259,2549,285"/><area shape="rect" id="node4" href="stm32f4xx_8h.html" title="CMSIS Cortex&#45;M4 Device Peripheral Access Layer Header File. This file contains all the peripheral reg..." alt="" coords="2189,557,2282,584"/><area shape="rect" id="node5" href="core__cm4_8h.html" title="CMSIS Cortex&#45;M4 Core Peripheral Access Layer Header File. " alt="" coords="237,632,327,659"/><area shape="rect" id="node10" href="system__stm32f4xx_8h.html" title="CMSIS Cortex&#45;M4 Device System Source File for STM32F4xx devices. " alt="" coords="1472,632,1615,659"/><area shape="rect" id="node11" href="stm32f4xx__conf_8h_source.html" title="stm32f4xx_conf.h" alt="" coords="2299,632,2423,659"/><area shape="rect" id="node7" href="core__cm_instr_8h.html" title="CMSIS Cortex&#45;M Core Instruction Access Header File. " alt="" coords="95,707,202,733"/><area shape="rect" id="node8" href="core__cm_func_8h.html" title="CMSIS Cortex&#45;M Core Function Access Header File. " alt="" coords="226,707,338,733"/><area shape="rect" id="node9" href="core__cm4__simd_8h.html" title="CMSIS Cortex&#45;M4 SIMD Header File. " alt="" coords="362,707,487,733"/><area shape="rect" id="node12" href="stm32f4xx__adc_8h.html" title="This file contains all the functions prototypes for the ADC firmware library. " alt="" coords="512,707,633,733"/><area shape="rect" id="node13" href="stm32f4xx__crc_8h.html" title="This file contains all the functions prototypes for the CRC firmware library. " alt="" coords="657,707,776,733"/><area shape="rect" id="node14" href="stm32f4xx__dbgmcu_8h.html" title="This file contains all the functions prototypes for the DBGMCU firmware library. " alt="" coords="801,707,947,733"/><area shape="rect" id="node15" href="stm32f4xx__dma_8h.html" title="This file contains all the functions prototypes for the DMA firmware library. " alt="" coords="971,707,1097,733"/><area shape="rect" id="node16" href="stm32f4xx__exti_8h.html" title="This file contains all the functions prototypes for the EXTI firmware library. " alt="" coords="1121,707,1243,733"/><area shape="rect" id="node17" href="stm32f4xx__flash_8h.html" title="This file contains all the functions prototypes for the FLASH firmware library. " alt="" coords="1267,707,1393,733"/><area shape="rect" id="node18" href="stm32f4xx__gpio_8h.html" title="This file contains all the functions prototypes for the GPIO firmware library. " alt="" coords="1417,707,1541,733"/><area shape="rect" id="node19" href="stm32f4xx__i2c_8h.html" title="This file contains all the functions prototypes for the I2C firmware library. " alt="" coords="1565,707,1682,733"/><area shape="rect" id="node20" href="stm32f4xx__iwdg_8h.html" title="This file contains all the functions prototypes for the IWDG firmware library. " alt="" coords="1707,707,1833,733"/><area shape="rect" id="node21" href="stm32f4xx__pwr_8h.html" title="This file contains all the functions prototypes for the PWR firmware library. " alt="" coords="1857,707,1976,733"/><area shape="rect" id="node22" href="stm32f4xx__rcc_8h.html" title="This file contains all the functions prototypes for the RCC firmware library. " alt="" coords="2000,707,2119,733"/><area shape="rect" id="node23" href="stm32f4xx__rtc_8h.html" title="This file contains all the functions prototypes for the RTC firmware library. " alt="" coords="2143,707,2258,733"/><area shape="rect" id="node24" href="stm32f4xx__sdio_8h.html" title="This file contains all the functions prototypes for the SDIO firmware library. " alt="" coords="2283,707,2407,733"/><area shape="rect" id="node25" href="stm32f4xx__spi_8h.html" title="This file contains all the functions prototypes for the SPI firmware library. " alt="" coords="2430,707,2547,733"/><area shape="rect" id="node26" href="stm32f4xx__syscfg_8h.html" title="This file contains all the functions prototypes for the SYSCFG firmware library. " alt="" coords="2571,707,2710,733"/><area shape="rect" id="node27" href="stm32f4xx__tim_8h.html" title="This file contains all the functions prototypes for the TIM firmware library. " alt="" coords="2735,707,2853,733"/><area shape="rect" id="node28" href="stm32f4xx__usart_8h.html" title="This file contains all the functions prototypes for the USART firmware library. " alt="" coords="2877,707,3007,733"/><area shape="rect" id="node29" href="stm32f4xx__wwdg_8h.html" title="This file contains all the functions prototypes for the WWDG firmware library. " alt="" coords="3031,707,3163,733"/><area shape="rect" id="node30" href="misc_8h.html" title="This file contains all the functions prototypes for the miscellaneous firmware library functions (add..." alt="" coords="3187,707,3249,733"/><area shape="rect" id="node31" href="stm32f4xx__cryp_8h.html" title="This file contains all the functions prototypes for the Cryptographic processor(CRYP) firmware librar..." alt="" coords="3273,707,3398,733"/><area shape="rect" id="node32" href="stm32f4xx__hash_8h.html" title="This file contains all the functions prototypes for the HASH firmware library. " alt="" coords="3422,707,3550,733"/><area shape="rect" id="node33" href="stm32f4xx__rng_8h.html" title="This file contains all the functions prototypes for the Random Number Generator(RNG) firmware library..." alt="" coords="3575,707,3693,733"/><area shape="rect" id="node34" href="stm32f4xx__can_8h.html" title="This file contains all the functions prototypes for the CAN firmware library. " alt="" coords="3717,707,3839,733"/><area shape="rect" id="node35" href="stm32f4xx__dac_8h.html" title="This file contains all the functions prototypes for the DAC firmware library. " alt="" coords="3863,707,3984,733"/><area shape="rect" id="node36" href="stm32f4xx__dcmi_8h.html" title="This file contains all the functions prototypes for the DCMI firmware library. " alt="" coords="4009,707,4137,733"/><area shape="rect" id="node37" href="stm32f4xx__fsmc_8h.html" title="This file contains all the functions prototypes for the FSMC firmware library. " alt="" coords="4161,707,4289,733"/><area shape="rect" id="node39" href="usb__regs_8h.html" title="hardware registers " alt="" coords="2356,408,2443,435"/><area shape="rect" id="node40" href="usb__core_8h.html" title="Header of the Core Layer. " alt="" coords="2237,333,2324,360"/><area shape="rect" id="node41" href="usb__defines_8h.html" title="Header of the Core Layer. " alt="" coords="2229,408,2332,435"/><area shape="rect" id="node44" href="usbh__conf_8h_source.html" title="usbh_conf.h" alt="" coords="2347,259,2439,285"/></map>
</div>
</div><div class="textblock"><div class="dynheader">
This graph shows which files directly or indirectly include this file:</div>
<div class="dyncontent">
<div class="center"><img src="usbh__msc__scsi_8h__dep__incl.png" border="0" usemap="#discovery_2libs_2_stm_usb_host_2_s_t_m32___u_s_b___h_o_s_t___library_2_class_2_m_s_c_2inc_2usbh__msc__scsi_8hdep" alt=""/></div>
<map name="discovery_2libs_2_stm_usb_host_2_s_t_m32___u_s_b___h_o_s_t___library_2_class_2_m_s_c_2inc_2usbh__msc__scsi_8hdep" id="discovery_2libs_2_stm_usb_host_2_s_t_m32___u_s_b___h_o_s_t___library_2_class_2_m_s_c_2inc_2usbh__msc__scsi_8hdep">
<area shape="rect" id="node2" href="libs_2_stm_usb_host_2_s_t_m32___u_s_b___h_o_s_t___library_2_class_2_m_s_c_2inc_2usbh__msc__core_8h_source.html" title="discovery/libs/StmUsbHost\l/STM32_USB_HOST_Library\l/Class/MSC/inc/usbh_msc_core.h" alt="" coords="5,109,225,165"/><area shape="rect" id="node3" href="usbh__msc__bot_8c.html" title="This file includes the mass storage related functions. " alt="" coords="273,109,488,165"/><area shape="rect" id="node4" href="usbh__msc__scsi_8c.html" title="This file implements the SCSI commands. " alt="" coords="512,109,732,165"/></map>
</div>
</div>
<p><a href="usbh__msc__scsi_8h_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
Classes</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_____mass_storage_parameter.html">__MassStorageParameter</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
Macros</h2></td></tr>
<tr class="memitem:ga1865b5c8e4664c95dc89cd7c2f4df364"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga1865b5c8e4664c95dc89cd7c2f4df364"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>OPCODE_TEST_UNIT_READY</b>&#160;&#160;&#160;0X00</td></tr>
<tr class="separator:ga1865b5c8e4664c95dc89cd7c2f4df364"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga64b878965a1435bbea629e94c16d7680"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga64b878965a1435bbea629e94c16d7680"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>OPCODE_READ_CAPACITY10</b>&#160;&#160;&#160;0x25</td></tr>
<tr class="separator:ga64b878965a1435bbea629e94c16d7680"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gab0e7265f9ee7d757d51e92e39d98de67"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="gab0e7265f9ee7d757d51e92e39d98de67"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>OPCODE_MODE_SENSE6</b>&#160;&#160;&#160;0x1A</td></tr>
<tr class="separator:gab0e7265f9ee7d757d51e92e39d98de67"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaa4b28058149dd5f07855e29b51536412"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="gaa4b28058149dd5f07855e29b51536412"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>OPCODE_READ10</b>&#160;&#160;&#160;0x28</td></tr>
<tr class="separator:gaa4b28058149dd5f07855e29b51536412"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaf8a23027dfa9419889ad1a6976a6230e"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="gaf8a23027dfa9419889ad1a6976a6230e"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>OPCODE_WRITE10</b>&#160;&#160;&#160;0x2A</td></tr>
<tr class="separator:gaf8a23027dfa9419889ad1a6976a6230e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga68df380f0a8fca6c2bba1e320f4a7caa"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga68df380f0a8fca6c2bba1e320f4a7caa"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>OPCODE_REQUEST_SENSE</b>&#160;&#160;&#160;0x03</td></tr>
<tr class="separator:ga68df380f0a8fca6c2bba1e320f4a7caa"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga1ccfc57839e5caf6b6d25064c666dc5d"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga1ccfc57839e5caf6b6d25064c666dc5d"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>DESC_REQUEST_SENSE</b>&#160;&#160;&#160;0X00</td></tr>
<tr class="separator:ga1ccfc57839e5caf6b6d25064c666dc5d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga430e4293312a9ae1dac7e04e0c89ccd6"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga430e4293312a9ae1dac7e04e0c89ccd6"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>ALLOCATION_LENGTH_REQUEST_SENSE</b>&#160;&#160;&#160;63</td></tr>
<tr class="separator:ga430e4293312a9ae1dac7e04e0c89ccd6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga534aa868c2eca31eee5d3e9bbbd666ba"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga534aa868c2eca31eee5d3e9bbbd666ba"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>XFER_LEN_READ_CAPACITY10</b>&#160;&#160;&#160;8</td></tr>
<tr class="separator:ga534aa868c2eca31eee5d3e9bbbd666ba"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga4a28b7cdd5588db759fce4e3f728fa5e"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga4a28b7cdd5588db759fce4e3f728fa5e"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>XFER_LEN_MODE_SENSE6</b>&#160;&#160;&#160;63</td></tr>
<tr class="separator:ga4a28b7cdd5588db759fce4e3f728fa5e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga43c4b5693c156a5383ee353f58c99703"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga43c4b5693c156a5383ee353f58c99703"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>MASK_MODE_SENSE_WRITE_PROTECT</b>&#160;&#160;&#160;0x80</td></tr>
<tr class="separator:ga43c4b5693c156a5383ee353f58c99703"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga33121c903f201bb55ac8fc2f798deef0"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga33121c903f201bb55ac8fc2f798deef0"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>MODE_SENSE_PAGE_CONTROL_FIELD</b>&#160;&#160;&#160;0x00</td></tr>
<tr class="separator:ga33121c903f201bb55ac8fc2f798deef0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga32765df071d979d52c49d87d2dcf6300"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga32765df071d979d52c49d87d2dcf6300"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>MODE_SENSE_PAGE_CODE</b>&#160;&#160;&#160;0x3F</td></tr>
<tr class="separator:ga32765df071d979d52c49d87d2dcf6300"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga2cbda900587d886d49d1408d7b5f9960"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga2cbda900587d886d49d1408d7b5f9960"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>DISK_WRITE_PROTECTED</b>&#160;&#160;&#160;0x01</td></tr>
<tr class="separator:ga2cbda900587d886d49d1408d7b5f9960"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="typedef-members"></a>
Typedefs</h2></td></tr>
<tr class="memitem:ga43f977275226f9f8fa3f2ebe966513b1"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga43f977275226f9f8fa3f2ebe966513b1"></a>
typedef struct <a class="el" href="struct_____mass_storage_parameter.html">__MassStorageParameter</a>&#160;</td><td class="memItemRight" valign="bottom"><b>MassStorageParameter_TypeDef</b></td></tr>
<tr class="separator:ga43f977275226f9f8fa3f2ebe966513b1"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="enum-members"></a>
Enumerations</h2></td></tr>
<tr class="memitem:gaeac0ac605a8b1e8dc86bcf0c32b45028"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="gaeac0ac605a8b1e8dc86bcf0c32b45028"></a>enum &#160;</td><td class="memItemRight" valign="bottom"><b>USBH_MSC_Status_TypeDef</b> { <b>USBH_MSC_OK</b> = 0,
<b>USBH_MSC_FAIL</b> = 1,
<b>USBH_MSC_PHASE_ERROR</b> = 2,
<b>USBH_MSC_BUSY</b> = 3
}</td></tr>
<tr class="separator:gaeac0ac605a8b1e8dc86bcf0c32b45028"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gac9542c90c167b1af139e371e34748681"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="gac9542c90c167b1af139e371e34748681"></a>enum &#160;</td><td class="memItemRight" valign="bottom"><b>CMD_STATES_TypeDef</b> { <b>CMD_UNINITIALIZED_STATE</b> =0,
<b>CMD_SEND_STATE</b>,
<b>CMD_WAIT_STATUS</b>
}</td></tr>
<tr class="separator:gac9542c90c167b1af139e371e34748681"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:ga71ac9a063cc9a7a3069779c4b5b54a47"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___u_s_b_h___m_s_c___s_c_s_i___exported___functions_prototype.html#ga71ac9a063cc9a7a3069779c4b5b54a47">USBH_MSC_TestUnitReady</a> (<a class="el" href="struct_u_s_b___o_t_g__handle.html">USB_OTG_CORE_HANDLE</a> *pdev)</td></tr>
<tr class="memdesc:ga71ac9a063cc9a7a3069779c4b5b54a47"><td class="mdescLeft">&#160;</td><td class="mdescRight">USBH_MSC_TestUnitReady Issues 'Test unit ready' command to the device. Once the response received, it updates the status to upper layer. <a href="group___u_s_b_h___m_s_c___s_c_s_i___exported___functions_prototype.html#ga71ac9a063cc9a7a3069779c4b5b54a47">More...</a><br /></td></tr>
<tr class="separator:ga71ac9a063cc9a7a3069779c4b5b54a47"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga645e32e306e97eb523ee83bc87700839"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___u_s_b_h___m_s_c___s_c_s_i___exported___functions_prototype.html#ga645e32e306e97eb523ee83bc87700839">USBH_MSC_ReadCapacity10</a> (<a class="el" href="struct_u_s_b___o_t_g__handle.html">USB_OTG_CORE_HANDLE</a> *pdev)</td></tr>
<tr class="memdesc:ga645e32e306e97eb523ee83bc87700839"><td class="mdescLeft">&#160;</td><td class="mdescRight">USBH_MSC_ReadCapacity10 Issue the read capacity command to the device. Once the response received, it updates the status to upper layer. <a href="group___u_s_b_h___m_s_c___s_c_s_i___exported___functions_prototype.html#ga645e32e306e97eb523ee83bc87700839">More...</a><br /></td></tr>
<tr class="separator:ga645e32e306e97eb523ee83bc87700839"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaa2f373d20f15d4bf45cb62d470cf6ce8"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___u_s_b_h___m_s_c___s_c_s_i___exported___functions_prototype.html#gaa2f373d20f15d4bf45cb62d470cf6ce8">USBH_MSC_ModeSense6</a> (<a class="el" href="struct_u_s_b___o_t_g__handle.html">USB_OTG_CORE_HANDLE</a> *pdev)</td></tr>
<tr class="memdesc:gaa2f373d20f15d4bf45cb62d470cf6ce8"><td class="mdescLeft">&#160;</td><td class="mdescRight">USBH_MSC_ModeSense6 Issue the Mode Sense6 Command to the device. This function is used for reading the WriteProtect Status of the Mass-Storage device. <a href="group___u_s_b_h___m_s_c___s_c_s_i___exported___functions_prototype.html#gaa2f373d20f15d4bf45cb62d470cf6ce8">More...</a><br /></td></tr>
<tr class="separator:gaa2f373d20f15d4bf45cb62d470cf6ce8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga69374f36fd25dee7ef09ec9fbcb5cc61"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___u_s_b_h___m_s_c___s_c_s_i___exported___functions_prototype.html#ga69374f36fd25dee7ef09ec9fbcb5cc61">USBH_MSC_RequestSense</a> (<a class="el" href="struct_u_s_b___o_t_g__handle.html">USB_OTG_CORE_HANDLE</a> *pdev)</td></tr>
<tr class="memdesc:ga69374f36fd25dee7ef09ec9fbcb5cc61"><td class="mdescLeft">&#160;</td><td class="mdescRight">USBH_MSC_RequestSense Issues the Request Sense command to the device. Once the response received, it updates the status to upper layer. <a href="group___u_s_b_h___m_s_c___s_c_s_i___exported___functions_prototype.html#ga69374f36fd25dee7ef09ec9fbcb5cc61">More...</a><br /></td></tr>
<tr class="separator:ga69374f36fd25dee7ef09ec9fbcb5cc61"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaf799b1bfcaf339eec3a4e6d476731e4f"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___u_s_b_h___m_s_c___s_c_s_i___exported___functions_prototype.html#gaf799b1bfcaf339eec3a4e6d476731e4f">USBH_MSC_Write10</a> (<a class="el" href="struct_u_s_b___o_t_g__handle.html">USB_OTG_CORE_HANDLE</a> *pdev, uint8_t *, uint32_t, uint32_t)</td></tr>
<tr class="memdesc:gaf799b1bfcaf339eec3a4e6d476731e4f"><td class="mdescLeft">&#160;</td><td class="mdescRight">USBH_MSC_Write10 Issue the write command to the device. Once the response received, it updates the status to upper layer. <a href="group___u_s_b_h___m_s_c___s_c_s_i___exported___functions_prototype.html#gaf799b1bfcaf339eec3a4e6d476731e4f">More...</a><br /></td></tr>
<tr class="separator:gaf799b1bfcaf339eec3a4e6d476731e4f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaae61bdd987523859e519ccff7496c08b"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___u_s_b_h___m_s_c___s_c_s_i___exported___functions_prototype.html#gaae61bdd987523859e519ccff7496c08b">USBH_MSC_Read10</a> (<a class="el" href="struct_u_s_b___o_t_g__handle.html">USB_OTG_CORE_HANDLE</a> *pdev, uint8_t *, uint32_t, uint32_t)</td></tr>
<tr class="memdesc:gaae61bdd987523859e519ccff7496c08b"><td class="mdescLeft">&#160;</td><td class="mdescRight">USBH_MSC_Read10 Issue the read command to the device. Once the response received, it updates the status to upper layer. <a href="group___u_s_b_h___m_s_c___s_c_s_i___exported___functions_prototype.html#gaae61bdd987523859e519ccff7496c08b">More...</a><br /></td></tr>
<tr class="separator:gaae61bdd987523859e519ccff7496c08b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaa70e74c1b88c7325ade886a7904202f4"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="gaa70e74c1b88c7325ade886a7904202f4"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>USBH_MSC_StateMachine</b> (<a class="el" href="struct_u_s_b___o_t_g__handle.html">USB_OTG_CORE_HANDLE</a> *pdev)</td></tr>
<tr class="separator:gaa70e74c1b88c7325ade886a7904202f4"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="var-members"></a>
Variables</h2></td></tr>
<tr class="memitem:ga4d7b3d8e8d7f7ac154c6f7f37df4275a"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga4d7b3d8e8d7f7ac154c6f7f37df4275a"></a>
<a class="el" href="struct_____mass_storage_parameter.html">MassStorageParameter_TypeDef</a>&#160;</td><td class="memItemRight" valign="bottom"><b>USBH_MSC_Param</b></td></tr>
<tr class="separator:ga4d7b3d8e8d7f7ac154c6f7f37df4275a"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Header file for <a class="el" href="usbh__msc__scsi_8c.html" title="This file implements the SCSI commands. ">usbh_msc_scsi.c</a>. </p>
<dl class="section author"><dt>Author</dt><dd>MCD Application Team </dd></dl>
<dl class="section version"><dt>Version</dt><dd>V2.0.0 </dd></dl>
<dl class="section date"><dt>Date</dt><dd>22-July-2011 </dd></dl>
<dl class="section attention"><dt>Attention</dt><dd></dd></dl>
<p>THE PRESENT FIRMWARE WHICH IS FOR GUIDANCE ONLY AIMS AT PROVIDING CUSTOMERS WITH CODING INFORMATION REGARDING THEIR PRODUCTS IN ORDER FOR THEM TO SAVE TIME. AS A RESULT, STMICROELECTRONICS SHALL NOT BE HELD LIABLE FOR ANY DIRECT, INDIRECT OR CONSEQUENTIAL DAMAGES WITH RESPECT TO ANY CLAIMS ARISING FROM THE CONTENT OF SUCH FIRMWARE AND/OR THE USE MADE BY CUSTOMERS OF THE CODING INFORMATION CONTAINED HEREIN IN CONNECTION WITH THEIR PRODUCTS.</p>
<h2><center>&copy; COPYRIGHT 2011 STMicroelectronics</center></h2>
</div></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Sun May 10 2015 15:15:19 for discoverpixy by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.9.1
</small></address>
</body>
</html>