152 lines
19 KiB
HTML
152 lines
19 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_OTG_Driver/inc/usb_bsp.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 Page</span></a></li>
|
|
<li><a href="pages.html"><span>Related 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 List</span></a></li>
|
|
<li><a href="globals.html"><span>File 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_d3634162e1dee757492c749803a07924.html">STM32_USB_OTG_Driver</a></li><li class="navelem"><a class="el" href="dir_a923f6237451b7927c5387e7906a14c5.html">inc</a></li> </ul>
|
|
</div>
|
|
</div><!-- top -->
|
|
<div class="header">
|
|
<div class="summary">
|
|
<a href="#func-members">Functions</a> </div>
|
|
<div class="headertitle">
|
|
<div class="title">usb_bsp.h File Reference</div> </div>
|
|
</div><!--header-->
|
|
<div class="contents">
|
|
|
|
<p>Specific api's relative to the used hardware platform.
|
|
<a href="#details">More...</a></p>
|
|
<div class="textblock"><code>#include "<a class="el" href="usb__core_8h_source.html">usb_core.h</a>"</code><br />
|
|
<code>#include "<a class="el" href="stm32f4__discovery_8h_source.html">stm32f4_discovery.h</a>"</code><br />
|
|
</div><div class="textblock"><div class="dynheader">
|
|
Include dependency graph for usb_bsp.h:</div>
|
|
<div class="dyncontent">
|
|
<div class="center"><img src="usb__bsp_8h__incl.png" border="0" usemap="#discovery_2libs_2_stm_usb_host_2_s_t_m32___u_s_b___o_t_g___driver_2inc_2usb__bsp_8h" alt=""/></div>
|
|
<map name="discovery_2libs_2_stm_usb_host_2_s_t_m32___u_s_b___o_t_g___driver_2inc_2usb__bsp_8h" id="discovery_2libs_2_stm_usb_host_2_s_t_m32___u_s_b___o_t_g___driver_2inc_2usb__bsp_8h">
|
|
<area shape="rect" id="node2" href="usb__core_8h.html" title="Header of the Core Layer. " alt="" coords="2141,109,2228,136"/><area shape="rect" id="node40" href="stm32f4__discovery_8h.html" title="This file contains definitions for STM32F4-Discovery Kit's Leds and push-button hardware resources..." alt="" coords="2253,259,2391,285"/><area shape="rect" id="node3" href="usb__conf_8h_source.html" title="usb_conf.h" alt="" coords="2107,259,2193,285"/><area shape="rect" id="node38" href="usb__regs_8h.html" title="hardware registers " alt="" coords="2089,184,2176,211"/><area shape="rect" id="node39" href="usb__defines_8h.html" title="Header of the Core Layer. " alt="" coords="2200,184,2303,211"/><area shape="rect" id="node4" href="stm32f4xx_8h.html" title="CMSIS Cortex-M4 Device Peripheral Access Layer Header File. This file contains all the peripheral reg..." alt="" coords="2189,333,2282,360"/><area shape="rect" id="node5" href="core__cm4_8h.html" title="CMSIS Cortex-M4 Core Peripheral Access Layer Header File. " alt="" coords="237,408,327,435"/><area shape="rect" id="node10" href="system__stm32f4xx_8h.html" title="CMSIS Cortex-M4 Device System Source File for STM32F4xx devices. " alt="" coords="1472,408,1615,435"/><area shape="rect" id="node11" href="stm32f4xx__conf_8h_source.html" title="stm32f4xx_conf.h" alt="" coords="2299,408,2423,435"/><area shape="rect" id="node7" href="core__cm_instr_8h.html" title="CMSIS Cortex-M Core Instruction Access Header File. " alt="" coords="95,483,202,509"/><area shape="rect" id="node8" href="core__cm_func_8h.html" title="CMSIS Cortex-M Core Function Access Header File. " alt="" coords="226,483,338,509"/><area shape="rect" id="node9" href="core__cm4__simd_8h.html" title="CMSIS Cortex-M4 SIMD Header File. " alt="" coords="362,483,487,509"/><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,483,633,509"/><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,483,776,509"/><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,483,947,509"/><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,483,1097,509"/><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,483,1243,509"/><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,483,1393,509"/><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,483,1541,509"/><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,483,1682,509"/><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,483,1833,509"/><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,483,1976,509"/><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,483,2119,509"/><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,483,2258,509"/><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,483,2407,509"/><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,483,2547,509"/><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,483,2710,509"/><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,483,2853,509"/><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,483,3007,509"/><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,483,3163,509"/><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,483,3249,509"/><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,483,3398,509"/><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,483,3550,509"/><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,483,3693,509"/><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,483,3839,509"/><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,483,3984,509"/><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,483,4137,509"/><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,483,4289,509"/></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="usb__bsp_8h__dep__incl.png" border="0" usemap="#discovery_2libs_2_stm_usb_host_2_s_t_m32___u_s_b___o_t_g___driver_2inc_2usb__bsp_8hdep" alt=""/></div>
|
|
<map name="discovery_2libs_2_stm_usb_host_2_s_t_m32___u_s_b___o_t_g___driver_2inc_2usb__bsp_8hdep" id="discovery_2libs_2_stm_usb_host_2_s_t_m32___u_s_b___o_t_g___driver_2inc_2usb__bsp_8hdep">
|
|
<area shape="rect" id="node2" href="usbh__hid__core_8h.html" title="This file contains all the prototypes for the usbh_hid_core.c. " alt="" coords="219,109,423,165"/><area shape="rect" id="node8" 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="447,109,667,165"/><area shape="rect" id="node9" href="usbh__core_8c.html" title="This file implements the functions for the core state machine process the enumeration and the control..." alt="" coords="716,109,905,165"/><area shape="rect" id="node10" href="usb__core_8c.html" title="USB-OTG Core Layer. " alt="" coords="930,109,1126,165"/><area shape="rect" id="node11" href="usb__hcd_8c.html" title="Host Interface Layer. " alt="" coords="1150,109,1346,165"/><area shape="rect" id="node12" href="src_2usbh__msc__core_8h_source.html" title="discovery/src/usbh\l_msc_core.h" alt="" coords="1371,117,1501,158"/><area shape="rect" id="node3" href="usbh__hid__keybd_8h.html" title="This file contains all the prototypes for the usbh_hid_keybd.c. " alt="" coords="359,213,548,284"/><area shape="rect" id="node4" href="usbh__hid__core_8c.html" title="This file is the HID Layer Handlers for USB Host HID class. " alt="" coords="219,339,424,395"/><area shape="rect" id="node6" href="usbh__hid__mouse_8h.html" title="This file contains all the prototypes for the usbh_hid_mouse.c. " alt="" coords="95,213,284,284"/><area shape="rect" id="node5" href="usbh__hid__keybd_8c.html" title="This file is the application layer for USB Host HID Keyboard handling QWERTY and AZERTY Keyboard are ..." alt="" coords="448,332,637,403"/><area shape="rect" id="node7" href="usbh__hid__mouse_8c.html" title="This file is the application layer for USB Host HID Mouse Handling. " alt="" coords="5,332,195,403"/><area shape="rect" id="node13" href="usbh__msc__bot_8c.html" title="This file includes the mass storage related functions. " alt="" coords="1449,221,1663,277"/><area shape="rect" id="node14" href="usbh__msc__scsi_8c.html" title="This file implements the SCSI commands. " alt="" coords="1205,221,1425,277"/></map>
|
|
</div>
|
|
</div>
|
|
<p><a href="usb__bsp_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="func-members"></a>
|
|
Functions</h2></td></tr>
|
|
<tr class="memitem:ga7c3f1730d68ea5aa990ec47d5da7048d"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group___u_s_b___b_s_p___exported___functions_prototype.html#ga7c3f1730d68ea5aa990ec47d5da7048d">BSP_Init</a> (void)</td></tr>
|
|
<tr class="memdesc:ga7c3f1730d68ea5aa990ec47d5da7048d"><td class="mdescLeft"> </td><td class="mdescRight">BSP_Init board user initializations. <a href="group___u_s_b___b_s_p___exported___functions_prototype.html#ga7c3f1730d68ea5aa990ec47d5da7048d">More...</a><br /></td></tr>
|
|
<tr class="separator:ga7c3f1730d68ea5aa990ec47d5da7048d"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:gacffb89e4346b11dee704fe5a40326a1f"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group___u_s_b___b_s_p___exported___functions_prototype.html#gacffb89e4346b11dee704fe5a40326a1f">USB_OTG_BSP_Init</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:gacffb89e4346b11dee704fe5a40326a1f"><td class="mdescLeft"> </td><td class="mdescRight">USB_OTG_BSP_Init Initilizes BSP configurations. <a href="group___u_s_b___b_s_p___exported___functions_prototype.html#gacffb89e4346b11dee704fe5a40326a1f">More...</a><br /></td></tr>
|
|
<tr class="separator:gacffb89e4346b11dee704fe5a40326a1f"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:gaa70213d9a7b9b047dc6d3357f99e19b5"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group___u_s_b___b_s_p___exported___functions_prototype.html#gaa70213d9a7b9b047dc6d3357f99e19b5">USB_OTG_BSP_uDelay</a> (const uint32_t usec)</td></tr>
|
|
<tr class="memdesc:gaa70213d9a7b9b047dc6d3357f99e19b5"><td class="mdescLeft"> </td><td class="mdescRight">USB_OTG_BSP_uDelay This function provides delay time in micro sec. <a href="group___u_s_b___b_s_p___exported___functions_prototype.html#gaa70213d9a7b9b047dc6d3357f99e19b5">More...</a><br /></td></tr>
|
|
<tr class="separator:gaa70213d9a7b9b047dc6d3357f99e19b5"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga28c906bec05a1b7f91aa0e4ff5d8a16c"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group___u_s_b___b_s_p___exported___functions_prototype.html#ga28c906bec05a1b7f91aa0e4ff5d8a16c">USB_OTG_BSP_mDelay</a> (const uint32_t msec)</td></tr>
|
|
<tr class="memdesc:ga28c906bec05a1b7f91aa0e4ff5d8a16c"><td class="mdescLeft"> </td><td class="mdescRight">USB_OTG_BSP_mDelay This function provides delay time in milli sec. <a href="group___u_s_b___b_s_p___exported___functions_prototype.html#ga28c906bec05a1b7f91aa0e4ff5d8a16c">More...</a><br /></td></tr>
|
|
<tr class="separator:ga28c906bec05a1b7f91aa0e4ff5d8a16c"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga38bdd94d09d00f27d1343fdb0babdfa1"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group___u_s_b___b_s_p___exported___functions_prototype.html#ga38bdd94d09d00f27d1343fdb0babdfa1">USB_OTG_BSP_EnableInterrupt</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:ga38bdd94d09d00f27d1343fdb0babdfa1"><td class="mdescLeft"> </td><td class="mdescRight">USB_OTG_BSP_EnableInterrupt Configures USB Global interrupt. <a href="group___u_s_b___b_s_p___exported___functions_prototype.html#ga38bdd94d09d00f27d1343fdb0babdfa1">More...</a><br /></td></tr>
|
|
<tr class="separator:ga38bdd94d09d00f27d1343fdb0babdfa1"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table>
|
|
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
|
|
<div class="textblock"><p>Specific api's relative to the used hardware platform. </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>© 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  <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>
|