177 lines
22 KiB
HTML
177 lines
22 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/src/stm32f4_discovery_lis302dl.c 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_12f7a99b9d2a0e5955a2ac990af20021.html">src</a></li> </ul>
|
|
</div>
|
|
</div><!-- top -->
|
|
<div class="header">
|
|
<div class="summary">
|
|
<a href="#define-members">Macros</a> |
|
|
<a href="#func-members">Functions</a> |
|
|
<a href="#var-members">Variables</a> </div>
|
|
<div class="headertitle">
|
|
<div class="title">stm32f4_discovery_lis302dl.c File Reference</div> </div>
|
|
</div><!--header-->
|
|
<div class="contents">
|
|
|
|
<p>This file provides a set of functions needed to manage the LIS302DL MEMS accelerometer available on STM32F4-Discovery Kit.
|
|
<a href="#details">More...</a></p>
|
|
<div class="textblock"><code>#include "<a class="el" href="stm32f4__discovery__lis302dl_8h_source.html">stm32f4_discovery_lis302dl.h</a>"</code><br />
|
|
</div><div class="textblock"><div class="dynheader">
|
|
Include dependency graph for stm32f4_discovery_lis302dl.c:</div>
|
|
<div class="dyncontent">
|
|
<div class="center"><img src="stm32f4__discovery__lis302dl_8c__incl.png" border="0" usemap="#discovery_2libs_2_stm_core_n_pheriph_2src_2stm32f4__discovery__lis302dl_8c" alt=""/></div>
|
|
<map name="discovery_2libs_2_stm_core_n_pheriph_2src_2stm32f4__discovery__lis302dl_8c" id="discovery_2libs_2_stm_core_n_pheriph_2src_2stm32f4__discovery__lis302dl_8c">
|
|
<area shape="rect" id="node2" href="stm32f4__discovery__lis302dl_8h.html" title="This file contains all the functions prototypes for the stm32f4_discovery_lis302dl.c firmware driver. " alt="" coords="2131,95,2321,121"/><area shape="rect" id="node3" href="stm32f4xx_8h.html" title="CMSIS Cortex-M4 Device Peripheral Access Layer Header File. This file contains all the peripheral reg..." alt="" coords="2179,169,2273,196"/><area shape="rect" id="node4" href="core__cm4_8h.html" title="CMSIS Cortex-M4 Core Peripheral Access Layer Header File. " alt="" coords="237,244,327,271"/><area shape="rect" id="node9" href="system__stm32f4xx_8h.html" title="CMSIS Cortex-M4 Device System Source File for STM32F4xx devices. " alt="" coords="1463,244,1605,271"/><area shape="rect" id="node10" href="stm32f4xx__conf_8h_source.html" title="stm32f4xx_conf.h" alt="" coords="2289,244,2413,271"/><area shape="rect" id="node6" href="core__cm_instr_8h.html" title="CMSIS Cortex-M Core Instruction Access Header File. " alt="" coords="95,319,202,345"/><area shape="rect" id="node7" href="core__cm_func_8h.html" title="CMSIS Cortex-M Core Function Access Header File. " alt="" coords="226,319,338,345"/><area shape="rect" id="node8" href="core__cm4__simd_8h.html" title="CMSIS Cortex-M4 SIMD Header File. " alt="" coords="362,319,487,345"/><area shape="rect" id="node11" href="stm32f4xx__adc_8h.html" title="This file contains all the functions prototypes for the ADC firmware library. " alt="" coords="512,319,633,345"/><area shape="rect" id="node12" href="stm32f4xx__crc_8h.html" title="This file contains all the functions prototypes for the CRC firmware library. " alt="" coords="657,319,776,345"/><area shape="rect" id="node13" href="stm32f4xx__dbgmcu_8h.html" title="This file contains all the functions prototypes for the DBGMCU firmware library. " alt="" coords="801,319,947,345"/><area shape="rect" id="node14" href="stm32f4xx__dma_8h.html" title="This file contains all the functions prototypes for the DMA firmware library. " alt="" coords="971,319,1097,345"/><area shape="rect" id="node15" href="stm32f4xx__exti_8h.html" title="This file contains all the functions prototypes for the EXTI firmware library. " alt="" coords="1121,319,1243,345"/><area shape="rect" id="node16" href="stm32f4xx__flash_8h.html" title="This file contains all the functions prototypes for the FLASH firmware library. " alt="" coords="1267,319,1393,345"/><area shape="rect" id="node17" href="stm32f4xx__gpio_8h.html" title="This file contains all the functions prototypes for the GPIO firmware library. " alt="" coords="1417,319,1541,345"/><area shape="rect" id="node18" href="stm32f4xx__i2c_8h.html" title="This file contains all the functions prototypes for the I2C firmware library. " alt="" coords="1565,319,1682,345"/><area shape="rect" id="node19" href="stm32f4xx__iwdg_8h.html" title="This file contains all the functions prototypes for the IWDG firmware library. " alt="" coords="1707,319,1833,345"/><area shape="rect" id="node20" href="stm32f4xx__pwr_8h.html" title="This file contains all the functions prototypes for the PWR firmware library. " alt="" coords="1857,319,1976,345"/><area shape="rect" id="node21" href="stm32f4xx__rcc_8h.html" title="This file contains all the functions prototypes for the RCC firmware library. " alt="" coords="2000,319,2119,345"/><area shape="rect" id="node22" href="stm32f4xx__rtc_8h.html" title="This file contains all the functions prototypes for the RTC firmware library. " alt="" coords="2143,319,2258,345"/><area shape="rect" id="node23" href="stm32f4xx__sdio_8h.html" title="This file contains all the functions prototypes for the SDIO firmware library. " alt="" coords="2283,319,2407,345"/><area shape="rect" id="node24" href="stm32f4xx__spi_8h.html" title="This file contains all the functions prototypes for the SPI firmware library. " alt="" coords="2430,319,2547,345"/><area shape="rect" id="node25" href="stm32f4xx__syscfg_8h.html" title="This file contains all the functions prototypes for the SYSCFG firmware library. " alt="" coords="2571,319,2710,345"/><area shape="rect" id="node26" href="stm32f4xx__tim_8h.html" title="This file contains all the functions prototypes for the TIM firmware library. " alt="" coords="2735,319,2853,345"/><area shape="rect" id="node27" href="stm32f4xx__usart_8h.html" title="This file contains all the functions prototypes for the USART firmware library. " alt="" coords="2877,319,3007,345"/><area shape="rect" id="node28" href="stm32f4xx__wwdg_8h.html" title="This file contains all the functions prototypes for the WWDG firmware library. " alt="" coords="3031,319,3163,345"/><area shape="rect" id="node29" href="misc_8h.html" title="This file contains all the functions prototypes for the miscellaneous firmware library functions (add..." alt="" coords="3187,319,3249,345"/><area shape="rect" id="node30" href="stm32f4xx__cryp_8h.html" title="This file contains all the functions prototypes for the Cryptographic processor(CRYP) firmware librar..." alt="" coords="3273,319,3398,345"/><area shape="rect" id="node31" href="stm32f4xx__hash_8h.html" title="This file contains all the functions prototypes for the HASH firmware library. " alt="" coords="3422,319,3550,345"/><area shape="rect" id="node32" href="stm32f4xx__rng_8h.html" title="This file contains all the functions prototypes for the Random Number Generator(RNG) firmware library..." alt="" coords="3575,319,3693,345"/><area shape="rect" id="node33" href="stm32f4xx__can_8h.html" title="This file contains all the functions prototypes for the CAN firmware library. " alt="" coords="3717,319,3839,345"/><area shape="rect" id="node34" href="stm32f4xx__dac_8h.html" title="This file contains all the functions prototypes for the DAC firmware library. " alt="" coords="3863,319,3984,345"/><area shape="rect" id="node35" href="stm32f4xx__dcmi_8h.html" title="This file contains all the functions prototypes for the DCMI firmware library. " alt="" coords="4009,319,4137,345"/><area shape="rect" id="node36" href="stm32f4xx__fsmc_8h.html" title="This file contains all the functions prototypes for the FSMC firmware library. " alt="" coords="4161,319,4289,345"/></map>
|
|
</div>
|
|
</div><table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
|
|
Macros</h2></td></tr>
|
|
<tr class="memitem:ga5a85ad7ff6c71218205aa24a7b9e9709"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga5a85ad7ff6c71218205aa24a7b9e9709"></a>
|
|
#define </td><td class="memItemRight" valign="bottom"><b>READWRITE_CMD</b>   ((uint8_t)0x80)</td></tr>
|
|
<tr class="separator:ga5a85ad7ff6c71218205aa24a7b9e9709"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga8978e114e63e88d9763967ab84388774"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga8978e114e63e88d9763967ab84388774"></a>
|
|
#define </td><td class="memItemRight" valign="bottom"><b>MULTIPLEBYTE_CMD</b>   ((uint8_t)0x40)</td></tr>
|
|
<tr class="separator:ga8978e114e63e88d9763967ab84388774"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:gadc81a065700d3af56b6fb631585e3641"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="gadc81a065700d3af56b6fb631585e3641"></a>
|
|
#define </td><td class="memItemRight" valign="bottom"><b>DUMMY_BYTE</b>   ((uint8_t)0x00)</td></tr>
|
|
<tr class="separator:gadc81a065700d3af56b6fb631585e3641"><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:ga0ceeaa64f528427ffca42afd45051df6"><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_i_s302_d_l___private___functions.html#ga0ceeaa64f528427ffca42afd45051df6">LIS302DL_Init</a> (<a class="el" href="struct_l_i_s302_d_l___init_type_def.html">LIS302DL_InitTypeDef</a> *LIS302DL_InitStruct)</td></tr>
|
|
<tr class="memdesc:ga0ceeaa64f528427ffca42afd45051df6"><td class="mdescLeft"> </td><td class="mdescRight">Set LIS302DL Initialization. <a href="group___s_t_m32_f4___d_i_s_c_o_v_e_r_y___l_i_s302_d_l___private___functions.html#ga0ceeaa64f528427ffca42afd45051df6">More...</a><br /></td></tr>
|
|
<tr class="separator:ga0ceeaa64f528427ffca42afd45051df6"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga0c2ce8efd66b092a82e64f88ed5b9e9a"><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_i_s302_d_l___private___functions.html#ga0c2ce8efd66b092a82e64f88ed5b9e9a">LIS302DL_FilterConfig</a> (<a class="el" href="struct_l_i_s302_d_l___filter_config_type_def.html">LIS302DL_FilterConfigTypeDef</a> *LIS302DL_FilterConfigStruct)</td></tr>
|
|
<tr class="memdesc:ga0c2ce8efd66b092a82e64f88ed5b9e9a"><td class="mdescLeft"> </td><td class="mdescRight">Set LIS302DL Internal High Pass Filter configuration. <a href="group___s_t_m32_f4___d_i_s_c_o_v_e_r_y___l_i_s302_d_l___private___functions.html#ga0c2ce8efd66b092a82e64f88ed5b9e9a">More...</a><br /></td></tr>
|
|
<tr class="separator:ga0c2ce8efd66b092a82e64f88ed5b9e9a"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga0c6ea80d35be5abeb3bd1d06355481e8"><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_i_s302_d_l___private___functions.html#ga0c6ea80d35be5abeb3bd1d06355481e8">LIS302DL_InterruptConfig</a> (<a class="el" href="struct_l_i_s302_d_l___interrupt_config_type_def.html">LIS302DL_InterruptConfigTypeDef</a> *LIS302DL_IntConfigStruct)</td></tr>
|
|
<tr class="memdesc:ga0c6ea80d35be5abeb3bd1d06355481e8"><td class="mdescLeft"> </td><td class="mdescRight">Set LIS302DL Interrupt configuration. <a href="group___s_t_m32_f4___d_i_s_c_o_v_e_r_y___l_i_s302_d_l___private___functions.html#ga0c6ea80d35be5abeb3bd1d06355481e8">More...</a><br /></td></tr>
|
|
<tr class="separator:ga0c6ea80d35be5abeb3bd1d06355481e8"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga445e78cca4cd65f59e0ffaa3575db8ae"><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_i_s302_d_l___private___functions.html#ga445e78cca4cd65f59e0ffaa3575db8ae">LIS302DL_LowpowerCmd</a> (uint8_t LowPowerMode)</td></tr>
|
|
<tr class="memdesc:ga445e78cca4cd65f59e0ffaa3575db8ae"><td class="mdescLeft"> </td><td class="mdescRight">Change the lowpower mode for LIS302DL. <a href="group___s_t_m32_f4___d_i_s_c_o_v_e_r_y___l_i_s302_d_l___private___functions.html#ga445e78cca4cd65f59e0ffaa3575db8ae">More...</a><br /></td></tr>
|
|
<tr class="separator:ga445e78cca4cd65f59e0ffaa3575db8ae"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga8542910cb1e71d7031fab7a462c768bd"><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_i_s302_d_l___private___functions.html#ga8542910cb1e71d7031fab7a462c768bd">LIS302DL_DataRateCmd</a> (uint8_t DataRateValue)</td></tr>
|
|
<tr class="memdesc:ga8542910cb1e71d7031fab7a462c768bd"><td class="mdescLeft"> </td><td class="mdescRight">Data Rate command. <a href="group___s_t_m32_f4___d_i_s_c_o_v_e_r_y___l_i_s302_d_l___private___functions.html#ga8542910cb1e71d7031fab7a462c768bd">More...</a><br /></td></tr>
|
|
<tr class="separator:ga8542910cb1e71d7031fab7a462c768bd"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:gadb44926aefe4fc8e6cdff256077c0bf4"><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_i_s302_d_l___private___functions.html#gadb44926aefe4fc8e6cdff256077c0bf4">LIS302DL_FullScaleCmd</a> (uint8_t FS_value)</td></tr>
|
|
<tr class="memdesc:gadb44926aefe4fc8e6cdff256077c0bf4"><td class="mdescLeft"> </td><td class="mdescRight">Change the Full Scale of LIS302DL. <a href="group___s_t_m32_f4___d_i_s_c_o_v_e_r_y___l_i_s302_d_l___private___functions.html#gadb44926aefe4fc8e6cdff256077c0bf4">More...</a><br /></td></tr>
|
|
<tr class="separator:gadb44926aefe4fc8e6cdff256077c0bf4"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga34234db89f7d653fea3085007d3d9e0e"><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_i_s302_d_l___private___functions.html#ga34234db89f7d653fea3085007d3d9e0e">LIS302DL_RebootCmd</a> (void)</td></tr>
|
|
<tr class="memdesc:ga34234db89f7d653fea3085007d3d9e0e"><td class="mdescLeft"> </td><td class="mdescRight">Reboot memory content of LIS302DL. <a href="group___s_t_m32_f4___d_i_s_c_o_v_e_r_y___l_i_s302_d_l___private___functions.html#ga34234db89f7d653fea3085007d3d9e0e">More...</a><br /></td></tr>
|
|
<tr class="separator:ga34234db89f7d653fea3085007d3d9e0e"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga43f400565c47cdcf5fd19b8b601e7c41"><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_i_s302_d_l___private___functions.html#ga43f400565c47cdcf5fd19b8b601e7c41">LIS302DL_Write</a> (uint8_t *pBuffer, uint8_t WriteAddr, uint16_t NumByteToWrite)</td></tr>
|
|
<tr class="memdesc:ga43f400565c47cdcf5fd19b8b601e7c41"><td class="mdescLeft"> </td><td class="mdescRight">Writes one byte to the LIS302DL. <a href="group___s_t_m32_f4___d_i_s_c_o_v_e_r_y___l_i_s302_d_l___private___functions.html#ga43f400565c47cdcf5fd19b8b601e7c41">More...</a><br /></td></tr>
|
|
<tr class="separator:ga43f400565c47cdcf5fd19b8b601e7c41"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:gae578a971afc1699d6056937ad7604d0a"><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_i_s302_d_l___private___functions.html#gae578a971afc1699d6056937ad7604d0a">LIS302DL_Read</a> (uint8_t *pBuffer, uint8_t ReadAddr, uint16_t NumByteToRead)</td></tr>
|
|
<tr class="memdesc:gae578a971afc1699d6056937ad7604d0a"><td class="mdescLeft"> </td><td class="mdescRight">Reads a block of data from the LIS302DL. <a href="group___s_t_m32_f4___d_i_s_c_o_v_e_r_y___l_i_s302_d_l___private___functions.html#gae578a971afc1699d6056937ad7604d0a">More...</a><br /></td></tr>
|
|
<tr class="separator:gae578a971afc1699d6056937ad7604d0a"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:gaf31f5b65ff8d208eeabae1a8f294fcc2"><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_i_s302_d_l___private___functions.html#gaf31f5b65ff8d208eeabae1a8f294fcc2">LIS302DL_ReadACC</a> (int32_t *out)</td></tr>
|
|
<tr class="memdesc:gaf31f5b65ff8d208eeabae1a8f294fcc2"><td class="mdescLeft"> </td><td class="mdescRight">Read LIS302DL output register, and calculate the acceleration ACC[mg]=SENSITIVITY* (out_h*256+out_l)/16 (12 bit rappresentation) <a href="group___s_t_m32_f4___d_i_s_c_o_v_e_r_y___l_i_s302_d_l___private___functions.html#gaf31f5b65ff8d208eeabae1a8f294fcc2">More...</a><br /></td></tr>
|
|
<tr class="separator:gaf31f5b65ff8d208eeabae1a8f294fcc2"><td class="memSeparator" colspan="2"> </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:ga943b294f0781c528d4d85a5f1f54d8c9"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga943b294f0781c528d4d85a5f1f54d8c9"></a>
|
|
<a class="el" href="core__cm4_8h.html#aec43007d9998a0a0e01faede4133d6be">__IO</a> uint32_t </td><td class="memItemRight" valign="bottom"><b>LIS302DLTimeout</b> = LIS302DL_FLAG_TIMEOUT</td></tr>
|
|
<tr class="separator:ga943b294f0781c528d4d85a5f1f54d8c9"><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 provides a set of functions needed to manage the LIS302DL MEMS accelerometer available on STM32F4-Discovery Kit. </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>
|