239 lines
30 KiB
HTML
239 lines
30 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/StmCoreNPheriph/inc/stm32f4_discovery.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_1d60ba7d807ff336a2be2f2de640bf2b.html">StmCoreNPheriph</a></li><li class="navelem"><a class="el" href="dir_332599425fcd5a03c822271582d4e895.html">inc</a></li> </ul>
|
|
</div>
|
|
</div><!-- top -->
|
|
<div class="header">
|
|
<div class="summary">
|
|
<a href="#define-members">Macros</a> |
|
|
<a href="#enum-members">Enumerations</a> |
|
|
<a href="#func-members">Functions</a> </div>
|
|
<div class="headertitle">
|
|
<div class="title">stm32f4_discovery.h File Reference</div> </div>
|
|
</div><!--header-->
|
|
<div class="contents">
|
|
|
|
<p>This file contains definitions for STM32F4-Discovery Kit's Leds and push-button hardware resources.
|
|
<a href="#details">More...</a></p>
|
|
<div class="textblock"><code>#include "<a class="el" href="stm32f4xx_8h_source.html">stm32f4xx.h</a>"</code><br />
|
|
</div><div class="textblock"><div class="dynheader">
|
|
Include dependency graph for stm32f4_discovery.h:</div>
|
|
<div class="dyncontent">
|
|
<div class="center"><img src="stm32f4__discovery_8h__incl.png" border="0" usemap="#discovery_2libs_2_stm_core_n_pheriph_2inc_2stm32f4__discovery_8h" alt=""/></div>
|
|
<map name="discovery_2libs_2_stm_core_n_pheriph_2inc_2stm32f4__discovery_8h" id="discovery_2libs_2_stm_core_n_pheriph_2inc_2stm32f4__discovery_8h">
|
|
<area shape="rect" id="node2" href="stm32f4xx_8h.html" title="CMSIS Cortex-M4 Device Peripheral Access Layer Header File. This file contains all the peripheral reg..." alt="" coords="2179,95,2273,121"/><area shape="rect" id="node3" href="core__cm4_8h.html" title="CMSIS Cortex-M4 Core Peripheral Access Layer Header File. " alt="" coords="237,169,327,196"/><area shape="rect" id="node8" href="system__stm32f4xx_8h.html" title="CMSIS Cortex-M4 Device System Source File for STM32F4xx devices. " alt="" coords="1463,169,1605,196"/><area shape="rect" id="node9" href="stm32f4xx__conf_8h_source.html" title="stm32f4xx_conf.h" alt="" coords="2289,169,2413,196"/><area shape="rect" id="node5" href="core__cm_instr_8h.html" title="CMSIS Cortex-M Core Instruction Access Header File. " alt="" coords="95,244,202,271"/><area shape="rect" id="node6" href="core__cm_func_8h.html" title="CMSIS Cortex-M Core Function Access Header File. " alt="" coords="226,244,338,271"/><area shape="rect" id="node7" href="core__cm4__simd_8h.html" title="CMSIS Cortex-M4 SIMD Header File. " alt="" coords="362,244,487,271"/><area shape="rect" id="node10" href="stm32f4xx__adc_8h.html" title="This file contains all the functions prototypes for the ADC firmware library. " alt="" coords="512,244,633,271"/><area shape="rect" id="node11" href="stm32f4xx__crc_8h.html" title="This file contains all the functions prototypes for the CRC firmware library. " alt="" coords="657,244,776,271"/><area shape="rect" id="node12" href="stm32f4xx__dbgmcu_8h.html" title="This file contains all the functions prototypes for the DBGMCU firmware library. " alt="" coords="801,244,947,271"/><area shape="rect" id="node13" href="stm32f4xx__dma_8h.html" title="This file contains all the functions prototypes for the DMA firmware library. " alt="" coords="971,244,1097,271"/><area shape="rect" id="node14" href="stm32f4xx__exti_8h.html" title="This file contains all the functions prototypes for the EXTI firmware library. " alt="" coords="1121,244,1243,271"/><area shape="rect" id="node15" href="stm32f4xx__flash_8h.html" title="This file contains all the functions prototypes for the FLASH firmware library. " alt="" coords="1267,244,1393,271"/><area shape="rect" id="node16" href="stm32f4xx__gpio_8h.html" title="This file contains all the functions prototypes for the GPIO firmware library. " alt="" coords="1417,244,1541,271"/><area shape="rect" id="node17" href="stm32f4xx__i2c_8h.html" title="This file contains all the functions prototypes for the I2C firmware library. " alt="" coords="1565,244,1682,271"/><area shape="rect" id="node18" href="stm32f4xx__iwdg_8h.html" title="This file contains all the functions prototypes for the IWDG firmware library. " alt="" coords="1707,244,1833,271"/><area shape="rect" id="node19" href="stm32f4xx__pwr_8h.html" title="This file contains all the functions prototypes for the PWR firmware library. " alt="" coords="1857,244,1976,271"/><area shape="rect" id="node20" href="stm32f4xx__rcc_8h.html" title="This file contains all the functions prototypes for the RCC firmware library. " alt="" coords="2000,244,2119,271"/><area shape="rect" id="node21" href="stm32f4xx__rtc_8h.html" title="This file contains all the functions prototypes for the RTC firmware library. " alt="" coords="2143,244,2258,271"/><area shape="rect" id="node22" href="stm32f4xx__sdio_8h.html" title="This file contains all the functions prototypes for the SDIO firmware library. " alt="" coords="2283,244,2407,271"/><area shape="rect" id="node23" href="stm32f4xx__spi_8h.html" title="This file contains all the functions prototypes for the SPI firmware library. " alt="" coords="2430,244,2547,271"/><area shape="rect" id="node24" href="stm32f4xx__syscfg_8h.html" title="This file contains all the functions prototypes for the SYSCFG firmware library. " alt="" coords="2571,244,2710,271"/><area shape="rect" id="node25" href="stm32f4xx__tim_8h.html" title="This file contains all the functions prototypes for the TIM firmware library. " alt="" coords="2735,244,2853,271"/><area shape="rect" id="node26" href="stm32f4xx__usart_8h.html" title="This file contains all the functions prototypes for the USART firmware library. " alt="" coords="2877,244,3007,271"/><area shape="rect" id="node27" href="stm32f4xx__wwdg_8h.html" title="This file contains all the functions prototypes for the WWDG firmware library. " alt="" coords="3031,244,3163,271"/><area shape="rect" id="node28" href="misc_8h.html" title="This file contains all the functions prototypes for the miscellaneous firmware library functions (add..." alt="" coords="3187,244,3249,271"/><area shape="rect" id="node29" href="stm32f4xx__cryp_8h.html" title="This file contains all the functions prototypes for the Cryptographic processor(CRYP) firmware librar..." alt="" coords="3273,244,3398,271"/><area shape="rect" id="node30" href="stm32f4xx__hash_8h.html" title="This file contains all the functions prototypes for the HASH firmware library. " alt="" coords="3422,244,3550,271"/><area shape="rect" id="node31" href="stm32f4xx__rng_8h.html" title="This file contains all the functions prototypes for the Random Number Generator(RNG) firmware library..." alt="" coords="3575,244,3693,271"/><area shape="rect" id="node32" href="stm32f4xx__can_8h.html" title="This file contains all the functions prototypes for the CAN firmware library. " alt="" coords="3717,244,3839,271"/><area shape="rect" id="node33" href="stm32f4xx__dac_8h.html" title="This file contains all the functions prototypes for the DAC firmware library. " alt="" coords="3863,244,3984,271"/><area shape="rect" id="node34" href="stm32f4xx__dcmi_8h.html" title="This file contains all the functions prototypes for the DCMI firmware library. " alt="" coords="4009,244,4137,271"/><area shape="rect" id="node35" href="stm32f4xx__fsmc_8h.html" title="This file contains all the functions prototypes for the FSMC firmware library. " alt="" coords="4161,244,4289,271"/></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="stm32f4__discovery_8h__dep__incl.png" border="0" usemap="#discovery_2libs_2_stm_core_n_pheriph_2inc_2stm32f4__discovery_8hdep" alt=""/></div>
|
|
<map name="discovery_2libs_2_stm_core_n_pheriph_2inc_2stm32f4__discovery_8hdep" id="discovery_2libs_2_stm_core_n_pheriph_2inc_2stm32f4__discovery_8hdep">
|
|
<area shape="rect" id="node2" href="stm32f4__discovery_8c.html" title="This file provides set of firmware functions to manage Leds and push-button available on STM32F4-Disc..." alt="" coords="591,102,799,143"/><area shape="rect" id="node3" href="usb__bsp_8h.html" title="Specific api's relative to the used hardware platform. " alt="" coords="823,95,1017,151"/><area shape="rect" id="node17" href="usbh__usr_8h_source.html" title="discovery/src/usbh\l_usr.h" alt="" coords="1041,102,1172,143"/><area shape="rect" id="node4" href="usbh__hid__core_8h.html" title="This file contains all the prototypes for the usbh_hid_core.c. " alt="" coords="219,199,423,255"/><area shape="rect" id="node10" 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,199,667,255"/><area shape="rect" id="node11" 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,199,905,255"/><area shape="rect" id="node12" href="usb__core_8c.html" title="USB-OTG Core Layer. " alt="" coords="930,199,1126,255"/><area shape="rect" id="node13" href="usb__hcd_8c.html" title="Host Interface Layer. " alt="" coords="1150,199,1346,255"/><area shape="rect" id="node14" href="src_2usbh__msc__core_8h_source.html" title="discovery/src/usbh\l_msc_core.h" alt="" coords="1371,206,1501,247"/><area shape="rect" id="node5" href="usbh__hid__keybd_8h.html" title="This file contains all the prototypes for the usbh_hid_keybd.c. " alt="" coords="359,303,548,373"/><area shape="rect" id="node6" href="usbh__hid__core_8c.html" title="This file is the HID Layer Handlers for USB Host HID class. " alt="" coords="219,429,424,485"/><area shape="rect" id="node8" href="usbh__hid__mouse_8h.html" title="This file contains all the prototypes for the usbh_hid_mouse.c. " alt="" coords="95,303,284,373"/><area shape="rect" id="node7" 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,421,637,492"/><area shape="rect" id="node9" href="usbh__hid__mouse_8c.html" title="This file is the application layer for USB Host HID Mouse Handling. " alt="" coords="5,421,195,492"/><area shape="rect" id="node15" href="usbh__msc__bot_8c.html" title="This file includes the mass storage related functions. " alt="" coords="1449,310,1663,366"/><area shape="rect" id="node16" href="usbh__msc__scsi_8c.html" title="This file implements the SCSI commands. " alt="" coords="1205,310,1425,366"/></map>
|
|
</div>
|
|
</div>
|
|
<p><a href="stm32f4__discovery_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="define-members"></a>
|
|
Macros</h2></td></tr>
|
|
<tr class="memitem:gab4be2480bf7d44d52aab1190a65a733c"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="gab4be2480bf7d44d52aab1190a65a733c"></a>
|
|
#define </td><td class="memItemRight" valign="bottom"><b>LEDn</b>   4</td></tr>
|
|
<tr class="separator:gab4be2480bf7d44d52aab1190a65a733c"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:gaae684bb3d2f940637ccbc2adeb0e134d"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="gaae684bb3d2f940637ccbc2adeb0e134d"></a>
|
|
#define </td><td class="memItemRight" valign="bottom"><b>LED4_PIN</b>   GPIO_Pin_12</td></tr>
|
|
<tr class="separator:gaae684bb3d2f940637ccbc2adeb0e134d"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga6b6f3eb4d23b770de265803afbc2b61b"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga6b6f3eb4d23b770de265803afbc2b61b"></a>
|
|
#define </td><td class="memItemRight" valign="bottom"><b>LED4_GPIO_PORT</b>   GPIOD</td></tr>
|
|
<tr class="separator:ga6b6f3eb4d23b770de265803afbc2b61b"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:gaa9cb3506e5b243b35d234bbdbe7fbab3"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="gaa9cb3506e5b243b35d234bbdbe7fbab3"></a>
|
|
#define </td><td class="memItemRight" valign="bottom"><b>LED4_GPIO_CLK</b>   RCC_AHB1Periph_GPIOD</td></tr>
|
|
<tr class="separator:gaa9cb3506e5b243b35d234bbdbe7fbab3"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga4cb3ff938bcabb01494ce529ae55a542"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga4cb3ff938bcabb01494ce529ae55a542"></a>
|
|
#define </td><td class="memItemRight" valign="bottom"><b>LED3_PIN</b>   GPIO_Pin_13</td></tr>
|
|
<tr class="separator:ga4cb3ff938bcabb01494ce529ae55a542"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga050f4b3a1f402476f9541dfe975d2143"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga050f4b3a1f402476f9541dfe975d2143"></a>
|
|
#define </td><td class="memItemRight" valign="bottom"><b>LED3_GPIO_PORT</b>   GPIOD</td></tr>
|
|
<tr class="separator:ga050f4b3a1f402476f9541dfe975d2143"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:gaf4e64981a3f4584fb771aa4cbc093c61"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="gaf4e64981a3f4584fb771aa4cbc093c61"></a>
|
|
#define </td><td class="memItemRight" valign="bottom"><b>LED3_GPIO_CLK</b>   RCC_AHB1Periph_GPIOD</td></tr>
|
|
<tr class="separator:gaf4e64981a3f4584fb771aa4cbc093c61"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga1461b79814613e21bc6ebb5d8ae6e858"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga1461b79814613e21bc6ebb5d8ae6e858"></a>
|
|
#define </td><td class="memItemRight" valign="bottom"><b>LED5_PIN</b>   GPIO_Pin_14</td></tr>
|
|
<tr class="separator:ga1461b79814613e21bc6ebb5d8ae6e858"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:gae157f2a0e9c947288518e6124b82aa74"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="gae157f2a0e9c947288518e6124b82aa74"></a>
|
|
#define </td><td class="memItemRight" valign="bottom"><b>LED5_GPIO_PORT</b>   GPIOD</td></tr>
|
|
<tr class="separator:gae157f2a0e9c947288518e6124b82aa74"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga8c3cfa11e4916d221e3fc2fc9e24f19e"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga8c3cfa11e4916d221e3fc2fc9e24f19e"></a>
|
|
#define </td><td class="memItemRight" valign="bottom"><b>LED5_GPIO_CLK</b>   RCC_AHB1Periph_GPIOD</td></tr>
|
|
<tr class="separator:ga8c3cfa11e4916d221e3fc2fc9e24f19e"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga671c4f0e7ed8fbbfecc92cf6bdd0d588"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga671c4f0e7ed8fbbfecc92cf6bdd0d588"></a>
|
|
#define </td><td class="memItemRight" valign="bottom"><b>LED6_PIN</b>   GPIO_Pin_15</td></tr>
|
|
<tr class="separator:ga671c4f0e7ed8fbbfecc92cf6bdd0d588"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga60dcbcf75e3ee091c1512f6ca9e00722"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga60dcbcf75e3ee091c1512f6ca9e00722"></a>
|
|
#define </td><td class="memItemRight" valign="bottom"><b>LED6_GPIO_PORT</b>   GPIOD</td></tr>
|
|
<tr class="separator:ga60dcbcf75e3ee091c1512f6ca9e00722"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga252105acc9518f714ccdce1ef793661e"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga252105acc9518f714ccdce1ef793661e"></a>
|
|
#define </td><td class="memItemRight" valign="bottom"><b>LED6_GPIO_CLK</b>   RCC_AHB1Periph_GPIOD</td></tr>
|
|
<tr class="separator:ga252105acc9518f714ccdce1ef793661e"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga43d47e509ada64329393005c3be15d64"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga43d47e509ada64329393005c3be15d64"></a>
|
|
#define </td><td class="memItemRight" valign="bottom"><b>BUTTONn</b>   1</td></tr>
|
|
<tr class="separator:ga43d47e509ada64329393005c3be15d64"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga34df6915e3013d6a0c74131d3946b659"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga34df6915e3013d6a0c74131d3946b659"></a>
|
|
#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group___s_t_m32_f4___d_i_s_c_o_v_e_r_y___l_o_w___l_e_v_e_l___b_u_t_t_o_n.html#ga34df6915e3013d6a0c74131d3946b659">USER_BUTTON_PIN</a>   GPIO_Pin_0</td></tr>
|
|
<tr class="memdesc:ga34df6915e3013d6a0c74131d3946b659"><td class="mdescLeft"> </td><td class="mdescRight">Wakeup push-button. <br /></td></tr>
|
|
<tr class="separator:ga34df6915e3013d6a0c74131d3946b659"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:gae2e6fc2fdfda22b4eed3667375a8bd81"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="gae2e6fc2fdfda22b4eed3667375a8bd81"></a>
|
|
#define </td><td class="memItemRight" valign="bottom"><b>USER_BUTTON_GPIO_PORT</b>   GPIOA</td></tr>
|
|
<tr class="separator:gae2e6fc2fdfda22b4eed3667375a8bd81"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:gac94af9563fb54d762f1d5351593ee218"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="gac94af9563fb54d762f1d5351593ee218"></a>
|
|
#define </td><td class="memItemRight" valign="bottom"><b>USER_BUTTON_GPIO_CLK</b>   RCC_AHB1Periph_GPIOA</td></tr>
|
|
<tr class="separator:gac94af9563fb54d762f1d5351593ee218"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:gac41d04c2244ba780e4749991c85d1e9a"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="gac41d04c2244ba780e4749991c85d1e9a"></a>
|
|
#define </td><td class="memItemRight" valign="bottom"><b>USER_BUTTON_EXTI_LINE</b>   <a class="el" href="group___e_x_t_i___lines.html#gac2a65680200dd5f4f7eab29cd4091a75">EXTI_Line0</a></td></tr>
|
|
<tr class="separator:gac41d04c2244ba780e4749991c85d1e9a"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:gadb21b50e395cd0cbede08485aa46a7e1"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="gadb21b50e395cd0cbede08485aa46a7e1"></a>
|
|
#define </td><td class="memItemRight" valign="bottom"><b>USER_BUTTON_EXTI_PORT_SOURCE</b>   EXTI_PortSourceGPIOA</td></tr>
|
|
<tr class="separator:gadb21b50e395cd0cbede08485aa46a7e1"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga228dea1ae32daacecea1c9344ba93cd3"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga228dea1ae32daacecea1c9344ba93cd3"></a>
|
|
#define </td><td class="memItemRight" valign="bottom"><b>USER_BUTTON_EXTI_PIN_SOURCE</b>   EXTI_PinSource0</td></tr>
|
|
<tr class="separator:ga228dea1ae32daacecea1c9344ba93cd3"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga2e6e65a053529869d1c370610825d98f"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga2e6e65a053529869d1c370610825d98f"></a>
|
|
#define </td><td class="memItemRight" valign="bottom"><b>USER_BUTTON_EXTI_IRQn</b>   <a class="el" href="group___configuration__section__for___c_m_s_i_s.html#gga666eb0caeb12ec0e281415592ae89083ab6aa6f87d26bbc6cf99b067b8d75c2f7">EXTI0_IRQn</a></td></tr>
|
|
<tr class="separator:ga2e6e65a053529869d1c370610825d98f"><td class="memSeparator" colspan="2"> </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:gaa059704b7ca945eb9c1e7f2c3d03fecd"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="gaa059704b7ca945eb9c1e7f2c3d03fecd"></a>enum  </td><td class="memItemRight" valign="bottom"><b>Led_TypeDef</b> { <b>LED4</b> = 0,
|
|
<b>LED3</b> = 1,
|
|
<b>LED5</b> = 2,
|
|
<b>LED6</b> = 3
|
|
}</td></tr>
|
|
<tr class="separator:gaa059704b7ca945eb9c1e7f2c3d03fecd"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga643816dfbad5c734fc25a29ce8d35bb1"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga643816dfbad5c734fc25a29ce8d35bb1"></a>enum  </td><td class="memItemRight" valign="bottom"><b>Button_TypeDef</b> { <b>BUTTON_USER</b> = 0
|
|
}</td></tr>
|
|
<tr class="separator:ga643816dfbad5c734fc25a29ce8d35bb1"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga48825b7c7d851c440ef8e808fd9d8f0a"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga48825b7c7d851c440ef8e808fd9d8f0a"></a>enum  </td><td class="memItemRight" valign="bottom"><b>ButtonMode_TypeDef</b> { <b>BUTTON_MODE_GPIO</b> = 0,
|
|
<b>BUTTON_MODE_EXTI</b> = 1
|
|
}</td></tr>
|
|
<tr class="separator:ga48825b7c7d851c440ef8e808fd9d8f0a"><td class="memSeparator" colspan="2"> </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:ga01e1a245e786705357f741c8d42cbd3a"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group___s_t_m32_f4___d_i_s_c_o_v_e_r_y___l_o_w___l_e_v_e_l___exported___functions.html#ga01e1a245e786705357f741c8d42cbd3a">STM_EVAL_LEDInit</a> (Led_TypeDef Led)</td></tr>
|
|
<tr class="memdesc:ga01e1a245e786705357f741c8d42cbd3a"><td class="mdescLeft"> </td><td class="mdescRight">Configures LED GPIO. <a href="group___s_t_m32_f4___d_i_s_c_o_v_e_r_y___l_o_w___l_e_v_e_l___exported___functions.html#ga01e1a245e786705357f741c8d42cbd3a">More...</a><br /></td></tr>
|
|
<tr class="separator:ga01e1a245e786705357f741c8d42cbd3a"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:gad27fa430d867e6dde94cb7896fcc42fc"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group___s_t_m32_f4___d_i_s_c_o_v_e_r_y___l_o_w___l_e_v_e_l___exported___functions.html#gad27fa430d867e6dde94cb7896fcc42fc">STM_EVAL_LEDOn</a> (Led_TypeDef Led)</td></tr>
|
|
<tr class="memdesc:gad27fa430d867e6dde94cb7896fcc42fc"><td class="mdescLeft"> </td><td class="mdescRight">Turns selected LED On. <a href="group___s_t_m32_f4___d_i_s_c_o_v_e_r_y___l_o_w___l_e_v_e_l___exported___functions.html#gad27fa430d867e6dde94cb7896fcc42fc">More...</a><br /></td></tr>
|
|
<tr class="separator:gad27fa430d867e6dde94cb7896fcc42fc"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:gab9ab7deafd606e72d72580ec974b7757"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group___s_t_m32_f4___d_i_s_c_o_v_e_r_y___l_o_w___l_e_v_e_l___exported___functions.html#gab9ab7deafd606e72d72580ec974b7757">STM_EVAL_LEDOff</a> (Led_TypeDef Led)</td></tr>
|
|
<tr class="memdesc:gab9ab7deafd606e72d72580ec974b7757"><td class="mdescLeft"> </td><td class="mdescRight">Turns selected LED Off. <a href="group___s_t_m32_f4___d_i_s_c_o_v_e_r_y___l_o_w___l_e_v_e_l___exported___functions.html#gab9ab7deafd606e72d72580ec974b7757">More...</a><br /></td></tr>
|
|
<tr class="separator:gab9ab7deafd606e72d72580ec974b7757"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga5b1ccd57cf505c1d41440e62a845e4a9"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group___s_t_m32_f4___d_i_s_c_o_v_e_r_y___l_o_w___l_e_v_e_l___exported___functions.html#ga5b1ccd57cf505c1d41440e62a845e4a9">STM_EVAL_LEDToggle</a> (Led_TypeDef Led)</td></tr>
|
|
<tr class="memdesc:ga5b1ccd57cf505c1d41440e62a845e4a9"><td class="mdescLeft"> </td><td class="mdescRight">Toggles the selected LED. <a href="group___s_t_m32_f4___d_i_s_c_o_v_e_r_y___l_o_w___l_e_v_e_l___exported___functions.html#ga5b1ccd57cf505c1d41440e62a845e4a9">More...</a><br /></td></tr>
|
|
<tr class="separator:ga5b1ccd57cf505c1d41440e62a845e4a9"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga1cdc19fe328ddcd17bf50fcb62d78369"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group___s_t_m32_f4___d_i_s_c_o_v_e_r_y___l_o_w___l_e_v_e_l___exported___functions.html#ga1cdc19fe328ddcd17bf50fcb62d78369">STM_EVAL_PBInit</a> (Button_TypeDef Button, ButtonMode_TypeDef Button_Mode)</td></tr>
|
|
<tr class="memdesc:ga1cdc19fe328ddcd17bf50fcb62d78369"><td class="mdescLeft"> </td><td class="mdescRight">Configures Button GPIO and EXTI <a class="el" href="struct_line.html">Line</a>. <a href="group___s_t_m32_f4___d_i_s_c_o_v_e_r_y___l_o_w___l_e_v_e_l___exported___functions.html#ga1cdc19fe328ddcd17bf50fcb62d78369">More...</a><br /></td></tr>
|
|
<tr class="separator:ga1cdc19fe328ddcd17bf50fcb62d78369"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga812ee2a84aaed235587ac81eb9269442"><td class="memItemLeft" align="right" valign="top">uint32_t </td><td class="memItemRight" valign="bottom"><a class="el" href="group___s_t_m32_f4___d_i_s_c_o_v_e_r_y___l_o_w___l_e_v_e_l___exported___functions.html#ga812ee2a84aaed235587ac81eb9269442">STM_EVAL_PBGetState</a> (Button_TypeDef Button)</td></tr>
|
|
<tr class="memdesc:ga812ee2a84aaed235587ac81eb9269442"><td class="mdescLeft"> </td><td class="mdescRight">Returns the selected Button state. <a href="group___s_t_m32_f4___d_i_s_c_o_v_e_r_y___l_o_w___l_e_v_e_l___exported___functions.html#ga812ee2a84aaed235587ac81eb9269442">More...</a><br /></td></tr>
|
|
<tr class="separator:ga812ee2a84aaed235587ac81eb9269442"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table>
|
|
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
|
|
<div class="textblock"><p>This file contains definitions for STM32F4-Discovery Kit's Leds and push-button hardware resources. </p>
|
|
<dl class="section author"><dt>Author</dt><dd>MCD Application Team </dd></dl>
|
|
<dl class="section version"><dt>Version</dt><dd>V1.1.0 </dd></dl>
|
|
<dl class="section date"><dt>Date</dt><dd>28-October-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:18 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>
|