1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 2<html xmlns="http://www.w3.org/1999/xhtml"> 3<head> 4<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> 5<meta http-equiv="X-UA-Compatible" content="IE=9"/> 6<meta name="generator" content="Doxygen 1.8.13"/> 7<meta name="viewport" content="width=device-width, initial-scale=1"/> 8<title>ISSDK: algorithms/pedometer/examples/pedometer_stepcount_motion_fxos8700.c File Reference</title> 9<link href="tabs.css" rel="stylesheet" type="text/css"/> 10<script type="text/javascript" src="jquery.js"></script> 11<script type="text/javascript" src="dynsections.js"></script> 12<link href="issdk_stylesheet.css" rel="stylesheet" type="text/css" /> 13</head> 14<body> 15<div id="top"><!-- do not remove this div, it is closed by doxygen! --> 16<div id="titlearea"> 17<table cellspacing="0" cellpadding="0"> 18 <tbody> 19 <tr style="height: 56px;"> 20 <td id="projectlogo"><img alt="Logo" src="nxp_logo_small.png"/></td> 21 <td id="projectalign" style="padding-left: 0.5em;"> 22 <div id="projectname">ISSDK 23  <span id="projectnumber">1.8</span> 24 </div> 25 <div id="projectbrief">IoT Sensing Software Development Kit</div> 26 </td> 27 </tr> 28 </tbody> 29</table> 30</div> 31<!-- end header part --> 32<!-- Generated by Doxygen 1.8.13 --> 33<script type="text/javascript" src="menudata.js"></script> 34<script type="text/javascript" src="menu.js"></script> 35<script type="text/javascript"> 36$(function() { 37 initMenu('',false,false,'search.php','Search'); 38}); 39</script> 40<div id="main-nav"></div> 41<div id="nav-path" class="navpath"> 42 <ul> 43<li class="navelem"><a class="el" href="dir_c0ce462e37efe0a8d60c01d75f78f8a0.html">algorithms</a></li><li class="navelem"><a class="el" href="dir_fee404f6f831fcfa321ee67f90b1e1c1.html">pedometer</a></li><li class="navelem"><a class="el" href="dir_82ba1771cf9ff13cea8934af5507220d.html">examples</a></li> </ul> 44</div> 45</div><!-- top --> 46<div class="header"> 47 <div class="summary"> 48<a href="#define-members">Macros</a> | 49<a href="#func-members">Functions</a> | 50<a href="#var-members">Variables</a> </div> 51 <div class="headertitle"> 52<div class="title">pedometer_stepcount_motion_fxos8700.c File Reference</div> </div> 53</div><!--header--> 54<div class="contents"> 55<div class="textblock"><code>#include "board.h"</code><br /> 56<code>#include "pin_mux.h"</code><br /> 57<code>#include "clock_config.h"</code><br /> 58<code>#include "fsl_debug_console.h"</code><br /> 59<code>#include "Driver_I2C.h"</code><br /> 60<code>#include "issdk_hal.h"</code><br /> 61<code>#include "<a class="el" href="a00956_source.html">pedometer.h</a>"</code><br /> 62<code>#include "gpio_driver.h"</code><br /> 63<code>#include "<a class="el" href="a00086_source.html">fxos8700_drv.h</a>"</code><br /> 64</div><div class="textblock"><div class="dynheader"> 65Include dependency graph for pedometer_stepcount_motion_fxos8700.c:</div> 66<div class="dyncontent"> 67<div class="center"><img src="a00951.png" border="0" usemap="#algorithms_2pedometer_2examples_2pedometer__stepcount__motion__fxos8700_8c" alt=""/></div> 68<map name="algorithms_2pedometer_2examples_2pedometer__stepcount__motion__fxos8700_8c" id="algorithms_2pedometer_2examples_2pedometer__stepcount__motion__fxos8700_8c"> 69<area shape="rect" id="node8" href="a00956.html" title="The pedometer.h file contains the interface and structure definitions for pedometer application..." alt="" coords="724,109,819,136"/> 70<area shape="rect" id="node10" href="a00086.html" title="The fxos8700_drv.h file describes the fxos8700 driver interface and structures. " alt="" coords="961,109,1069,136"/> 71</map> 72</div> 73</div> 74<p><a href="a00950_source.html">Go to the source code of this file.</a></p> 75<table class="memberdecls"> 76<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a> 77Macros</h2></td></tr> 78<tr class="memitem:a228ad907ff6d7b37eb624ead7c8cd362"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="a00950.html#a228ad907ff6d7b37eb624ead7c8cd362">MT_A_FFMT_THS</a>   0x15 /* Threshold Value. */</td></tr> 79<tr class="separator:a228ad907ff6d7b37eb624ead7c8cd362"><td class="memSeparator" colspan="2"> </td></tr> 80<tr class="memitem:ac1de58f19be26d0d484cf2fa338c9eb5"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="a00950.html#ac1de58f19be26d0d484cf2fa338c9eb5">ASLP_COUNTER</a>   0x10 /* Auto Sleep after ~5s. */</td></tr> 81<tr class="separator:ac1de58f19be26d0d484cf2fa338c9eb5"><td class="memSeparator" colspan="2"> </td></tr> 82<tr class="memitem:ac565dfc6599c537d2df6f1923b285f1e"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="a00950.html#ac565dfc6599c537d2df6f1923b285f1e">FXOS8700_ACCEL_DATA_SIZE</a>   6 /* 2-<a class="el" href="a00914.html#a0c8186d9b9b7880309c27230bbb5e69d">byte</a> Accel x,y,z each */</td></tr> 83<tr class="separator:ac565dfc6599c537d2df6f1923b285f1e"><td class="memSeparator" colspan="2"> </td></tr> 84</table><table class="memberdecls"> 85<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a> 86Functions</h2></td></tr> 87<tr class="memitem:a4247e8c2ec12bf6eb232b8e72d9b9a2f"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="a00950.html#a4247e8c2ec12bf6eb232b8e72d9b9a2f">fxos8700_int_callback</a> (void *pUserData)</td></tr> 88<tr class="memdesc:a4247e8c2ec12bf6eb232b8e72d9b9a2f"><td class="mdescLeft"> </td><td class="mdescRight">This is the Sensor Event Ready ISR implementation. <a href="#a4247e8c2ec12bf6eb232b8e72d9b9a2f">More...</a><br /></td></tr> 89<tr class="separator:a4247e8c2ec12bf6eb232b8e72d9b9a2f"><td class="memSeparator" colspan="2"> </td></tr> 90<tr class="memitem:a840291bc02cba5474a4cb46a9b9566fe"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="a00950.html#a840291bc02cba5474a4cb46a9b9566fe">main</a> (void)</td></tr> 91<tr class="memdesc:a840291bc02cba5474a4cb46a9b9566fe"><td class="mdescLeft"> </td><td class="mdescRight">This is the The main function implementation. <a href="#a840291bc02cba5474a4cb46a9b9566fe">More...</a><br /></td></tr> 92<tr class="separator:a840291bc02cba5474a4cb46a9b9566fe"><td class="memSeparator" colspan="2"> </td></tr> 93</table><table class="memberdecls"> 94<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="var-members"></a> 95Variables</h2></td></tr> 96<tr class="memitem:ac9cbbd14e798ebcf7a433aa5021e2b2d"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="a03807.html">registerwritelist_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="a00950.html#ac9cbbd14e798ebcf7a433aa5021e2b2d">cFxos8700CommonConfiguration</a> []</td></tr> 97<tr class="memdesc:ac9cbbd14e798ebcf7a433aa5021e2b2d"><td class="mdescLeft"> </td><td class="mdescRight">FXOS8700 Motion based Pedometer Register Write List. <a href="#ac9cbbd14e798ebcf7a433aa5021e2b2d">More...</a><br /></td></tr> 98<tr class="separator:ac9cbbd14e798ebcf7a433aa5021e2b2d"><td class="memSeparator" colspan="2"> </td></tr> 99<tr class="memitem:a98288ae64a9730a61b936b52bf82b45d"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="a03807.html">registerwritelist_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="a00950.html#a98288ae64a9730a61b936b52bf82b45d">cFxos8700ConfigMotionDetect</a> []</td></tr> 100<tr class="memdesc:a98288ae64a9730a61b936b52bf82b45d"><td class="mdescLeft"> </td><td class="mdescRight">FXOS8700 Motion Detect Mode Register Write List. <a href="#a98288ae64a9730a61b936b52bf82b45d">More...</a><br /></td></tr> 101<tr class="separator:a98288ae64a9730a61b936b52bf82b45d"><td class="memSeparator" colspan="2"> </td></tr> 102<tr class="memitem:abacfa101a1f565df95fd9724c50bbdf8"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="a03807.html">registerwritelist_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="a00950.html#abacfa101a1f565df95fd9724c50bbdf8">cFxos8700ConfigDataReady</a> []</td></tr> 103<tr class="memdesc:abacfa101a1f565df95fd9724c50bbdf8"><td class="mdescLeft"> </td><td class="mdescRight">FXOS8700 DRDY and ASLP Detect Mode Register Write List. <a href="#abacfa101a1f565df95fd9724c50bbdf8">More...</a><br /></td></tr> 104<tr class="separator:abacfa101a1f565df95fd9724c50bbdf8"><td class="memSeparator" colspan="2"> </td></tr> 105<tr class="memitem:a385de261bf1428cde8ac6541237b325a"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="a03811.html">registerreadlist_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="a00950.html#a385de261bf1428cde8ac6541237b325a">cFxos8700INTSrc</a> [] = {{.readFrom = <a class="el" href="a00080.html#a8feb5a39a55448c86e0dfc20f53a6c1dad423501ecdc60c836cc4126556886a78">FXOS8700_INT_SOURCE</a>, .numBytes = 1}, <a class="el" href="a00179.html#aebb58a1bb3df30b7df4f6f14d0f1a81d">__END_READ_DATA__</a>}</td></tr> 106<tr class="memdesc:a385de261bf1428cde8ac6541237b325a"><td class="mdescLeft"> </td><td class="mdescRight">Address of INT Source Register. <a href="#a385de261bf1428cde8ac6541237b325a">More...</a><br /></td></tr> 107<tr class="separator:a385de261bf1428cde8ac6541237b325a"><td class="memSeparator" colspan="2"> </td></tr> 108<tr class="memitem:adcfdf6c79f748f2749d0be901930b91d"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="a03811.html">registerreadlist_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="a00950.html#adcfdf6c79f748f2749d0be901930b91d">cFxos8700Output</a> [] = {{.readFrom = <a class="el" href="a00080.html#a8feb5a39a55448c86e0dfc20f53a6c1da99804c25ebaf3d129c182072573623c1">FXOS8700_OUT_X_MSB</a>, .numBytes = <a class="el" href="a00950.html#ac565dfc6599c537d2df6f1923b285f1e">FXOS8700_ACCEL_DATA_SIZE</a>}, <a class="el" href="a00179.html#aebb58a1bb3df30b7df4f6f14d0f1a81d">__END_READ_DATA__</a>}</td></tr> 109<tr class="memdesc:adcfdf6c79f748f2749d0be901930b91d"><td class="mdescLeft"> </td><td class="mdescRight">Address of Data Output Registers. <a href="#adcfdf6c79f748f2749d0be901930b91d">More...</a><br /></td></tr> 110<tr class="separator:adcfdf6c79f748f2749d0be901930b91d"><td class="memSeparator" colspan="2"> </td></tr> 111<tr class="memitem:a81ba4744a5759e7e84e9af73985cb245"><td class="memItemLeft" align="right" valign="top">const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="a00950.html#a81ba4744a5759e7e84e9af73985cb245">pActivity</a> [5] = {"Unknown ", "Rest ", "Walking ", "Jogging ", "Running "}</td></tr> 112<tr class="memdesc:a81ba4744a5759e7e84e9af73985cb245"><td class="mdescLeft"> </td><td class="mdescRight">Pedometer Mode Name Strings. <a href="#a81ba4744a5759e7e84e9af73985cb245">More...</a><br /></td></tr> 113<tr class="separator:a81ba4744a5759e7e84e9af73985cb245"><td class="memSeparator" colspan="2"> </td></tr> 114<tr class="memitem:a170bd685cd9e5fcb98a00e8d3d76040b"><td class="memItemLeft" align="right" valign="top">volatile bool </td><td class="memItemRight" valign="bottom"><a class="el" href="a00950.html#a170bd685cd9e5fcb98a00e8d3d76040b">gFxos8700EventReady</a> = <a class="el" href="a00914.html#a65e9886d74aaee76545e83dd09011727">false</a></td></tr> 115<tr class="separator:a170bd685cd9e5fcb98a00e8d3d76040b"><td class="memSeparator" colspan="2"> </td></tr> 116<tr class="memitem:ac8739dded5604790bbe053e9ac11d8ce"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a04059.html">pedometer_config_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="a00950.html#ac8739dded5604790bbe053e9ac11d8ce">cPedoConfig</a></td></tr> 117<tr class="separator:ac8739dded5604790bbe053e9ac11d8ce"><td class="memSeparator" colspan="2"> </td></tr> 118</table> 119<h2 class="groupheader">Macro Definition Documentation</h2> 120<a id="ac1de58f19be26d0d484cf2fa338c9eb5"></a> 121<h2 class="memtitle"><span class="permalink"><a href="#ac1de58f19be26d0d484cf2fa338c9eb5">◆ </a></span>ASLP_COUNTER</h2> 122 123<div class="memitem"> 124<div class="memproto"> 125 <table class="memname"> 126 <tr> 127 <td class="memname">#define ASLP_COUNTER   0x10 /* Auto Sleep after ~5s. */</td> 128 </tr> 129 </table> 130</div><div class="memdoc"> 131 132<p class="definition">Definition at line <a class="el" href="a00950_source.html#l00040">40</a> of file <a class="el" href="a00950_source.html">pedometer_stepcount_motion_fxos8700.c</a>.</p> 133 134</div> 135</div> 136<a id="ac565dfc6599c537d2df6f1923b285f1e"></a> 137<h2 class="memtitle"><span class="permalink"><a href="#ac565dfc6599c537d2df6f1923b285f1e">◆ </a></span>FXOS8700_ACCEL_DATA_SIZE</h2> 138 139<div class="memitem"> 140<div class="memproto"> 141 <table class="memname"> 142 <tr> 143 <td class="memname">#define FXOS8700_ACCEL_DATA_SIZE   6 /* 2-<a class="el" href="a00914.html#a0c8186d9b9b7880309c27230bbb5e69d">byte</a> Accel x,y,z each */</td> 144 </tr> 145 </table> 146</div><div class="memdoc"> 147 148<p class="definition">Definition at line <a class="el" href="a00950_source.html#l00041">41</a> of file <a class="el" href="a00950_source.html">pedometer_stepcount_motion_fxos8700.c</a>.</p> 149 150<p class="reference">Referenced by <a class="el" href="a00950_source.html#l00143">main()</a>.</p> 151 152</div> 153</div> 154<a id="a228ad907ff6d7b37eb624ead7c8cd362"></a> 155<h2 class="memtitle"><span class="permalink"><a href="#a228ad907ff6d7b37eb624ead7c8cd362">◆ </a></span>MT_A_FFMT_THS</h2> 156 157<div class="memitem"> 158<div class="memproto"> 159 <table class="memname"> 160 <tr> 161 <td class="memname">#define MT_A_FFMT_THS   0x15 /* Threshold Value. */</td> 162 </tr> 163 </table> 164</div><div class="memdoc"> 165 166<p class="definition">Definition at line <a class="el" href="a00950_source.html#l00039">39</a> of file <a class="el" href="a00950_source.html">pedometer_stepcount_motion_fxos8700.c</a>.</p> 167 168</div> 169</div> 170<h2 class="groupheader">Function Documentation</h2> 171<a id="a4247e8c2ec12bf6eb232b8e72d9b9a2f"></a> 172<h2 class="memtitle"><span class="permalink"><a href="#a4247e8c2ec12bf6eb232b8e72d9b9a2f">◆ </a></span>fxos8700_int_callback()</h2> 173 174<div class="memitem"> 175<div class="memproto"> 176 <table class="memname"> 177 <tr> 178 <td class="memname">void fxos8700_int_callback </td> 179 <td>(</td> 180 <td class="paramtype">void * </td> 181 <td class="paramname"><em>pUserData</em></td><td>)</td> 182 <td></td> 183 </tr> 184 </table> 185</div><div class="memdoc"> 186 187<p>This is the Sensor Event Ready ISR implementation. </p> 188<hr/> 189<p>This function sets the flag which indicates if a new sample(s) is available for reading. </p><dl class="params"><dt>Parameters</dt><dd> 190 <table class="params"> 191 <tr><td class="paramdir">[in]</td><td class="paramname">pUserData</td><td>This is a void pointer to the instance of the user specific data structure for the ISR. </td></tr> 192 </table> 193 </dd> 194</dl> 195<dl class="section return"><dt>Returns</dt><dd>void There is no return value. </dd></dl> 196<dl class="section user"><dt>Constraints:</dt><dd>None <h2>Yes </h2> 197</dd></dl> 198<p>Set flag to indicate Sensor has signaled event ready. </p> 199 200<p class="definition">Definition at line <a class="el" href="a00950_source.html#l00129">129</a> of file <a class="el" href="a00950_source.html">pedometer_stepcount_motion_fxos8700.c</a>.</p> 201 202<p class="reference">References <a class="el" href="a00950_source.html#l00093">gFxos8700EventReady</a>.</p> 203 204<p class="reference">Referenced by <a class="el" href="a00950_source.html#l00143">main()</a>.</p> 205<div class="dynheader"> 206Here is the caller graph for this function:</div> 207<div class="dyncontent"> 208<div class="center"><img src="a00950_a4247e8c2ec12bf6eb232b8e72d9b9a2f_icgraph.png" border="0" usemap="#a00950_a4247e8c2ec12bf6eb232b8e72d9b9a2f_icgraph" alt=""/></div> 209<map name="a00950_a4247e8c2ec12bf6eb232b8e72d9b9a2f_icgraph" id="a00950_a4247e8c2ec12bf6eb232b8e72d9b9a2f_icgraph"> 210<area shape="rect" id="node2" href="a00950.html#a840291bc02cba5474a4cb46a9b9566fe" title="This is the The main function implementation. " alt="" coords="204,5,255,32"/> 211</map> 212</div> 213 214</div> 215</div> 216<a id="a840291bc02cba5474a4cb46a9b9566fe"></a> 217<h2 class="memtitle"><span class="permalink"><a href="#a840291bc02cba5474a4cb46a9b9566fe">◆ </a></span>main()</h2> 218 219<div class="memitem"> 220<div class="memproto"> 221 <table class="memname"> 222 <tr> 223 <td class="memname">int main </td> 224 <td>(</td> 225 <td class="paramtype">void </td> 226 <td class="paramname"></td><td>)</td> 227 <td></td> 228 </tr> 229 </table> 230</div><div class="memdoc"> 231 232<p>This is the The main function implementation. </p> 233<hr/> 234<p>This function invokes board initializes routines, then then brings up the sensor and finally enters an endless loop to continuously read available samples. </p><dl class="params"><dt>Parameters</dt><dd> 235 <table class="params"> 236 <tr><td class="paramdir">[in]</td><td class="paramname">void</td><td>This is no input parameter. </td></tr> 237 </table> 238 </dd> 239</dl> 240<dl class="section return"><dt>Returns</dt><dd>void There is no return value. </dd></dl> 241<dl class="section user"><dt>Constraints:</dt><dd>None <h2>No </h2> 242</dd></dl> 243<p>Initialize the MCU hardware.</p> 244<p>Initialize FXOS8700 pin used by FRDM board</p> 245<p>Initialize RGB LED pin used by FRDM board</p> 246<p>Initialize the I2C driver.</p> 247<p>Set the I2C Power mode.</p> 248<p>Set the I2C bus speed.</p> 249<p>Initialize FXOS8700 sensor driver.</p> 250<p>Set the task to be executed while waiting for I2C transactions to complete.</p> 251<p>Initialize the pedometer</p> 252<p>Configure the pedometer</p> 253<p>Clear the data ready flag, it will be set again by the ISR.</p> 254<p>Read the INT_SRC from the FXOS8700.</p> 255<p>Display that a Motion event has been detected.</p> 256<p>Read the Output from the FXOS8700.</p> 257<p>Convert the raw sensor data for feeding to pedometer algorithm.</p> 258<p>Execute the pedometer Algorithm </p> 259 260<p class="definition">Definition at line <a class="el" href="a00950_source.html#l00143">143</a> of file <a class="el" href="a00950_source.html">pedometer_stepcount_motion_fxos8700.c</a>.</p> 261 262<p class="reference">References <a class="el" href="a00086_source.html#l00056">fxos8700_accelmagdata_t::accel</a>, <a class="el" href="a04071.html#aa9fd52939922d151d6d2b96afc0455ed">pedometer_t::pedometer_status_tag::bits</a>, <a class="el" href="a04292_source.html#l00019">BOARD_BootClockRUN</a>, <a class="el" href="a04109_source.html#l00015">BOARD_InitDebugConsole()</a>, <a class="el" href="a04541_source.html#l00047">BOARD_InitPins()</a>, <a class="el" href="a00956_source.html#l00094">pedometer_t::pedometer_status_tag::calories</a>, <a class="el" href="a00482_source.html#l00047">GENERIC_DRIVER_GPIO::clr_pin</a>, <a class="el" href="a00428_source.html#l00174">data</a>, <a class="el" href="a00086_source.html#l00046">fxos8700_i2c_sensorhandle_t::deviceInfo</a>, <a class="el" href="a00956_source.html#l00092">pedometer_t::pedometer_status_tag::distance</a>, <a class="el" href="a04841_source.html#l00177">Driver_GPIO_KSDK</a>, <a class="el" href="a00950_source.html#l00041">FXOS8700_ACCEL_DATA_SIZE</a>, <a class="el" href="a00545_source.html#l00025">FXOS8700_I2C_ADDR</a>, <a class="el" href="a00083_source.html#l00260">FXOS8700_I2C_Configure()</a>, <a class="el" href="a00083_source.html#l00222">FXOS8700_I2C_Initialize()</a>, <a class="el" href="a00083_source.html#l00305">FXOS8700_I2C_ReadData()</a>, <a class="el" href="a00083_source.html#l00252">FXOS8700_I2C_SetIdleTask()</a>, <a class="el" href="a04337_source.html#l00029">FXOS8700_INT1</a>, <a class="el" href="a00950_source.html#l00129">fxos8700_int_callback()</a>, <a class="el" href="a00080_source.html#l00609">FXOS8700_INT_SOURCE_SRC_ASLP_MASK</a>, <a class="el" href="a00080_source.html#l00594">FXOS8700_INT_SOURCE_SRC_FFMT_MASK</a>, <a class="el" href="a00080_source.html#l00146">FXOS8700_WHO_AM_I_PROD_VALUE</a>, <a class="el" href="a00950_source.html#l00093">gFxos8700EventReady</a>, <a class="el" href="a00482_source.html#l00023">GPIO_DIRECTION_IN</a>, <a class="el" href="a00482_source.html#l00024">GPIO_DIRECTION_OUT</a>, <a class="el" href="a00575_source.html#l00188">GREEN_LED</a>, <a class="el" href="a04343_source.html#l00035">I2C_S_DEVICE_INDEX</a>, <a class="el" href="a04343_source.html#l00033">I2C_S_DRIVER</a>, <a class="el" href="a04343_source.html#l00034">I2C_S_SIGNAL_EVENT</a>, <a class="el" href="a00368_source.html#l00083">I2Cdrv</a>, <a class="el" href="a00521.html#a5d7069350a7d7e65686c77a8038f462f">int32_t()</a>, <a class="el" href="a00950_source.html#l00088">pActivity</a>, <a class="el" href="a00086_source.html#l00047">fxos8700_i2c_sensorhandle_t::pCommDrv</a>, <a class="el" href="a00926_source.html#l00111">pedometer_configure()</a>, <a class="el" href="a00926_source.html#l00097">pedometer_init()</a>, <a class="el" href="a00926_source.html#l00125">pedometer_run()</a>, <a class="el" href="a00281_source.html#l00067">pGpioDriver</a>, <a class="el" href="a00482_source.html#l00041">GENERIC_DRIVER_GPIO::pin_init</a>, <a class="el" href="a00227_source.html#l00218">rawData</a>, <a class="el" href="a00179_source.html#l00033">SENSOR_ERROR_NONE</a>, <a class="el" href="a00182_source.html#l00071">Sensor_I2C_Write()</a>, <a class="el" href="a00482_source.html#l00046">GENERIC_DRIVER_GPIO::set_pin</a>, <a class="el" href="a00086_source.html#l00049">fxos8700_i2c_sensorhandle_t::slaveAddress</a>, <a class="el" href="a00641_source.html#l00118">SMC</a>, <a class="el" href="a00638_source.html#l00169">SMC_SetPowerModeVlpr()</a>, <a class="el" href="a00638_source.html#l00155">SMC_SetPowerModeWait()</a>, <a class="el" href="a00956_source.html#l00093">pedometer_t::pedometer_status_tag::speed</a>, <a class="el" href="a04071.html#a0bb1fec62456252807796e63db9a6622">pedometer_t::pedometer_status_tag::status</a>, <a class="el" href="a04067.html#a57ce58a7b7cf3e03dc10aca88b0edcd5">pedometer_t::status</a>, <a class="el" href="a00359_source.html#l00248">status</a>, <a class="el" href="a00956_source.html#l00091">pedometer_t::pedometer_status_tag::stepcount</a>, and <a class="el" href="a00482_source.html#l00048">GENERIC_DRIVER_GPIO::toggle_pin</a>.</p> 263<div class="dynheader"> 264Here is the call graph for this function:</div> 265<div class="dyncontent"> 266<div class="center"><img src="a00950_a840291bc02cba5474a4cb46a9b9566fe_cgraph.png" border="0" usemap="#a00950_a840291bc02cba5474a4cb46a9b9566fe_cgraph" alt=""/></div> 267<map name="a00950_a840291bc02cba5474a4cb46a9b9566fe_cgraph" id="a00950_a840291bc02cba5474a4cb46a9b9566fe_cgraph"> 268<area shape="rect" id="node2" href="a04109.html#a4c84ccb952cb083367d7040cf9de3db8" title="BOARD_InitDebugConsole" alt="" coords="109,5,285,32"/> 269<area shape="rect" id="node3" href="a00959.html#ga2c9fe54b6b84723fbaa590a6f4576966" title="Configures pin routing and optionally pin electrical features. " alt="" coords="137,56,256,83"/> 270<area shape="rect" id="node4" href="a00083.html#adcb4dbaa31a6b4ccd6031ee6cc97bb66" title="The interface function to configure he sensor. " alt="" coords="111,107,282,133"/> 271<area shape="rect" id="node5" href="a00521.html#a5d7069350a7d7e65686c77a8038f462f" title="The interface function to append the data on the formated stream. " alt="" coords="560,208,621,235"/> 272<area shape="rect" id="node6" href="a00182.html#aaac4c4f34b4dd37d3f202a1dbb4b000b" title="Write register data to a sensor. " alt="" coords="361,157,488,184"/> 273<area shape="rect" id="node7" href="a00083.html#a17953ccee62fbd698318197b109b9e9f" title="The interface function to initialize the sensor. " alt="" coords="343,259,507,285"/> 274<area shape="rect" id="node8" href="a00083.html#a0528c7633050aa23e89a79106d804cc6" title="The interface function to read the sensor data. " alt="" coords="337,309,512,336"/> 275<area shape="rect" id="node9" href="a00083.html#af4efbd044b09aea215f120856f443caf" title=": The interface function to set the I2C Idle Task. " alt="" coords="104,360,289,387"/> 276<area shape="rect" id="node10" href="a00950.html#a4247e8c2ec12bf6eb232b8e72d9b9a2f" title="This is the Sensor Event Ready ISR implementation. " alt="" coords="121,411,272,437"/> 277<area shape="rect" id="node11" href="a00926.html#a5ea8580b8a07ce9ece550f8b6fd37ced" title="The interface function to configure the pedometer. " alt="" coords="125,461,268,488"/> 278<area shape="rect" id="node12" href="a00926.html#a594d690252fcfc6713fe8374f384fe69" title="The interface function initialize the pedometer. " alt="" coords="143,512,250,539"/> 279<area shape="rect" id="node13" href="a00926.html#a87224a70b303355a416beaca80ed1b2f" title="The interface function excutes the pedometer algorithm. " alt="" coords="143,563,251,589"/> 280<area shape="rect" id="node14" href="a00638.html#a82cb114bb9a5ea2f235a0216709d70f8" title="Configures the system to VLPR power mode. API name used from Kinetis family to maintain compatibility..." alt="" coords="112,613,281,640"/> 281<area shape="rect" id="node15" href="a00638.html#a5423cac017d1d1a8ac8bba8e91e80e29" title="Configures the system to WAIT power mode. API name used from Kinetis family to maintain compatibility..." alt="" coords="110,664,283,691"/> 282</map> 283</div> 284 285</div> 286</div> 287<h2 class="groupheader">Variable Documentation</h2> 288<a id="ac9cbbd14e798ebcf7a433aa5021e2b2d"></a> 289<h2 class="memtitle"><span class="permalink"><a href="#ac9cbbd14e798ebcf7a433aa5021e2b2d">◆ </a></span>cFxos8700CommonConfiguration</h2> 290 291<div class="memitem"> 292<div class="memproto"> 293 <table class="memname"> 294 <tr> 295 <td class="memname">const <a class="el" href="a03807.html">registerwritelist_t</a> cFxos8700CommonConfiguration[]</td> 296 </tr> 297 </table> 298</div><div class="memdoc"> 299<b>Initial value:</b><div class="fragment"><div class="line">= {</div><div class="line"> {<a class="code" href="a00080.html#a8feb5a39a55448c86e0dfc20f53a6c1dac042ebfac33ad9921645ec1f99a9b47e">FXOS8700_ASLP_COUNT</a>, <a class="code" href="a00950.html#ac1de58f19be26d0d484cf2fa338c9eb5">ASLP_COUNTER</a>, 0},</div><div class="line"> {<a class="code" href="a00080.html#a8feb5a39a55448c86e0dfc20f53a6c1dabe02277bed750f9b3062eddcb056d116">FXOS8700_A_FFMT_THS</a>, <a class="code" href="a00950.html#a228ad907ff6d7b37eb624ead7c8cd362">MT_A_FFMT_THS</a>, <a class="code" href="a00080.html#a359e9025b66d1dc8be94098285e6cc4f">FXOS8700_A_FFMT_THS_THS_MASK</a>},</div><div class="line"> {<a class="code" href="a00080.html#a8feb5a39a55448c86e0dfc20f53a6c1da47d310708d19fb1bac84942ead51427d">FXOS8700_A_FFMT_CFG</a>, <a class="code" href="a00080.html#a1afa738251326817d2d76b15a2381c46">FXOS8700_A_FFMT_CFG_OAE_MOTION</a> | <a class="code" href="a00080.html#a0e4711bb3723261f1d41b2b9ac100796">FXOS8700_A_FFMT_CFG_ZEFE_RAISE_EVENT</a> | <a class="code" href="a00080.html#a3083726008f66866d39ce47ef2407c11">FXOS8700_A_FFMT_CFG_YEFE_RAISE_EVENT</a> | <a class="code" href="a00080.html#ac0b2a2750f3ae87c19b54e21a347cd03">FXOS8700_A_FFMT_CFG_XEFE_RAISE_EVENT</a>,</div><div class="line"> <a class="code" href="a00080.html#a4cbf59a396799828f6790f8ce1b7b6b0">FXOS8700_A_FFMT_CFG_OAE_MASK</a> | <a class="code" href="a00080.html#a2e9348f883ca462834be1da82a5f0297">FXOS8700_A_FFMT_CFG_ZEFE_MASK</a> | <a class="code" href="a00080.html#a11dc5e0d310818490addf314f7f35dfc">FXOS8700_A_FFMT_CFG_YEFE_MASK</a> | <a class="code" href="a00080.html#a28456d1cd33970595c08601b8e743fe5">FXOS8700_A_FFMT_CFG_XEFE_MASK</a>},</div><div class="line"> {<a class="code" href="a00080.html#a8feb5a39a55448c86e0dfc20f53a6c1dab871a4ff4bb96c042507d1142bf1bb6d">FXOS8700_CTRL_REG1</a>, <a class="code" href="a00080.html#a5110749037b19c1840624ae4ec79c6fb">FXOS8700_CTRL_REG1_ASLP_RATE_1P56_HZ</a> | <a class="code" href="a00080.html#a928d47ced28216ae3cfc313a34f704c6">FXOS8700_CTRL_REG1_DR_SINGLE_50_HZ</a>,</div><div class="line"> <a class="code" href="a00080.html#a9dba657257faf331f0991c8d2b8a5de7">FXOS8700_CTRL_REG1_ASLP_RATE_MASK</a> | <a class="code" href="a00080.html#a5ba8c0c0813375f895bc2312d44f30b7">FXOS8700_CTRL_REG1_DR_MASK</a>},</div><div class="line"> {<a class="code" href="a00080.html#a8feb5a39a55448c86e0dfc20f53a6c1daccbacfb2d5a5ca13bcc5d165ad512e54">FXOS8700_CTRL_REG2</a>, <a class="code" href="a00080.html#a172f7d6a4bf494102fbe0b439d7777eb">FXOS8700_CTRL_REG2_SLPE_EN</a> | <a class="code" href="a00080.html#ae1c92883b4f5b0dd138264cf598d32ff">FXOS8700_CTRL_REG2_MODS_LOW_POWER</a>,</div><div class="line"> <a class="code" href="a00080.html#a6cd07ab2792e73408f704ae73d3ee077">FXOS8700_CTRL_REG2_SLPE_MASK</a> | <a class="code" href="a00080.html#acfa8c0e771b144bc16ab6ca8908a527a">FXOS8700_CTRL_REG2_SMODS_MASK</a>},</div><div class="line"> {<a class="code" href="a00080.html#a8feb5a39a55448c86e0dfc20f53a6c1dabbf450dd8289876d3736d975ae12e782">FXOS8700_CTRL_REG3</a>, <a class="code" href="a00080.html#a417fd539d73ae437106b69d7a45ae49a">FXOS8700_CTRL_REG3_WAKE_FFMT_EN</a> | <a class="code" href="a00080.html#aa143b37000a4849deacb75476cd62c65">FXOS8700_CTRL_REG3_IPOL_ACTIVE_HIGH</a> | <a class="code" href="a00080.html#ab990c279c21f891fbc0222fbbf5e366c">FXOS8700_CTRL_REG3_PP_OD_PUSH_PULL</a>,</div><div class="line"> <a class="code" href="a00080.html#ab1b964c4fb638fb5eba0217e9a422251">FXOS8700_CTRL_REG3_WAKE_FFMT_MASK</a> | <a class="code" href="a00080.html#a65e7ea06e97099fdfafcaeb88b6924dd">FXOS8700_CTRL_REG3_IPOL_MASK</a> | <a class="code" href="a00080.html#afb4115590ea0c3fd56c2d07364b49dea">FXOS8700_CTRL_REG3_PP_OD_MASK</a>},</div><div class="line"> {<a class="code" href="a00080.html#a8feb5a39a55448c86e0dfc20f53a6c1da5fd16571bdc06c0528c421acd0329c51">FXOS8700_CTRL_REG4</a>, <a class="code" href="a00080.html#a789eda6a40a31f6f1b57537279c745ed">FXOS8700_CTRL_REG4_INT_EN_FFMT_EN</a>, <a class="code" href="a00080.html#ab428e85d93ab5d14bd2fac89d95ae4a0">FXOS8700_CTRL_REG4_INT_EN_FFMT_MASK</a>},</div><div class="line"> {<a class="code" href="a00080.html#a8feb5a39a55448c86e0dfc20f53a6c1da4042c1d2ba5a488da5d3701500c6474f">FXOS8700_CTRL_REG5</a>, <a class="code" href="a00080.html#a812778488bfd3f657aa3e60936a3f172">FXOS8700_CTRL_REG5_INT_CFG_DRDY_INT1</a> | <a class="code" href="a00080.html#ab25fe9720e6b54d9aab05397ec4ff880">FXOS8700_CTRL_REG5_INT_CFG_ASLP_INT1</a>,</div><div class="line"> <a class="code" href="a00080.html#a35219e0a108fb9ccf4e7921bd3605cc6">FXOS8700_CTRL_REG5_INT_CFG_DRDY_MASK</a> | <a class="code" href="a00080.html#a8a33dd5db08b3953570b29dad844e696">FXOS8700_CTRL_REG5_INT_CFG_ASLP_MASK</a>},</div><div class="line"> <a class="code" href="a00179.html#a2cedde333a6373a3ee274bde6af145d0">__END_WRITE_DATA__</a>}</div><div class="ttc" id="a00080_html_a3083726008f66866d39ce47ef2407c11"><div class="ttname"><a href="a00080.html#a3083726008f66866d39ce47ef2407c11">FXOS8700_A_FFMT_CFG_YEFE_RAISE_EVENT</a></div><div class="ttdeci">#define FXOS8700_A_FFMT_CFG_YEFE_RAISE_EVENT</div><div class="ttdef"><b>Definition:</b> <a href="a00080_source.html#l00956">fxos8700.h:956</a></div></div> 300<div class="ttc" id="a00950_html_ac1de58f19be26d0d484cf2fa338c9eb5"><div class="ttname"><a href="a00950.html#ac1de58f19be26d0d484cf2fa338c9eb5">ASLP_COUNTER</a></div><div class="ttdeci">#define ASLP_COUNTER</div><div class="ttdef"><b>Definition:</b> <a href="a00950_source.html#l00040">pedometer_stepcount_motion_fxos8700.c:40</a></div></div> 301<div class="ttc" id="a00080_html_a35219e0a108fb9ccf4e7921bd3605cc6"><div class="ttname"><a href="a00080.html#a35219e0a108fb9ccf4e7921bd3605cc6">FXOS8700_CTRL_REG5_INT_CFG_DRDY_MASK</a></div><div class="ttdeci">#define FXOS8700_CTRL_REG5_INT_CFG_DRDY_MASK</div><div class="ttdef"><b>Definition:</b> <a href="a00080_source.html#l01784">fxos8700.h:1784</a></div></div> 302<div class="ttc" id="a00080_html_a8feb5a39a55448c86e0dfc20f53a6c1da5fd16571bdc06c0528c421acd0329c51"><div class="ttname"><a href="a00080.html#a8feb5a39a55448c86e0dfc20f53a6c1da5fd16571bdc06c0528c421acd0329c51">FXOS8700_CTRL_REG4</a></div><div class="ttdef"><b>Definition:</b> <a href="a00080_source.html#l00059">fxos8700.h:59</a></div></div> 303<div class="ttc" id="a00080_html_a28456d1cd33970595c08601b8e743fe5"><div class="ttname"><a href="a00080.html#a28456d1cd33970595c08601b8e743fe5">FXOS8700_A_FFMT_CFG_XEFE_MASK</a></div><div class="ttdeci">#define FXOS8700_A_FFMT_CFG_XEFE_MASK</div><div class="ttdef"><b>Definition:</b> <a href="a00080_source.html#l00929">fxos8700.h:929</a></div></div> 304<div class="ttc" id="a00080_html_a5110749037b19c1840624ae4ec79c6fb"><div class="ttname"><a href="a00080.html#a5110749037b19c1840624ae4ec79c6fb">FXOS8700_CTRL_REG1_ASLP_RATE_1P56_HZ</a></div><div class="ttdeci">#define FXOS8700_CTRL_REG1_ASLP_RATE_1P56_HZ</div><div class="ttdef"><b>Definition:</b> <a href="a00080_source.html#l01517">fxos8700.h:1517</a></div></div> 305<div class="ttc" id="a00080_html_ae1c92883b4f5b0dd138264cf598d32ff"><div class="ttname"><a href="a00080.html#ae1c92883b4f5b0dd138264cf598d32ff">FXOS8700_CTRL_REG2_MODS_LOW_POWER</a></div><div class="ttdeci">#define FXOS8700_CTRL_REG2_MODS_LOW_POWER</div><div class="ttdef"><b>Definition:</b> <a href="a00080_source.html#l01600">fxos8700.h:1600</a></div></div> 306<div class="ttc" id="a00080_html_acfa8c0e771b144bc16ab6ca8908a527a"><div class="ttname"><a href="a00080.html#acfa8c0e771b144bc16ab6ca8908a527a">FXOS8700_CTRL_REG2_SMODS_MASK</a></div><div class="ttdeci">#define FXOS8700_CTRL_REG2_SMODS_MASK</div><div class="ttdef"><b>Definition:</b> <a href="a00080_source.html#l01574">fxos8700.h:1574</a></div></div> 307<div class="ttc" id="a00080_html_a8feb5a39a55448c86e0dfc20f53a6c1da4042c1d2ba5a488da5d3701500c6474f"><div class="ttname"><a href="a00080.html#a8feb5a39a55448c86e0dfc20f53a6c1da4042c1d2ba5a488da5d3701500c6474f">FXOS8700_CTRL_REG5</a></div><div class="ttdef"><b>Definition:</b> <a href="a00080_source.html#l00060">fxos8700.h:60</a></div></div> 308<div class="ttc" id="a00080_html_a5ba8c0c0813375f895bc2312d44f30b7"><div class="ttname"><a href="a00080.html#a5ba8c0c0813375f895bc2312d44f30b7">FXOS8700_CTRL_REG1_DR_MASK</a></div><div class="ttdeci">#define FXOS8700_CTRL_REG1_DR_MASK</div><div class="ttdef"><b>Definition:</b> <a href="a00080_source.html#l01504">fxos8700.h:1504</a></div></div> 309<div class="ttc" id="a00080_html_ab428e85d93ab5d14bd2fac89d95ae4a0"><div class="ttname"><a href="a00080.html#ab428e85d93ab5d14bd2fac89d95ae4a0">FXOS8700_CTRL_REG4_INT_EN_FFMT_MASK</a></div><div class="ttdeci">#define FXOS8700_CTRL_REG4_INT_EN_FFMT_MASK</div><div class="ttdef"><b>Definition:</b> <a href="a00080_source.html#l01717">fxos8700.h:1717</a></div></div> 310<div class="ttc" id="a00179_html_a2cedde333a6373a3ee274bde6af145d0"><div class="ttname"><a href="a00179.html#a2cedde333a6373a3ee274bde6af145d0">__END_WRITE_DATA__</a></div><div class="ttdeci">#define __END_WRITE_DATA__</div><div class="ttdef"><b>Definition:</b> <a href="a00179_source.html#l00045">sensor_drv.h:45</a></div></div> 311<div class="ttc" id="a00080_html_a4cbf59a396799828f6790f8ce1b7b6b0"><div class="ttname"><a href="a00080.html#a4cbf59a396799828f6790f8ce1b7b6b0">FXOS8700_A_FFMT_CFG_OAE_MASK</a></div><div class="ttdeci">#define FXOS8700_A_FFMT_CFG_OAE_MASK</div><div class="ttdef"><b>Definition:</b> <a href="a00080_source.html#l00938">fxos8700.h:938</a></div></div> 312<div class="ttc" id="a00080_html_afb4115590ea0c3fd56c2d07364b49dea"><div class="ttname"><a href="a00080.html#afb4115590ea0c3fd56c2d07364b49dea">FXOS8700_CTRL_REG3_PP_OD_MASK</a></div><div class="ttdeci">#define FXOS8700_CTRL_REG3_PP_OD_MASK</div><div class="ttdef"><b>Definition:</b> <a href="a00080_source.html#l01629">fxos8700.h:1629</a></div></div> 313<div class="ttc" id="a00080_html_a1afa738251326817d2d76b15a2381c46"><div class="ttname"><a href="a00080.html#a1afa738251326817d2d76b15a2381c46">FXOS8700_A_FFMT_CFG_OAE_MOTION</a></div><div class="ttdeci">#define FXOS8700_A_FFMT_CFG_OAE_MOTION</div><div class="ttdef"><b>Definition:</b> <a href="a00080_source.html#l00951">fxos8700.h:951</a></div></div> 314<div class="ttc" id="a00080_html_a812778488bfd3f657aa3e60936a3f172"><div class="ttname"><a href="a00080.html#a812778488bfd3f657aa3e60936a3f172">FXOS8700_CTRL_REG5_INT_CFG_DRDY_INT1</a></div><div class="ttdeci">#define FXOS8700_CTRL_REG5_INT_CFG_DRDY_INT1</div><div class="ttdef"><b>Definition:</b> <a href="a00080_source.html#l01827">fxos8700.h:1827</a></div></div> 315<div class="ttc" id="a00080_html_a928d47ced28216ae3cfc313a34f704c6"><div class="ttname"><a href="a00080.html#a928d47ced28216ae3cfc313a34f704c6">FXOS8700_CTRL_REG1_DR_SINGLE_50_HZ</a></div><div class="ttdeci">#define FXOS8700_CTRL_REG1_DR_SINGLE_50_HZ</div><div class="ttdef"><b>Definition:</b> <a href="a00080_source.html#l01522">fxos8700.h:1522</a></div></div> 316<div class="ttc" id="a00080_html_a0e4711bb3723261f1d41b2b9ac100796"><div class="ttname"><a href="a00080.html#a0e4711bb3723261f1d41b2b9ac100796">FXOS8700_A_FFMT_CFG_ZEFE_RAISE_EVENT</a></div><div class="ttdeci">#define FXOS8700_A_FFMT_CFG_ZEFE_RAISE_EVENT</div><div class="ttdef"><b>Definition:</b> <a href="a00080_source.html#l00953">fxos8700.h:953</a></div></div> 317<div class="ttc" id="a00950_html_a228ad907ff6d7b37eb624ead7c8cd362"><div class="ttname"><a href="a00950.html#a228ad907ff6d7b37eb624ead7c8cd362">MT_A_FFMT_THS</a></div><div class="ttdeci">#define MT_A_FFMT_THS</div><div class="ttdef"><b>Definition:</b> <a href="a00950_source.html#l00039">pedometer_stepcount_motion_fxos8700.c:39</a></div></div> 318<div class="ttc" id="a00080_html_a8feb5a39a55448c86e0dfc20f53a6c1da47d310708d19fb1bac84942ead51427d"><div class="ttname"><a href="a00080.html#a8feb5a39a55448c86e0dfc20f53a6c1da47d310708d19fb1bac84942ead51427d">FXOS8700_A_FFMT_CFG</a></div><div class="ttdef"><b>Definition:</b> <a href="a00080_source.html#l00039">fxos8700.h:39</a></div></div> 319<div class="ttc" id="a00080_html_ab25fe9720e6b54d9aab05397ec4ff880"><div class="ttname"><a href="a00080.html#ab25fe9720e6b54d9aab05397ec4ff880">FXOS8700_CTRL_REG5_INT_CFG_ASLP_INT1</a></div><div class="ttdeci">#define FXOS8700_CTRL_REG5_INT_CFG_ASLP_INT1</div><div class="ttdef"><b>Definition:</b> <a href="a00080_source.html#l01813">fxos8700.h:1813</a></div></div> 320<div class="ttc" id="a00080_html_a172f7d6a4bf494102fbe0b439d7777eb"><div class="ttname"><a href="a00080.html#a172f7d6a4bf494102fbe0b439d7777eb">FXOS8700_CTRL_REG2_SLPE_EN</a></div><div class="ttdeci">#define FXOS8700_CTRL_REG2_SLPE_EN</div><div class="ttdef"><b>Definition:</b> <a href="a00080_source.html#l01595">fxos8700.h:1595</a></div></div> 321<div class="ttc" id="a00080_html_a789eda6a40a31f6f1b57537279c745ed"><div class="ttname"><a href="a00080.html#a789eda6a40a31f6f1b57537279c745ed">FXOS8700_CTRL_REG4_INT_EN_FFMT_EN</a></div><div class="ttdeci">#define FXOS8700_CTRL_REG4_INT_EN_FFMT_EN</div><div class="ttdef"><b>Definition:</b> <a href="a00080_source.html#l01751">fxos8700.h:1751</a></div></div> 322<div class="ttc" id="a00080_html_a8feb5a39a55448c86e0dfc20f53a6c1dab871a4ff4bb96c042507d1142bf1bb6d"><div class="ttname"><a href="a00080.html#a8feb5a39a55448c86e0dfc20f53a6c1dab871a4ff4bb96c042507d1142bf1bb6d">FXOS8700_CTRL_REG1</a></div><div class="ttdef"><b>Definition:</b> <a href="a00080_source.html#l00056">fxos8700.h:56</a></div></div> 323<div class="ttc" id="a00080_html_a9dba657257faf331f0991c8d2b8a5de7"><div class="ttname"><a href="a00080.html#a9dba657257faf331f0991c8d2b8a5de7">FXOS8700_CTRL_REG1_ASLP_RATE_MASK</a></div><div class="ttdeci">#define FXOS8700_CTRL_REG1_ASLP_RATE_MASK</div><div class="ttdef"><b>Definition:</b> <a href="a00080_source.html#l01507">fxos8700.h:1507</a></div></div> 324<div class="ttc" id="a00080_html_a8feb5a39a55448c86e0dfc20f53a6c1dabbf450dd8289876d3736d975ae12e782"><div class="ttname"><a href="a00080.html#a8feb5a39a55448c86e0dfc20f53a6c1dabbf450dd8289876d3736d975ae12e782">FXOS8700_CTRL_REG3</a></div><div class="ttdef"><b>Definition:</b> <a href="a00080_source.html#l00058">fxos8700.h:58</a></div></div> 325<div class="ttc" id="a00080_html_a8feb5a39a55448c86e0dfc20f53a6c1dabe02277bed750f9b3062eddcb056d116"><div class="ttname"><a href="a00080.html#a8feb5a39a55448c86e0dfc20f53a6c1dabe02277bed750f9b3062eddcb056d116">FXOS8700_A_FFMT_THS</a></div><div class="ttdef"><b>Definition:</b> <a href="a00080_source.html#l00041">fxos8700.h:41</a></div></div> 326<div class="ttc" id="a00080_html_a6cd07ab2792e73408f704ae73d3ee077"><div class="ttname"><a href="a00080.html#a6cd07ab2792e73408f704ae73d3ee077">FXOS8700_CTRL_REG2_SLPE_MASK</a></div><div class="ttdeci">#define FXOS8700_CTRL_REG2_SLPE_MASK</div><div class="ttdef"><b>Definition:</b> <a href="a00080_source.html#l01571">fxos8700.h:1571</a></div></div> 327<div class="ttc" id="a00080_html_ab990c279c21f891fbc0222fbbf5e366c"><div class="ttname"><a href="a00080.html#ab990c279c21f891fbc0222fbbf5e366c">FXOS8700_CTRL_REG3_PP_OD_PUSH_PULL</a></div><div class="ttdeci">#define FXOS8700_CTRL_REG3_PP_OD_PUSH_PULL</div><div class="ttdef"><b>Definition:</b> <a href="a00080_source.html#l01681">fxos8700.h:1681</a></div></div> 328<div class="ttc" id="a00080_html_a8a33dd5db08b3953570b29dad844e696"><div class="ttname"><a href="a00080.html#a8a33dd5db08b3953570b29dad844e696">FXOS8700_CTRL_REG5_INT_CFG_ASLP_MASK</a></div><div class="ttdeci">#define FXOS8700_CTRL_REG5_INT_CFG_ASLP_MASK</div><div class="ttdef"><b>Definition:</b> <a href="a00080_source.html#l01805">fxos8700.h:1805</a></div></div> 329<div class="ttc" id="a00080_html_a65e7ea06e97099fdfafcaeb88b6924dd"><div class="ttname"><a href="a00080.html#a65e7ea06e97099fdfafcaeb88b6924dd">FXOS8700_CTRL_REG3_IPOL_MASK</a></div><div class="ttdeci">#define FXOS8700_CTRL_REG3_IPOL_MASK</div><div class="ttdef"><b>Definition:</b> <a href="a00080_source.html#l01632">fxos8700.h:1632</a></div></div> 330<div class="ttc" id="a00080_html_a8feb5a39a55448c86e0dfc20f53a6c1daccbacfb2d5a5ca13bcc5d165ad512e54"><div class="ttname"><a href="a00080.html#a8feb5a39a55448c86e0dfc20f53a6c1daccbacfb2d5a5ca13bcc5d165ad512e54">FXOS8700_CTRL_REG2</a></div><div class="ttdef"><b>Definition:</b> <a href="a00080_source.html#l00057">fxos8700.h:57</a></div></div> 331<div class="ttc" id="a00080_html_a359e9025b66d1dc8be94098285e6cc4f"><div class="ttname"><a href="a00080.html#a359e9025b66d1dc8be94098285e6cc4f">FXOS8700_A_FFMT_THS_THS_MASK</a></div><div class="ttdeci">#define FXOS8700_A_FFMT_THS_THS_MASK</div><div class="ttdef"><b>Definition:</b> <a href="a00080_source.html#l01033">fxos8700.h:1033</a></div></div> 332<div class="ttc" id="a00080_html_a417fd539d73ae437106b69d7a45ae49a"><div class="ttname"><a href="a00080.html#a417fd539d73ae437106b69d7a45ae49a">FXOS8700_CTRL_REG3_WAKE_FFMT_EN</a></div><div class="ttdeci">#define FXOS8700_CTRL_REG3_WAKE_FFMT_EN</div><div class="ttdef"><b>Definition:</b> <a href="a00080_source.html#l01672">fxos8700.h:1672</a></div></div> 333<div class="ttc" id="a00080_html_a11dc5e0d310818490addf314f7f35dfc"><div class="ttname"><a href="a00080.html#a11dc5e0d310818490addf314f7f35dfc">FXOS8700_A_FFMT_CFG_YEFE_MASK</a></div><div class="ttdeci">#define FXOS8700_A_FFMT_CFG_YEFE_MASK</div><div class="ttdef"><b>Definition:</b> <a href="a00080_source.html#l00932">fxos8700.h:932</a></div></div> 334<div class="ttc" id="a00080_html_ab1b964c4fb638fb5eba0217e9a422251"><div class="ttname"><a href="a00080.html#ab1b964c4fb638fb5eba0217e9a422251">FXOS8700_CTRL_REG3_WAKE_FFMT_MASK</a></div><div class="ttdeci">#define FXOS8700_CTRL_REG3_WAKE_FFMT_MASK</div><div class="ttdef"><b>Definition:</b> <a href="a00080_source.html#l01638">fxos8700.h:1638</a></div></div> 335<div class="ttc" id="a00080_html_a8feb5a39a55448c86e0dfc20f53a6c1dac042ebfac33ad9921645ec1f99a9b47e"><div class="ttname"><a href="a00080.html#a8feb5a39a55448c86e0dfc20f53a6c1dac042ebfac33ad9921645ec1f99a9b47e">FXOS8700_ASLP_COUNT</a></div><div class="ttdef"><b>Definition:</b> <a href="a00080_source.html#l00055">fxos8700.h:55</a></div></div> 336<div class="ttc" id="a00080_html_a2e9348f883ca462834be1da82a5f0297"><div class="ttname"><a href="a00080.html#a2e9348f883ca462834be1da82a5f0297">FXOS8700_A_FFMT_CFG_ZEFE_MASK</a></div><div class="ttdeci">#define FXOS8700_A_FFMT_CFG_ZEFE_MASK</div><div class="ttdef"><b>Definition:</b> <a href="a00080_source.html#l00935">fxos8700.h:935</a></div></div> 337<div class="ttc" id="a00080_html_aa143b37000a4849deacb75476cd62c65"><div class="ttname"><a href="a00080.html#aa143b37000a4849deacb75476cd62c65">FXOS8700_CTRL_REG3_IPOL_ACTIVE_HIGH</a></div><div class="ttdeci">#define FXOS8700_CTRL_REG3_IPOL_ACTIVE_HIGH</div><div class="ttdef"><b>Definition:</b> <a href="a00080_source.html#l01680">fxos8700.h:1680</a></div></div> 338<div class="ttc" id="a00080_html_ac0b2a2750f3ae87c19b54e21a347cd03"><div class="ttname"><a href="a00080.html#ac0b2a2750f3ae87c19b54e21a347cd03">FXOS8700_A_FFMT_CFG_XEFE_RAISE_EVENT</a></div><div class="ttdeci">#define FXOS8700_A_FFMT_CFG_XEFE_RAISE_EVENT</div><div class="ttdef"><b>Definition:</b> <a href="a00080_source.html#l00959">fxos8700.h:959</a></div></div> 339</div><!-- fragment --> 340<p>FXOS8700 Motion based Pedometer Register Write List. </p> 341 342<p class="definition">Definition at line <a class="el" href="a00950_source.html#l00047">47</a> of file <a class="el" href="a00950_source.html">pedometer_stepcount_motion_fxos8700.c</a>.</p> 343 344</div> 345</div> 346<a id="abacfa101a1f565df95fd9724c50bbdf8"></a> 347<h2 class="memtitle"><span class="permalink"><a href="#abacfa101a1f565df95fd9724c50bbdf8">◆ </a></span>cFxos8700ConfigDataReady</h2> 348 349<div class="memitem"> 350<div class="memproto"> 351 <table class="memname"> 352 <tr> 353 <td class="memname">const <a class="el" href="a03807.html">registerwritelist_t</a> cFxos8700ConfigDataReady[]</td> 354 </tr> 355 </table> 356</div><div class="memdoc"> 357<b>Initial value:</b><div class="fragment"><div class="line">= {</div><div class="line"> </div><div class="line"> {<a class="code" href="a00080.html#a8feb5a39a55448c86e0dfc20f53a6c1da5fd16571bdc06c0528c421acd0329c51">FXOS8700_CTRL_REG4</a>, <a class="code" href="a00080.html#a064466e42f6f5da5d6f70521f6abe430">FXOS8700_CTRL_REG4_INT_EN_DRDY_EN</a> | <a class="code" href="a00080.html#a68ba8aa85ba3fe0cb0343fa4c97f584a">FXOS8700_CTRL_REG4_INT_EN_ASLP_EN</a>,</div><div class="line"> <a class="code" href="a00080.html#a82dedea7c01e02db3c02b93eddac62c6">FXOS8700_CTRL_REG4_INT_EN_DRDY_MASK</a> | <a class="code" href="a00080.html#a1189a77a74133a30efc29f3b41a3e19b">FXOS8700_CTRL_REG4_INT_EN_ASLP_MASK</a>},</div><div class="line"> </div><div class="line"> {<a class="code" href="a00080.html#a8feb5a39a55448c86e0dfc20f53a6c1da4042c1d2ba5a488da5d3701500c6474f">FXOS8700_CTRL_REG5</a>, <a class="code" href="a00080.html#a1b3ec1c425916458d7004f37503ac900">FXOS8700_CTRL_REG5_INT_CFG_FFMT_INT2</a>, <a class="code" href="a00080.html#a260b36d4c1160e4db0122b0ae24860f8">FXOS8700_CTRL_REG5_INT_CFG_FFMT_MASK</a>},</div><div class="line"> <a class="code" href="a00179.html#a2cedde333a6373a3ee274bde6af145d0">__END_WRITE_DATA__</a>}</div><div class="ttc" id="a00080_html_a064466e42f6f5da5d6f70521f6abe430"><div class="ttname"><a href="a00080.html#a064466e42f6f5da5d6f70521f6abe430">FXOS8700_CTRL_REG4_INT_EN_DRDY_EN</a></div><div class="ttdeci">#define FXOS8700_CTRL_REG4_INT_EN_DRDY_EN</div><div class="ttdef"><b>Definition:</b> <a href="a00080_source.html#l01755">fxos8700.h:1755</a></div></div> 358<div class="ttc" id="a00080_html_a8feb5a39a55448c86e0dfc20f53a6c1da5fd16571bdc06c0528c421acd0329c51"><div class="ttname"><a href="a00080.html#a8feb5a39a55448c86e0dfc20f53a6c1da5fd16571bdc06c0528c421acd0329c51">FXOS8700_CTRL_REG4</a></div><div class="ttdef"><b>Definition:</b> <a href="a00080_source.html#l00059">fxos8700.h:59</a></div></div> 359<div class="ttc" id="a00080_html_a1189a77a74133a30efc29f3b41a3e19b"><div class="ttname"><a href="a00080.html#a1189a77a74133a30efc29f3b41a3e19b">FXOS8700_CTRL_REG4_INT_EN_ASLP_MASK</a></div><div class="ttdeci">#define FXOS8700_CTRL_REG4_INT_EN_ASLP_MASK</div><div class="ttdef"><b>Definition:</b> <a href="a00080_source.html#l01732">fxos8700.h:1732</a></div></div> 360<div class="ttc" id="a00080_html_a260b36d4c1160e4db0122b0ae24860f8"><div class="ttname"><a href="a00080.html#a260b36d4c1160e4db0122b0ae24860f8">FXOS8700_CTRL_REG5_INT_CFG_FFMT_MASK</a></div><div class="ttdeci">#define FXOS8700_CTRL_REG5_INT_CFG_FFMT_MASK</div><div class="ttdef"><b>Definition:</b> <a href="a00080_source.html#l01790">fxos8700.h:1790</a></div></div> 361<div class="ttc" id="a00080_html_a8feb5a39a55448c86e0dfc20f53a6c1da4042c1d2ba5a488da5d3701500c6474f"><div class="ttname"><a href="a00080.html#a8feb5a39a55448c86e0dfc20f53a6c1da4042c1d2ba5a488da5d3701500c6474f">FXOS8700_CTRL_REG5</a></div><div class="ttdef"><b>Definition:</b> <a href="a00080_source.html#l00060">fxos8700.h:60</a></div></div> 362<div class="ttc" id="a00179_html_a2cedde333a6373a3ee274bde6af145d0"><div class="ttname"><a href="a00179.html#a2cedde333a6373a3ee274bde6af145d0">__END_WRITE_DATA__</a></div><div class="ttdeci">#define __END_WRITE_DATA__</div><div class="ttdef"><b>Definition:</b> <a href="a00179_source.html#l00045">sensor_drv.h:45</a></div></div> 363<div class="ttc" id="a00080_html_a82dedea7c01e02db3c02b93eddac62c6"><div class="ttname"><a href="a00080.html#a82dedea7c01e02db3c02b93eddac62c6">FXOS8700_CTRL_REG4_INT_EN_DRDY_MASK</a></div><div class="ttdeci">#define FXOS8700_CTRL_REG4_INT_EN_DRDY_MASK</div><div class="ttdef"><b>Definition:</b> <a href="a00080_source.html#l01711">fxos8700.h:1711</a></div></div> 364<div class="ttc" id="a00080_html_a1b3ec1c425916458d7004f37503ac900"><div class="ttname"><a href="a00080.html#a1b3ec1c425916458d7004f37503ac900">FXOS8700_CTRL_REG5_INT_CFG_FFMT_INT2</a></div><div class="ttdeci">#define FXOS8700_CTRL_REG5_INT_CFG_FFMT_INT2</div><div class="ttdef"><b>Definition:</b> <a href="a00080_source.html#l01822">fxos8700.h:1822</a></div></div> 365<div class="ttc" id="a00080_html_a68ba8aa85ba3fe0cb0343fa4c97f584a"><div class="ttname"><a href="a00080.html#a68ba8aa85ba3fe0cb0343fa4c97f584a">FXOS8700_CTRL_REG4_INT_EN_ASLP_EN</a></div><div class="ttdeci">#define FXOS8700_CTRL_REG4_INT_EN_ASLP_EN</div><div class="ttdef"><b>Definition:</b> <a href="a00080_source.html#l01740">fxos8700.h:1740</a></div></div> 366</div><!-- fragment --> 367<p>FXOS8700 DRDY and ASLP Detect Mode Register Write List. </p> 368 369<p class="definition">Definition at line <a class="el" href="a00950_source.html#l00073">73</a> of file <a class="el" href="a00950_source.html">pedometer_stepcount_motion_fxos8700.c</a>.</p> 370 371</div> 372</div> 373<a id="a98288ae64a9730a61b936b52bf82b45d"></a> 374<h2 class="memtitle"><span class="permalink"><a href="#a98288ae64a9730a61b936b52bf82b45d">◆ </a></span>cFxos8700ConfigMotionDetect</h2> 375 376<div class="memitem"> 377<div class="memproto"> 378 <table class="memname"> 379 <tr> 380 <td class="memname">const <a class="el" href="a03807.html">registerwritelist_t</a> cFxos8700ConfigMotionDetect[]</td> 381 </tr> 382 </table> 383</div><div class="memdoc"> 384<b>Initial value:</b><div class="fragment"><div class="line">= {</div><div class="line"> </div><div class="line"> {<a class="code" href="a00080.html#a8feb5a39a55448c86e0dfc20f53a6c1da5fd16571bdc06c0528c421acd0329c51">FXOS8700_CTRL_REG4</a>, <a class="code" href="a00080.html#a1d1ece383caf796ed4df208b9be65bcc">FXOS8700_CTRL_REG4_INT_EN_DRDY_DIS</a> | <a class="code" href="a00080.html#a576ca5e37ef1f652843df763c3d969aa">FXOS8700_CTRL_REG4_INT_EN_ASLP_DIS</a>,</div><div class="line"> <a class="code" href="a00080.html#a82dedea7c01e02db3c02b93eddac62c6">FXOS8700_CTRL_REG4_INT_EN_DRDY_MASK</a> | <a class="code" href="a00080.html#a1189a77a74133a30efc29f3b41a3e19b">FXOS8700_CTRL_REG4_INT_EN_ASLP_MASK</a>},</div><div class="line"> </div><div class="line"> {<a class="code" href="a00080.html#a8feb5a39a55448c86e0dfc20f53a6c1da4042c1d2ba5a488da5d3701500c6474f">FXOS8700_CTRL_REG5</a>, <a class="code" href="a00080.html#acc5edd867b8c0807c000aacfad4a16af">FXOS8700_CTRL_REG5_INT_CFG_FFMT_INT1</a>, <a class="code" href="a00080.html#a260b36d4c1160e4db0122b0ae24860f8">FXOS8700_CTRL_REG5_INT_CFG_FFMT_MASK</a>},</div><div class="line"> <a class="code" href="a00179.html#a2cedde333a6373a3ee274bde6af145d0">__END_WRITE_DATA__</a>}</div><div class="ttc" id="a00080_html_a8feb5a39a55448c86e0dfc20f53a6c1da5fd16571bdc06c0528c421acd0329c51"><div class="ttname"><a href="a00080.html#a8feb5a39a55448c86e0dfc20f53a6c1da5fd16571bdc06c0528c421acd0329c51">FXOS8700_CTRL_REG4</a></div><div class="ttdef"><b>Definition:</b> <a href="a00080_source.html#l00059">fxos8700.h:59</a></div></div> 385<div class="ttc" id="a00080_html_a1189a77a74133a30efc29f3b41a3e19b"><div class="ttname"><a href="a00080.html#a1189a77a74133a30efc29f3b41a3e19b">FXOS8700_CTRL_REG4_INT_EN_ASLP_MASK</a></div><div class="ttdeci">#define FXOS8700_CTRL_REG4_INT_EN_ASLP_MASK</div><div class="ttdef"><b>Definition:</b> <a href="a00080_source.html#l01732">fxos8700.h:1732</a></div></div> 386<div class="ttc" id="a00080_html_a260b36d4c1160e4db0122b0ae24860f8"><div class="ttname"><a href="a00080.html#a260b36d4c1160e4db0122b0ae24860f8">FXOS8700_CTRL_REG5_INT_CFG_FFMT_MASK</a></div><div class="ttdeci">#define FXOS8700_CTRL_REG5_INT_CFG_FFMT_MASK</div><div class="ttdef"><b>Definition:</b> <a href="a00080_source.html#l01790">fxos8700.h:1790</a></div></div> 387<div class="ttc" id="a00080_html_a8feb5a39a55448c86e0dfc20f53a6c1da4042c1d2ba5a488da5d3701500c6474f"><div class="ttname"><a href="a00080.html#a8feb5a39a55448c86e0dfc20f53a6c1da4042c1d2ba5a488da5d3701500c6474f">FXOS8700_CTRL_REG5</a></div><div class="ttdef"><b>Definition:</b> <a href="a00080_source.html#l00060">fxos8700.h:60</a></div></div> 388<div class="ttc" id="a00080_html_acc5edd867b8c0807c000aacfad4a16af"><div class="ttname"><a href="a00080.html#acc5edd867b8c0807c000aacfad4a16af">FXOS8700_CTRL_REG5_INT_CFG_FFMT_INT1</a></div><div class="ttdeci">#define FXOS8700_CTRL_REG5_INT_CFG_FFMT_INT1</div><div class="ttdef"><b>Definition:</b> <a href="a00080_source.html#l01823">fxos8700.h:1823</a></div></div> 389<div class="ttc" id="a00179_html_a2cedde333a6373a3ee274bde6af145d0"><div class="ttname"><a href="a00179.html#a2cedde333a6373a3ee274bde6af145d0">__END_WRITE_DATA__</a></div><div class="ttdeci">#define __END_WRITE_DATA__</div><div class="ttdef"><b>Definition:</b> <a href="a00179_source.html#l00045">sensor_drv.h:45</a></div></div> 390<div class="ttc" id="a00080_html_a82dedea7c01e02db3c02b93eddac62c6"><div class="ttname"><a href="a00080.html#a82dedea7c01e02db3c02b93eddac62c6">FXOS8700_CTRL_REG4_INT_EN_DRDY_MASK</a></div><div class="ttdeci">#define FXOS8700_CTRL_REG4_INT_EN_DRDY_MASK</div><div class="ttdef"><b>Definition:</b> <a href="a00080_source.html#l01711">fxos8700.h:1711</a></div></div> 391<div class="ttc" id="a00080_html_a1d1ece383caf796ed4df208b9be65bcc"><div class="ttname"><a href="a00080.html#a1d1ece383caf796ed4df208b9be65bcc">FXOS8700_CTRL_REG4_INT_EN_DRDY_DIS</a></div><div class="ttdeci">#define FXOS8700_CTRL_REG4_INT_EN_DRDY_DIS</div><div class="ttdef"><b>Definition:</b> <a href="a00080_source.html#l01754">fxos8700.h:1754</a></div></div> 392<div class="ttc" id="a00080_html_a576ca5e37ef1f652843df763c3d969aa"><div class="ttname"><a href="a00080.html#a576ca5e37ef1f652843df763c3d969aa">FXOS8700_CTRL_REG4_INT_EN_ASLP_DIS</a></div><div class="ttdeci">#define FXOS8700_CTRL_REG4_INT_EN_ASLP_DIS</div><div class="ttdef"><b>Definition:</b> <a href="a00080_source.html#l01739">fxos8700.h:1739</a></div></div> 393</div><!-- fragment --> 394<p>FXOS8700 Motion Detect Mode Register Write List. </p> 395 396<p class="definition">Definition at line <a class="el" href="a00950_source.html#l00064">64</a> of file <a class="el" href="a00950_source.html">pedometer_stepcount_motion_fxos8700.c</a>.</p> 397 398</div> 399</div> 400<a id="a385de261bf1428cde8ac6541237b325a"></a> 401<h2 class="memtitle"><span class="permalink"><a href="#a385de261bf1428cde8ac6541237b325a">◆ </a></span>cFxos8700INTSrc</h2> 402 403<div class="memitem"> 404<div class="memproto"> 405 <table class="memname"> 406 <tr> 407 <td class="memname">const <a class="el" href="a03811.html">registerreadlist_t</a> cFxos8700INTSrc[] = {{.readFrom = <a class="el" href="a00080.html#a8feb5a39a55448c86e0dfc20f53a6c1dad423501ecdc60c836cc4126556886a78">FXOS8700_INT_SOURCE</a>, .numBytes = 1}, <a class="el" href="a00179.html#aebb58a1bb3df30b7df4f6f14d0f1a81d">__END_READ_DATA__</a>}</td> 408 </tr> 409 </table> 410</div><div class="memdoc"> 411 412<p>Address of INT Source Register. </p> 413 414<p class="definition">Definition at line <a class="el" href="a00950_source.html#l00082">82</a> of file <a class="el" href="a00950_source.html">pedometer_stepcount_motion_fxos8700.c</a>.</p> 415 416</div> 417</div> 418<a id="adcfdf6c79f748f2749d0be901930b91d"></a> 419<h2 class="memtitle"><span class="permalink"><a href="#adcfdf6c79f748f2749d0be901930b91d">◆ </a></span>cFxos8700Output</h2> 420 421<div class="memitem"> 422<div class="memproto"> 423 <table class="memname"> 424 <tr> 425 <td class="memname">const <a class="el" href="a03811.html">registerreadlist_t</a> cFxos8700Output[] = {{.readFrom = <a class="el" href="a00080.html#a8feb5a39a55448c86e0dfc20f53a6c1da99804c25ebaf3d129c182072573623c1">FXOS8700_OUT_X_MSB</a>, .numBytes = <a class="el" href="a00950.html#ac565dfc6599c537d2df6f1923b285f1e">FXOS8700_ACCEL_DATA_SIZE</a>}, <a class="el" href="a00179.html#aebb58a1bb3df30b7df4f6f14d0f1a81d">__END_READ_DATA__</a>}</td> 426 </tr> 427 </table> 428</div><div class="memdoc"> 429 430<p>Address of Data Output Registers. </p> 431 432<p class="definition">Definition at line <a class="el" href="a00950_source.html#l00085">85</a> of file <a class="el" href="a00950_source.html">pedometer_stepcount_motion_fxos8700.c</a>.</p> 433 434</div> 435</div> 436<a id="ac8739dded5604790bbe053e9ac11d8ce"></a> 437<h2 class="memtitle"><span class="permalink"><a href="#ac8739dded5604790bbe053e9ac11d8ce">◆ </a></span>cPedoConfig</h2> 438 439<div class="memitem"> 440<div class="memproto"> 441 <table class="memname"> 442 <tr> 443 <td class="memname"><a class="el" href="a04059.html">pedometer_config_t</a> cPedoConfig</td> 444 </tr> 445 </table> 446</div><div class="memdoc"> 447<b>Initial value:</b><div class="fragment"><div class="line">=</div><div class="line">{</div><div class="line"> .sleepcount_threshold = 1,</div><div class="line"> .bits = {.config = 1},</div><div class="line"> .keynetik =</div><div class="line"> {</div><div class="line"> .steplength = 0,</div><div class="line"> .height = 175,</div><div class="line"> .weight = 80,</div><div class="line"> .filtersteps = 1,</div><div class="line"> .bits =</div><div class="line"> {</div><div class="line"> .filtertime = 2, .male = 1,</div><div class="line"> },</div><div class="line"> .speedperiod = 3,</div><div class="line"> .stepthreshold = 0,</div><div class="line"> },</div><div class="line"> .stepcoalesce = 1,</div><div class="line"> .oneG = <a class="code" href="a00956.html#a17d20b7d617372405447c7cbd580017b">PEDO_ONEG_2G</a>,</div><div class="line"> .frequency = 50,</div><div class="line">}</div><div class="ttc" id="a00956_html_a17d20b7d617372405447c7cbd580017b"><div class="ttname"><a href="a00956.html#a17d20b7d617372405447c7cbd580017b">PEDO_ONEG_2G</a></div><div class="ttdeci">#define PEDO_ONEG_2G</div><div class="ttdef"><b>Definition:</b> <a href="a00956_source.html#l00030">pedometer.h:30</a></div></div> 448</div><!-- fragment --> 449<p class="definition">Definition at line <a class="el" href="a00950_source.html#l00096">96</a> of file <a class="el" href="a00950_source.html">pedometer_stepcount_motion_fxos8700.c</a>.</p> 450 451</div> 452</div> 453<a id="a170bd685cd9e5fcb98a00e8d3d76040b"></a> 454<h2 class="memtitle"><span class="permalink"><a href="#a170bd685cd9e5fcb98a00e8d3d76040b">◆ </a></span>gFxos8700EventReady</h2> 455 456<div class="memitem"> 457<div class="memproto"> 458 <table class="memname"> 459 <tr> 460 <td class="memname">volatile bool gFxos8700EventReady = <a class="el" href="a00914.html#a65e9886d74aaee76545e83dd09011727">false</a></td> 461 </tr> 462 </table> 463</div><div class="memdoc"> 464 465<p class="definition">Definition at line <a class="el" href="a00950_source.html#l00093">93</a> of file <a class="el" href="a00950_source.html">pedometer_stepcount_motion_fxos8700.c</a>.</p> 466 467<p class="reference">Referenced by <a class="el" href="a00950_source.html#l00129">fxos8700_int_callback()</a>, and <a class="el" href="a00950_source.html#l00143">main()</a>.</p> 468 469</div> 470</div> 471<a id="a81ba4744a5759e7e84e9af73985cb245"></a> 472<h2 class="memtitle"><span class="permalink"><a href="#a81ba4744a5759e7e84e9af73985cb245">◆ </a></span>pActivity</h2> 473 474<div class="memitem"> 475<div class="memproto"> 476 <table class="memname"> 477 <tr> 478 <td class="memname">const char* pActivity[5] = {"Unknown ", "Rest ", "Walking ", "Jogging ", "Running "}</td> 479 </tr> 480 </table> 481</div><div class="memdoc"> 482 483<p>Pedometer Mode Name Strings. </p> 484 485<p class="definition">Definition at line <a class="el" href="a00950_source.html#l00088">88</a> of file <a class="el" href="a00950_source.html">pedometer_stepcount_motion_fxos8700.c</a>.</p> 486 487<p class="reference">Referenced by <a class="el" href="a00950_source.html#l00143">main()</a>.</p> 488 489</div> 490</div> 491</div><!-- contents --> 492 493<hr class="footer"/><address class="footer"><small> 494© Copyright 2016-2022 NXP. All Rights Reserved. SPDX-License-Identifier: BSD-3-Clause 495</small></address> 496</body> 497</html> 498