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: driverexamples/demos/data_logger_demo.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_63958a0a083234c4c5a126855d7f4594.html">driverexamples</a></li><li class="navelem"><a class="el" href="dir_75b6ec340b7293f2efc92c9371853817.html">demos</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">data_logger_demo.c File Reference</div> </div> 53</div><!--header--> 54<div class="contents"> 55 56<p>The <a class="el" href="a00401.html" title="The data_logger_demo.c file implements the ISSDK Data Logger for RD-KL25-AGMP01 example demonstration...">data_logger_demo.c</a> file implements the ISSDK Data Logger for RD-KL25-AGMP01 example demonstration with one sensor in Interrupt mode and other two in polling mode. MPL3115 is in One-Shot Poll Mode. FXOS8700 is @200Hz Hybrid Poll Mode. FXAS21002 is @200Hz Interrupt Mode. Data from MPL3115, FXOS8700 and FXAS21002 is only read when INT from FXAS21002 is received. The FXAS21002 ODR serves as the application ODR time keeper. 57<a href="#details">More...</a></p> 58<div class="textblock"><code>#include "board.h"</code><br /> 59<code>#include "pin_mux.h"</code><br /> 60<code>#include "clock_config.h"</code><br /> 61<code>#include "Driver_I2C.h"</code><br /> 62<code>#include "Driver_USART.h"</code><br /> 63<code>#include "issdk_hal.h"</code><br /> 64<code>#include "gpio_driver.h"</code><br /> 65<code>#include "<a class="el" href="a00164_source.html">mpl3115_drv.h</a>"</code><br /> 66<code>#include "<a class="el" href="a00086_source.html">fxos8700_drv.h</a>"</code><br /> 67<code>#include "<a class="el" href="a00032_source.html">fxas21002_drv.h</a>"</code><br /> 68<code>#include "<a class="el" href="a00101_source.html">host_io_uart.h</a>"</code><br /> 69<code>#include "<a class="el" href="a00533_source.html">systick_utils.h</a>"</code><br /> 70<code>#include "auto_detection_service.h"</code><br /> 71</div><div class="textblock"><div class="dynheader"> 72Include dependency graph for data_logger_demo.c:</div> 73<div class="dyncontent"> 74<div class="center"><img src="a00402.png" border="0" usemap="#driverexamples_2demos_2data__logger__demo_8c" alt=""/></div> 75<map name="driverexamples_2demos_2data__logger__demo_8c" id="driverexamples_2demos_2data__logger__demo_8c"> 76<area shape="rect" id="node9" href="a00164.html" title="The mpl3115_drv.h file describes the MPL3115 driver interface and structures. " alt="" coords="729,95,835,121"/> 77<area shape="rect" id="node10" href="a00086.html" title="The fxos8700_drv.h file describes the fxos8700 driver interface and structures. " alt="" coords="859,95,967,121"/> 78<area shape="rect" id="node11" href="a00032.html" title="The fxas21002_drv.h file describes the fxas21002 driver interface and structures. ..." alt="" coords="991,95,1106,121"/> 79<area shape="rect" id="node12" href="a00101.html" title="The host_io_uart.h file contains the Host Protocol interface definitions and configuration. " alt="" coords="1130,95,1234,121"/> 80<area shape="rect" id="node13" href="a00533.html" title="ARM Systick Utilities. " alt="" coords="1258,95,1365,121"/> 81</map> 82</div> 83</div> 84<p><a href="a00401_source.html">Go to the source code of this file.</a></p> 85<table class="memberdecls"> 86<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a> 87Macros</h2></td></tr> 88<tr class="memitem:aaec2bec4526fa1512625ee98acb992f3"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="a00401.html#aaec2bec4526fa1512625ee98acb992f3">STREAMING_PKT_TIMESTAMP_LEN</a>   (4)</td></tr> 89<tr class="separator:aaec2bec4526fa1512625ee98acb992f3"><td class="memSeparator" colspan="2"> </td></tr> 90<tr class="memitem:ac565dfc6599c537d2df6f1923b285f1e"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="a00401.html#ac565dfc6599c537d2df6f1923b285f1e">FXOS8700_ACCEL_DATA_SIZE</a>   (6)</td></tr> 91<tr class="separator:ac565dfc6599c537d2df6f1923b285f1e"><td class="memSeparator" colspan="2"> </td></tr> 92<tr class="memitem:a262b947c4b212185d30a50993e503b8f"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="a00401.html#a262b947c4b212185d30a50993e503b8f">FXOS8700_MAG_DATA_SIZE</a>   (6)</td></tr> 93<tr class="separator:a262b947c4b212185d30a50993e503b8f"><td class="memSeparator" colspan="2"> </td></tr> 94<tr class="memitem:adca21c9555f202d7da690af98d1ced7c"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="a00401.html#adca21c9555f202d7da690af98d1ced7c">MPL3115_PADDING_SIZE</a>   (1)</td></tr> 95<tr class="separator:adca21c9555f202d7da690af98d1ced7c"><td class="memSeparator" colspan="2"> </td></tr> 96<tr class="memitem:afe71776d7e6db898e08fb8bc1730ff50"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="a00401.html#afe71776d7e6db898e08fb8bc1730ff50">MPL3115_PRESSURE_DATA_SIZE</a>   (3)</td></tr> 97<tr class="separator:afe71776d7e6db898e08fb8bc1730ff50"><td class="memSeparator" colspan="2"> </td></tr> 98<tr class="memitem:a2317f42f12daeac2c852c837d08fbaae"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="a00401.html#a2317f42f12daeac2c852c837d08fbaae">MPL3115_TEMPERATURE_DATA_SIZE</a>   (2)</td></tr> 99<tr class="separator:a2317f42f12daeac2c852c837d08fbaae"><td class="memSeparator" colspan="2"> </td></tr> 100<tr class="memitem:aa3e0ea916f17ce60e78c52707fdd1745"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="a00401.html#aa3e0ea916f17ce60e78c52707fdd1745">FXOS8700_DATA_SIZE</a>   (<a class="el" href="a00950.html#ac565dfc6599c537d2df6f1923b285f1e">FXOS8700_ACCEL_DATA_SIZE</a> + <a class="el" href="a00401.html#a262b947c4b212185d30a50993e503b8f">FXOS8700_MAG_DATA_SIZE</a>)</td></tr> 101<tr class="separator:aa3e0ea916f17ce60e78c52707fdd1745"><td class="memSeparator" colspan="2"> </td></tr> 102<tr class="memitem:a0d3e1bfce0a0b09a32c27f488dd4226c"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="a00401.html#a0d3e1bfce0a0b09a32c27f488dd4226c">FXAS21002_DATA_SIZE</a>   (<a class="el" href="a00032.html#afc5762f2b0a03cf18974584ed3dcdcd6">FXAS21002_GYRO_DATA_SIZE</a>)</td></tr> 103<tr class="separator:a0d3e1bfce0a0b09a32c27f488dd4226c"><td class="memSeparator" colspan="2"> </td></tr> 104<tr class="memitem:a6cac15be5282beb495b2df840679f6fe"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="a00401.html#a6cac15be5282beb495b2df840679f6fe">MPL3115_DATA_SIZE</a>   (<a class="el" href="a00404.html#afe71776d7e6db898e08fb8bc1730ff50">MPL3115_PRESSURE_DATA_SIZE</a> + <a class="el" href="a00404.html#a2317f42f12daeac2c852c837d08fbaae">MPL3115_TEMPERATURE_DATA_SIZE</a>)</td></tr> 105<tr class="separator:a6cac15be5282beb495b2df840679f6fe"><td class="memSeparator" colspan="2"> </td></tr> 106<tr class="memitem:adab71cf94c8c48971c6349893ff46957"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="a00401.html#adab71cf94c8c48971c6349893ff46957">LED_TOGGLE_RATE</a>   (100)</td></tr> 107<tr class="separator:adab71cf94c8c48971c6349893ff46957"><td class="memSeparator" colspan="2"> </td></tr> 108<tr class="memitem:ad02dd76540fcad6aa2f8413f4e3b7bf8"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="a00401.html#ad02dd76540fcad6aa2f8413f4e3b7bf8">STREAMING_PAYLOAD_LEN</a>   (<a class="el" href="a00404.html#aaec2bec4526fa1512625ee98acb992f3">STREAMING_PKT_TIMESTAMP_LEN</a> + <a class="el" href="a00401.html#aa3e0ea916f17ce60e78c52707fdd1745">FXOS8700_DATA_SIZE</a> + <a class="el" href="a00404.html#a0d3e1bfce0a0b09a32c27f488dd4226c">FXAS21002_DATA_SIZE</a> + <a class="el" href="a04820.html#a6cac15be5282beb495b2df840679f6fe">MPL3115_DATA_SIZE</a> + <a class="el" href="a00404.html#adca21c9555f202d7da690af98d1ced7c">MPL3115_PADDING_SIZE</a>)</td></tr> 109<tr class="separator:ad02dd76540fcad6aa2f8413f4e3b7bf8"><td class="memSeparator" colspan="2"> </td></tr> 110<tr class="memitem:a682cb9274b92ca1a468e066a0e51c3d7"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="a00401.html#a682cb9274b92ca1a468e066a0e51c3d7">STREAMING_PAYLOAD_SHORT_LEN</a>   (<a class="el" href="a00404.html#aaec2bec4526fa1512625ee98acb992f3">STREAMING_PKT_TIMESTAMP_LEN</a> + <a class="el" href="a00401.html#aa3e0ea916f17ce60e78c52707fdd1745">FXOS8700_DATA_SIZE</a> + <a class="el" href="a00404.html#a0d3e1bfce0a0b09a32c27f488dd4226c">FXAS21002_DATA_SIZE</a>)</td></tr> 111<tr class="separator:a682cb9274b92ca1a468e066a0e51c3d7"><td class="memSeparator" colspan="2"> </td></tr> 112<tr class="memitem:a64eaf392696ead1fa3e1852bfe030641"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="a00401.html#a64eaf392696ead1fa3e1852bfe030641">nmi_handler</a>   NMI_Handler</td></tr> 113<tr class="separator:a64eaf392696ead1fa3e1852bfe030641"><td class="memSeparator" colspan="2"> </td></tr> 114<tr class="memitem:adf41b2857036247c970bc8594b6a636a"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="a00401.html#adf41b2857036247c970bc8594b6a636a">APPLICATION_NAME</a>   "Generic Data Logger Demo"</td></tr> 115<tr class="memdesc:adf41b2857036247c970bc8594b6a636a"><td class="mdescLeft"> </td><td class="mdescRight">Unique Name for this application which should match the target GUI pkg name. <a href="#adf41b2857036247c970bc8594b6a636a">More...</a><br /></td></tr> 116<tr class="separator:adf41b2857036247c970bc8594b6a636a"><td class="memSeparator" colspan="2"> </td></tr> 117<tr class="memitem:a6efa9917d91d75dcb9036443bc2483cd"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="a00401.html#a6efa9917d91d75dcb9036443bc2483cd">APPLICATION_VERSION</a>   "2.5"</td></tr> 118<tr class="memdesc:a6efa9917d91d75dcb9036443bc2483cd"><td class="mdescLeft"> </td><td class="mdescRight">Version to distinguish between instances the same application based on target Shield and updates. <a href="#a6efa9917d91d75dcb9036443bc2483cd">More...</a><br /></td></tr> 119<tr class="separator:a6efa9917d91d75dcb9036443bc2483cd"><td class="memSeparator" colspan="2"> </td></tr> 120</table><table class="memberdecls"> 121<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a> 122Functions</h2></td></tr> 123<tr class="memitem:a15d5c4b70985b0101de92a7eda527f28"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="a00401.html#a15d5c4b70985b0101de92a7eda527f28">nmi_handler</a> (void *pUserData)</td></tr> 124<tr class="separator:a15d5c4b70985b0101de92a7eda527f28"><td class="memSeparator" colspan="2"> </td></tr> 125<tr class="memitem:a7af41e09aed09f06d3fd09e026d16a16"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="a00401.html#a7af41e09aed09f06d3fd09e026d16a16">fxas21002_isr</a> (void *pUserData)</td></tr> 126<tr class="separator:a7af41e09aed09f06d3fd09e026d16a16"><td class="memSeparator" colspan="2"> </td></tr> 127<tr class="memitem:a0076d28c9a17cd6908c7b3b0f5c6006c"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="a00401.html#a0076d28c9a17cd6908c7b3b0f5c6006c">process_host_command</a> (uint8_t tag, uint8_t *hostCommand, uint8_t *hostResponse, size_t *hostMsgSize, size_t respBufferSize)</td></tr> 128<tr class="separator:a0076d28c9a17cd6908c7b3b0f5c6006c"><td class="memSeparator" colspan="2"> </td></tr> 129<tr class="memitem:a840291bc02cba5474a4cb46a9b9566fe"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="a00401.html#a840291bc02cba5474a4cb46a9b9566fe">main</a> (void)</td></tr> 130<tr class="memdesc:a840291bc02cba5474a4cb46a9b9566fe"><td class="mdescLeft"> </td><td class="mdescRight">Main function. <a href="#a840291bc02cba5474a4cb46a9b9566fe">More...</a><br /></td></tr> 131<tr class="separator:a840291bc02cba5474a4cb46a9b9566fe"><td class="memSeparator" colspan="2"> </td></tr> 132</table><table class="memberdecls"> 133<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="var-members"></a> 134Variables</h2></td></tr> 135<tr class="memitem:a843458dbaa821012bab17d0e98ed192e"><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="a00401.html#a843458dbaa821012bab17d0e98ed192e">fxos8700_Config_Hybrid</a> []</td></tr> 136<tr class="separator:a843458dbaa821012bab17d0e98ed192e"><td class="memSeparator" colspan="2"> </td></tr> 137<tr class="memitem:aadf2996edcebcd8e7796fceca494edc3"><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="a00401.html#aadf2996edcebcd8e7796fceca494edc3">fxos8700_Output_values</a> []</td></tr> 138<tr class="separator:aadf2996edcebcd8e7796fceca494edc3"><td class="memSeparator" colspan="2"> </td></tr> 139<tr class="memitem:aef4171f75a18c8ab89d0757330820433"><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="a00401.html#aef4171f75a18c8ab89d0757330820433">fxas21002_Config_Isr</a> []</td></tr> 140<tr class="separator:aef4171f75a18c8ab89d0757330820433"><td class="memSeparator" colspan="2"> </td></tr> 141<tr class="memitem:a4104bffa9b4b9dbedbdf40b82ed9c0ce"><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="a00401.html#a4104bffa9b4b9dbedbdf40b82ed9c0ce">fxas21002_Output_Values</a> []</td></tr> 142<tr class="separator:a4104bffa9b4b9dbedbdf40b82ed9c0ce"><td class="memSeparator" colspan="2"> </td></tr> 143<tr class="memitem:acc2aafd6d65396802dfdff930f33d170"><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="a00401.html#acc2aafd6d65396802dfdff930f33d170">cMpl3115SetOST</a> []</td></tr> 144<tr class="memdesc:acc2aafd6d65396802dfdff930f33d170"><td class="mdescLeft"> </td><td class="mdescRight">Register settings for Triggring One-Shot Sampling. <a href="#acc2aafd6d65396802dfdff930f33d170">More...</a><br /></td></tr> 145<tr class="separator:acc2aafd6d65396802dfdff930f33d170"><td class="memSeparator" colspan="2"> </td></tr> 146<tr class="memitem:ac1387d6c31061c3933a1a7315ffeac0f"><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="a00401.html#ac1387d6c31061c3933a1a7315ffeac0f">cMpl3115GetOST</a> [] = {{.readFrom = <a class="el" href="a00158.html#a5e7fba63eebd783231b18f414e8a138fae97689a65dd8c6b5b8b6a1fa495173ff">MPL3115_CTRL_REG1</a>, .numBytes = 1}, <a class="el" href="a00179.html#aebb58a1bb3df30b7df4f6f14d0f1a81d">__END_READ_DATA__</a>}</td></tr> 147<tr class="memdesc:ac1387d6c31061c3933a1a7315ffeac0f"><td class="mdescLeft"> </td><td class="mdescRight">Address of Register containing OST Bit. <a href="#ac1387d6c31061c3933a1a7315ffeac0f">More...</a><br /></td></tr> 148<tr class="separator:ac1387d6c31061c3933a1a7315ffeac0f"><td class="memSeparator" colspan="2"> </td></tr> 149<tr class="memitem:a40c88efde96332c13dc9fc1c404de8d4"><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="a00401.html#a40c88efde96332c13dc9fc1c404de8d4">mpl3115_Output_Values</a> []</td></tr> 150<tr class="memdesc:a40c88efde96332c13dc9fc1c404de8d4"><td class="mdescLeft"> </td><td class="mdescRight">Address and size of Raw Pressure+Temperature Data in Normal Mode. <a href="#a40c88efde96332c13dc9fc1c404de8d4">More...</a><br /></td></tr> 151<tr class="separator:a40c88efde96332c13dc9fc1c404de8d4"><td class="memSeparator" colspan="2"> </td></tr> 152<tr class="memitem:a44681c771b24906b93d52a830b4ec968"><td class="memItemLeft" align="right" valign="top">char </td><td class="memItemRight" valign="bottom"><a class="el" href="a00401.html#a44681c771b24906b93d52a830b4ec968">boardString</a> [<a class="el" href="a04838.html#a4296d0603c5898f7baef119cbfe42858">ADS_MAX_STRING_LENGTH</a>] = {0}</td></tr> 153<tr class="separator:a44681c771b24906b93d52a830b4ec968"><td class="memSeparator" colspan="2"> </td></tr> 154<tr class="memitem:a1c419755be00b2aebbd8d31da9b66142"><td class="memItemLeft" align="right" valign="top">char </td><td class="memItemRight" valign="bottom"><a class="el" href="a00401.html#a1c419755be00b2aebbd8d31da9b66142">shieldString</a> [<a class="el" href="a04838.html#a4296d0603c5898f7baef119cbfe42858">ADS_MAX_STRING_LENGTH</a>] = {0}</td></tr> 155<tr class="separator:a1c419755be00b2aebbd8d31da9b66142"><td class="memSeparator" colspan="2"> </td></tr> 156<tr class="memitem:a70385ff3e0081022336573247e5ecaec"><td class="memItemLeft" align="right" valign="top">char </td><td class="memItemRight" valign="bottom"><a class="el" href="a00401.html#a70385ff3e0081022336573247e5ecaec">embAppName</a> [<a class="el" href="a04838.html#a4296d0603c5898f7baef119cbfe42858">ADS_MAX_STRING_LENGTH</a>] = {0}</td></tr> 157<tr class="separator:a70385ff3e0081022336573247e5ecaec"><td class="memSeparator" colspan="2"> </td></tr> 158<tr class="memitem:aaf56ae4c156374e195890d3459adda93"><td class="memItemLeft" align="right" valign="top">volatile bool </td><td class="memItemRight" valign="bottom"><a class="el" href="a00401.html#aaf56ae4c156374e195890d3459adda93">bStreamingEnabled</a> = <a class="el" href="a00914.html#a65e9886d74aaee76545e83dd09011727">false</a></td></tr> 159<tr class="separator:aaf56ae4c156374e195890d3459adda93"><td class="memSeparator" colspan="2"> </td></tr> 160<tr class="memitem:aa25eb7abfd76b80af3cdd217d71f4f91"><td class="memItemLeft" align="right" valign="top">volatile bool </td><td class="memItemRight" valign="bottom"><a class="el" href="a00401.html#aa25eb7abfd76b80af3cdd217d71f4f91">bFxas21002DataReady</a> = <a class="el" href="a00914.html#a65e9886d74aaee76545e83dd09011727">false</a></td></tr> 161<tr class="separator:aa25eb7abfd76b80af3cdd217d71f4f91"><td class="memSeparator" colspan="2"> </td></tr> 162<tr class="memitem:a5f45d37e01df28e82d1f142c4b05cd14"><td class="memItemLeft" align="right" valign="top">volatile bool </td><td class="memItemRight" valign="bottom"><a class="el" href="a00401.html#a5f45d37e01df28e82d1f142c4b05cd14">bDataLoggerReady</a> = <a class="el" href="a00914.html#a65e9886d74aaee76545e83dd09011727">false</a></td></tr> 163<tr class="separator:a5f45d37e01df28e82d1f142c4b05cd14"><td class="memSeparator" colspan="2"> </td></tr> 164<tr class="memitem:ae69294e40b64a92ce4a1c9636db4118a"><td class="memItemLeft" align="right" valign="top">uint8_t </td><td class="memItemRight" valign="bottom"><a class="el" href="a00401.html#ae69294e40b64a92ce4a1c9636db4118a">gPrimaryStreamID</a></td></tr> 165<tr class="separator:ae69294e40b64a92ce4a1c9636db4118a"><td class="memSeparator" colspan="2"> </td></tr> 166<tr class="memitem:aafa5fcc299fb9a0db111332f5111b7df"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00521.html#a5d7069350a7d7e65686c77a8038f462f">int32_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="a00401.html#aafa5fcc299fb9a0db111332f5111b7df">gSystick</a></td></tr> 167<tr class="separator:aafa5fcc299fb9a0db111332f5111b7df"><td class="memSeparator" colspan="2"> </td></tr> 168<tr class="memitem:ac61bf859f26cd2541c3958bff34e2bda"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a03903.html">GENERIC_DRIVER_GPIO</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="a00401.html#ac61bf859f26cd2541c3958bff34e2bda">pGpioDriver</a> = &<a class="el" href="a04880.html#a2c39f234913855fad752a8f96f245b27">Driver_GPIO_KSDK</a></td></tr> 169<tr class="separator:ac61bf859f26cd2541c3958bff34e2bda"><td class="memSeparator" colspan="2"> </td></tr> 170</table> 171<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2> 172<div class="textblock"><p>The <a class="el" href="a00401.html" title="The data_logger_demo.c file implements the ISSDK Data Logger for RD-KL25-AGMP01 example demonstration...">data_logger_demo.c</a> file implements the ISSDK Data Logger for RD-KL25-AGMP01 example demonstration with one sensor in Interrupt mode and other two in polling mode. MPL3115 is in One-Shot Poll Mode. FXOS8700 is @200Hz Hybrid Poll Mode. FXAS21002 is @200Hz Interrupt Mode. Data from MPL3115, FXOS8700 and FXAS21002 is only read when INT from FXAS21002 is received. The FXAS21002 ODR serves as the application ODR time keeper. </p> 173 174<p class="definition">Definition in file <a class="el" href="a00401_source.html">data_logger_demo.c</a>.</p> 175</div><h2 class="groupheader">Macro Definition Documentation</h2> 176<a id="adf41b2857036247c970bc8594b6a636a"></a> 177<h2 class="memtitle"><span class="permalink"><a href="#adf41b2857036247c970bc8594b6a636a">◆ </a></span>APPLICATION_NAME</h2> 178 179<div class="memitem"> 180<div class="memproto"> 181 <table class="memname"> 182 <tr> 183 <td class="memname">#define APPLICATION_NAME   "Generic Data Logger Demo"</td> 184 </tr> 185 </table> 186</div><div class="memdoc"> 187 188<p>Unique Name for this application which should match the target GUI pkg name. </p> 189 190<p class="definition">Definition at line <a class="el" href="a00401_source.html#l00069">69</a> of file <a class="el" href="a00401_source.html">data_logger_demo.c</a>.</p> 191 192<p class="reference">Referenced by <a class="el" href="a00401_source.html#l00227">main()</a>.</p> 193 194</div> 195</div> 196<a id="a6efa9917d91d75dcb9036443bc2483cd"></a> 197<h2 class="memtitle"><span class="permalink"><a href="#a6efa9917d91d75dcb9036443bc2483cd">◆ </a></span>APPLICATION_VERSION</h2> 198 199<div class="memitem"> 200<div class="memproto"> 201 <table class="memname"> 202 <tr> 203 <td class="memname">#define APPLICATION_VERSION   "2.5"</td> 204 </tr> 205 </table> 206</div><div class="memdoc"> 207 208<p>Version to distinguish between instances the same application based on target Shield and updates. </p> 209 210<p class="definition">Definition at line <a class="el" href="a00401_source.html#l00071">71</a> of file <a class="el" href="a00401_source.html">data_logger_demo.c</a>.</p> 211 212<p class="reference">Referenced by <a class="el" href="a00401_source.html#l00227">main()</a>.</p> 213 214</div> 215</div> 216<a id="a0d3e1bfce0a0b09a32c27f488dd4226c"></a> 217<h2 class="memtitle"><span class="permalink"><a href="#a0d3e1bfce0a0b09a32c27f488dd4226c">◆ </a></span>FXAS21002_DATA_SIZE</h2> 218 219<div class="memitem"> 220<div class="memproto"> 221 <table class="memname"> 222 <tr> 223 <td class="memname">#define FXAS21002_DATA_SIZE   (<a class="el" href="a00032.html#afc5762f2b0a03cf18974584ed3dcdcd6">FXAS21002_GYRO_DATA_SIZE</a>)</td> 224 </tr> 225 </table> 226</div><div class="memdoc"> 227 228<p class="definition">Definition at line <a class="el" href="a00401_source.html#l00056">56</a> of file <a class="el" href="a00401_source.html">data_logger_demo.c</a>.</p> 229 230<p class="reference">Referenced by <a class="el" href="a00401_source.html#l00227">main()</a>.</p> 231 232</div> 233</div> 234<a id="ac565dfc6599c537d2df6f1923b285f1e"></a> 235<h2 class="memtitle"><span class="permalink"><a href="#ac565dfc6599c537d2df6f1923b285f1e">◆ </a></span>FXOS8700_ACCEL_DATA_SIZE</h2> 236 237<div class="memitem"> 238<div class="memproto"> 239 <table class="memname"> 240 <tr> 241 <td class="memname">#define FXOS8700_ACCEL_DATA_SIZE   (6)</td> 242 </tr> 243 </table> 244</div><div class="memdoc"> 245 246<p class="definition">Definition at line <a class="el" href="a00401_source.html#l00049">49</a> of file <a class="el" href="a00401_source.html">data_logger_demo.c</a>.</p> 247 248<p class="reference">Referenced by <a class="el" href="a00401_source.html#l00227">main()</a>.</p> 249 250</div> 251</div> 252<a id="aa3e0ea916f17ce60e78c52707fdd1745"></a> 253<h2 class="memtitle"><span class="permalink"><a href="#aa3e0ea916f17ce60e78c52707fdd1745">◆ </a></span>FXOS8700_DATA_SIZE</h2> 254 255<div class="memitem"> 256<div class="memproto"> 257 <table class="memname"> 258 <tr> 259 <td class="memname">#define FXOS8700_DATA_SIZE   (<a class="el" href="a00950.html#ac565dfc6599c537d2df6f1923b285f1e">FXOS8700_ACCEL_DATA_SIZE</a> + <a class="el" href="a00401.html#a262b947c4b212185d30a50993e503b8f">FXOS8700_MAG_DATA_SIZE</a>)</td> 260 </tr> 261 </table> 262</div><div class="memdoc"> 263 264<p class="definition">Definition at line <a class="el" href="a00401_source.html#l00055">55</a> of file <a class="el" href="a00401_source.html">data_logger_demo.c</a>.</p> 265 266<p class="reference">Referenced by <a class="el" href="a00401_source.html#l00227">main()</a>.</p> 267 268</div> 269</div> 270<a id="a262b947c4b212185d30a50993e503b8f"></a> 271<h2 class="memtitle"><span class="permalink"><a href="#a262b947c4b212185d30a50993e503b8f">◆ </a></span>FXOS8700_MAG_DATA_SIZE</h2> 272 273<div class="memitem"> 274<div class="memproto"> 275 <table class="memname"> 276 <tr> 277 <td class="memname">#define FXOS8700_MAG_DATA_SIZE   (6)</td> 278 </tr> 279 </table> 280</div><div class="memdoc"> 281 282<p class="definition">Definition at line <a class="el" href="a00401_source.html#l00050">50</a> of file <a class="el" href="a00401_source.html">data_logger_demo.c</a>.</p> 283 284</div> 285</div> 286<a id="adab71cf94c8c48971c6349893ff46957"></a> 287<h2 class="memtitle"><span class="permalink"><a href="#adab71cf94c8c48971c6349893ff46957">◆ </a></span>LED_TOGGLE_RATE</h2> 288 289<div class="memitem"> 290<div class="memproto"> 291 <table class="memname"> 292 <tr> 293 <td class="memname">#define LED_TOGGLE_RATE   (100)</td> 294 </tr> 295 </table> 296</div><div class="memdoc"> 297 298<p class="definition">Definition at line <a class="el" href="a00401_source.html#l00060">60</a> of file <a class="el" href="a00401_source.html">data_logger_demo.c</a>.</p> 299 300<p class="reference">Referenced by <a class="el" href="a00401_source.html#l00227">main()</a>.</p> 301 302</div> 303</div> 304<a id="a6cac15be5282beb495b2df840679f6fe"></a> 305<h2 class="memtitle"><span class="permalink"><a href="#a6cac15be5282beb495b2df840679f6fe">◆ </a></span>MPL3115_DATA_SIZE</h2> 306 307<div class="memitem"> 308<div class="memproto"> 309 <table class="memname"> 310 <tr> 311 <td class="memname">#define MPL3115_DATA_SIZE   (<a class="el" href="a00404.html#afe71776d7e6db898e08fb8bc1730ff50">MPL3115_PRESSURE_DATA_SIZE</a> + <a class="el" href="a00404.html#a2317f42f12daeac2c852c837d08fbaae">MPL3115_TEMPERATURE_DATA_SIZE</a>)</td> 312 </tr> 313 </table> 314</div><div class="memdoc"> 315 316<p class="definition">Definition at line <a class="el" href="a00401_source.html#l00057">57</a> of file <a class="el" href="a00401_source.html">data_logger_demo.c</a>.</p> 317 318<p class="reference">Referenced by <a class="el" href="a00401_source.html#l00227">main()</a>.</p> 319 320</div> 321</div> 322<a id="adca21c9555f202d7da690af98d1ced7c"></a> 323<h2 class="memtitle"><span class="permalink"><a href="#adca21c9555f202d7da690af98d1ced7c">◆ </a></span>MPL3115_PADDING_SIZE</h2> 324 325<div class="memitem"> 326<div class="memproto"> 327 <table class="memname"> 328 <tr> 329 <td class="memname">#define MPL3115_PADDING_SIZE   (1)</td> 330 </tr> 331 </table> 332</div><div class="memdoc"> 333 334<p class="definition">Definition at line <a class="el" href="a00401_source.html#l00051">51</a> of file <a class="el" href="a00401_source.html">data_logger_demo.c</a>.</p> 335 336<p class="reference">Referenced by <a class="el" href="a00401_source.html#l00227">main()</a>.</p> 337 338</div> 339</div> 340<a id="afe71776d7e6db898e08fb8bc1730ff50"></a> 341<h2 class="memtitle"><span class="permalink"><a href="#afe71776d7e6db898e08fb8bc1730ff50">◆ </a></span>MPL3115_PRESSURE_DATA_SIZE</h2> 342 343<div class="memitem"> 344<div class="memproto"> 345 <table class="memname"> 346 <tr> 347 <td class="memname">#define MPL3115_PRESSURE_DATA_SIZE   (3)</td> 348 </tr> 349 </table> 350</div><div class="memdoc"> 351 352<p class="definition">Definition at line <a class="el" href="a00401_source.html#l00052">52</a> of file <a class="el" href="a00401_source.html">data_logger_demo.c</a>.</p> 353 354<p class="reference">Referenced by <a class="el" href="a00401_source.html#l00227">main()</a>.</p> 355 356</div> 357</div> 358<a id="a2317f42f12daeac2c852c837d08fbaae"></a> 359<h2 class="memtitle"><span class="permalink"><a href="#a2317f42f12daeac2c852c837d08fbaae">◆ </a></span>MPL3115_TEMPERATURE_DATA_SIZE</h2> 360 361<div class="memitem"> 362<div class="memproto"> 363 <table class="memname"> 364 <tr> 365 <td class="memname">#define MPL3115_TEMPERATURE_DATA_SIZE   (2)</td> 366 </tr> 367 </table> 368</div><div class="memdoc"> 369 370<p class="definition">Definition at line <a class="el" href="a00401_source.html#l00053">53</a> of file <a class="el" href="a00401_source.html">data_logger_demo.c</a>.</p> 371 372</div> 373</div> 374<a id="a64eaf392696ead1fa3e1852bfe030641"></a> 375<h2 class="memtitle"><span class="permalink"><a href="#a64eaf392696ead1fa3e1852bfe030641">◆ </a></span>nmi_handler</h2> 376 377<div class="memitem"> 378<div class="memproto"> 379 <table class="memname"> 380 <tr> 381 <td class="memname">#define nmi_handler   NMI_Handler</td> 382 </tr> 383 </table> 384</div><div class="memdoc"> 385 386<p class="definition">Definition at line <a class="el" href="a00401_source.html#l00066">66</a> of file <a class="el" href="a00401_source.html">data_logger_demo.c</a>.</p> 387 388</div> 389</div> 390<a id="ad02dd76540fcad6aa2f8413f4e3b7bf8"></a> 391<h2 class="memtitle"><span class="permalink"><a href="#ad02dd76540fcad6aa2f8413f4e3b7bf8">◆ </a></span>STREAMING_PAYLOAD_LEN</h2> 392 393<div class="memitem"> 394<div class="memproto"> 395 <table class="memname"> 396 <tr> 397 <td class="memname">#define STREAMING_PAYLOAD_LEN   (<a class="el" href="a00404.html#aaec2bec4526fa1512625ee98acb992f3">STREAMING_PKT_TIMESTAMP_LEN</a> + <a class="el" href="a00401.html#aa3e0ea916f17ce60e78c52707fdd1745">FXOS8700_DATA_SIZE</a> + <a class="el" href="a00404.html#a0d3e1bfce0a0b09a32c27f488dd4226c">FXAS21002_DATA_SIZE</a> + <a class="el" href="a04820.html#a6cac15be5282beb495b2df840679f6fe">MPL3115_DATA_SIZE</a> + <a class="el" href="a00404.html#adca21c9555f202d7da690af98d1ced7c">MPL3115_PADDING_SIZE</a>)</td> 398 </tr> 399 </table> 400</div><div class="memdoc"> 401 402<p class="definition">Definition at line <a class="el" href="a00401_source.html#l00061">61</a> of file <a class="el" href="a00401_source.html">data_logger_demo.c</a>.</p> 403 404<p class="reference">Referenced by <a class="el" href="a00401_source.html#l00227">main()</a>.</p> 405 406</div> 407</div> 408<a id="a682cb9274b92ca1a468e066a0e51c3d7"></a> 409<h2 class="memtitle"><span class="permalink"><a href="#a682cb9274b92ca1a468e066a0e51c3d7">◆ </a></span>STREAMING_PAYLOAD_SHORT_LEN</h2> 410 411<div class="memitem"> 412<div class="memproto"> 413 <table class="memname"> 414 <tr> 415 <td class="memname">#define STREAMING_PAYLOAD_SHORT_LEN   (<a class="el" href="a00404.html#aaec2bec4526fa1512625ee98acb992f3">STREAMING_PKT_TIMESTAMP_LEN</a> + <a class="el" href="a00401.html#aa3e0ea916f17ce60e78c52707fdd1745">FXOS8700_DATA_SIZE</a> + <a class="el" href="a00404.html#a0d3e1bfce0a0b09a32c27f488dd4226c">FXAS21002_DATA_SIZE</a>)</td> 416 </tr> 417 </table> 418</div><div class="memdoc"> 419 420<p class="definition">Definition at line <a class="el" href="a00401_source.html#l00063">63</a> of file <a class="el" href="a00401_source.html">data_logger_demo.c</a>.</p> 421 422<p class="reference">Referenced by <a class="el" href="a00401_source.html#l00227">main()</a>.</p> 423 424</div> 425</div> 426<a id="aaec2bec4526fa1512625ee98acb992f3"></a> 427<h2 class="memtitle"><span class="permalink"><a href="#aaec2bec4526fa1512625ee98acb992f3">◆ </a></span>STREAMING_PKT_TIMESTAMP_LEN</h2> 428 429<div class="memitem"> 430<div class="memproto"> 431 <table class="memname"> 432 <tr> 433 <td class="memname">#define STREAMING_PKT_TIMESTAMP_LEN   (4)</td> 434 </tr> 435 </table> 436</div><div class="memdoc"> 437 438<p class="definition">Definition at line <a class="el" href="a00401_source.html#l00048">48</a> of file <a class="el" href="a00401_source.html">data_logger_demo.c</a>.</p> 439 440<p class="reference">Referenced by <a class="el" href="a00401_source.html#l00227">main()</a>.</p> 441 442</div> 443</div> 444<h2 class="groupheader">Function Documentation</h2> 445<a id="a7af41e09aed09f06d3fd09e026d16a16"></a> 446<h2 class="memtitle"><span class="permalink"><a href="#a7af41e09aed09f06d3fd09e026d16a16">◆ </a></span>fxas21002_isr()</h2> 447 448<div class="memitem"> 449<div class="memproto"> 450 <table class="memname"> 451 <tr> 452 <td class="memname">void fxas21002_isr </td> 453 <td>(</td> 454 <td class="paramtype">void * </td> 455 <td class="paramname"><em>pUserData</em></td><td>)</td> 456 <td></td> 457 </tr> 458 </table> 459</div><div class="memdoc"> 460<p>Set flag to indicate Sensor has signalled data ready. </p> 461 462<p class="definition">Definition at line <a class="el" href="a00401_source.html#l00138">138</a> of file <a class="el" href="a00401_source.html">data_logger_demo.c</a>.</p> 463 464<p class="reference">References <a class="el" href="a00401_source.html#l00123">bFxas21002DataReady</a>.</p> 465 466<p class="reference">Referenced by <a class="el" href="a00401_source.html#l00227">main()</a>.</p> 467<div class="dynheader"> 468Here is the caller graph for this function:</div> 469<div class="dyncontent"> 470<div class="center"><img src="a00401_a7af41e09aed09f06d3fd09e026d16a16_icgraph.png" border="0" usemap="#a00401_a7af41e09aed09f06d3fd09e026d16a16_icgraph" alt=""/></div> 471<map name="a00401_a7af41e09aed09f06d3fd09e026d16a16_icgraph" id="a00401_a7af41e09aed09f06d3fd09e026d16a16_icgraph"> 472<area shape="rect" id="node2" href="a00401.html#a840291bc02cba5474a4cb46a9b9566fe" title="Main function. " alt="" coords="156,5,207,32"/> 473</map> 474</div> 475 476</div> 477</div> 478<a id="a840291bc02cba5474a4cb46a9b9566fe"></a> 479<h2 class="memtitle"><span class="permalink"><a href="#a840291bc02cba5474a4cb46a9b9566fe">◆ </a></span>main()</h2> 480 481<div class="memitem"> 482<div class="memproto"> 483 <table class="memname"> 484 <tr> 485 <td class="memname">int main </td> 486 <td>(</td> 487 <td class="paramtype">void </td> 488 <td class="paramname"></td><td>)</td> 489 <td></td> 490 </tr> 491 </table> 492</div><div class="memdoc"> 493 494<p>Main function. </p> 495<p>Initialize the MCU hardware.</p> 496<p>Initialize INT1 FXAS21002 pin used by RD board</p> 497<p>Initialize GREEN LED pin used by RD board</p> 498<p>Initialize the I2C driver.</p> 499<p>Set the I2C Power mode.</p> 500<p>Set the I2C bus speed.</p> 501<p>Initialize the UART driver.</p> 502<p>Set the UART Power mode.</p> 503<p>Set UART Baud Rate.</p> 504<p>Initialize the MPL3115 sensor driver.</p> 505<p>Initialize the FXOS8700 sensor driver.</p> 506<p>Initialize the FXAS21002 sensor driver.</p> 507<p>Set the task to be executed while waiting for I2C transactions to complete.</p> 508<p>Configure the fxos8700 sensor driver.</p> 509<p>Configure the FXAS21002 sensor driver.</p> 510<p>In One-Shot Mode we do not need to Configure MPL3115, instead we will set OST bit directly.</p> 511<p>Initialize streaming and assign a Stream IDs.</p> 512<p>Clear the data ready flag, it will be set again by the ISR.</p> 513<p>Read the raw sensor data from the fxos8700.</p> 514<p>Read the raw sensor data from the FXAS21002.</p> 515<p>MPL3115 is in One-Shot Mode so we have to trigger acquizition of new sample based on OST bit.</p> 516<p>Read raw sensor data from the MPL3115.</p> 517<p>Populate streaming header. </p> 518 519<p class="definition">Definition at line <a class="el" href="a00401_source.html#l00227">227</a> of file <a class="el" href="a00401_source.html">data_logger_demo.c</a>.</p> 520 521<p class="reference">References <a class="el" href="a00086_source.html#l00056">fxos8700_accelmagdata_t::accel</a>, <a class="el" href="a04832_source.html#l00024">ADS_MAX_STRING_LENGTH</a>, <a class="el" href="a00401_source.html#l00069">APPLICATION_NAME</a>, <a class="el" href="a00401_source.html#l00071">APPLICATION_VERSION</a>, <a class="el" href="a00401_source.html#l00123">bDataLoggerReady</a>, <a class="el" href="a00401_source.html#l00123">bFxas21002DataReady</a>, <a class="el" href="a04292_source.html#l00019">BOARD_BootClockRUN</a>, <a class="el" href="a04166_source.html#l00031">BOARD_DEBUG_UART_BAUDRATE</a>, <a class="el" href="a04823_source.html#l00917">BOARD_RunADS()</a>, <a class="el" href="a00530_source.html#l00064">BOARD_SystickElapsedTime_us()</a>, <a class="el" href="a00530_source.html#l00035">BOARD_SystickEnable()</a>, <a class="el" href="a00401_source.html#l00121">boardString</a>, <a class="el" href="a00401_source.html#l00123">bStreamingEnabled</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="a00164_source.html#l00038">mpl3115_i2c_sensorhandle_t::deviceInfo</a>, <a class="el" href="a00086_source.html#l00046">fxos8700_i2c_sensorhandle_t::deviceInfo</a>, <a class="el" href="a00032_source.html#l00046">fxas21002_i2c_sensorhandle_t::deviceInfo</a>, <a class="el" href="a00401_source.html#l00122">embAppName</a>, <a class="el" href="a00401_source.html#l00056">FXAS21002_DATA_SIZE</a>, <a class="el" href="a00545_source.html#l00032">FXAS21002_I2C_ADDR</a>, <a class="el" href="a00029_source.html#l00267">FXAS21002_I2C_Configure()</a>, <a class="el" href="a00029_source.html#l00228">FXAS21002_I2C_Initialize()</a>, <a class="el" href="a00029_source.html#l00312">FXAS21002_I2C_ReadData()</a>, <a class="el" href="a00029_source.html#l00259">FXAS21002_I2C_SetIdleTask()</a>, <a class="el" href="a00401_source.html#l00138">fxas21002_isr()</a>, <a class="el" href="a00026_source.html#l00402">FXAS21002_WHO_AM_I_WHOAMI_PROD_VALUE</a>, <a class="el" href="a00401_source.html#l00049">FXOS8700_ACCEL_DATA_SIZE</a>, <a class="el" href="a00401_source.html#l00055">FXOS8700_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="a00080_source.html#l00146">FXOS8700_WHO_AM_I_PROD_VALUE</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="a00401_source.html#l00124">gPrimaryStreamID</a>, <a class="el" href="a00401_source.html#l00125">gSystick</a>, <a class="el" href="a00032_source.html#l00056">fxas21002_gyrodata_t::gyro</a>, <a class="el" href="a00101_source.html#l00074">HOST_FORMAT_HDLC</a>, <a class="el" href="a00098_source.html#l00086">Host_IO_Add_ISO_Header()</a>, <a class="el" href="a00098_source.html#l00100">Host_IO_Init()</a>, <a class="el" href="a00098_source.html#l00207">Host_IO_Receive()</a>, <a class="el" href="a00098_source.html#l00136">Host_IO_Send()</a>, <a class="el" href="a00578_source.html#l00093">HOST_S_DRIVER</a>, <a class="el" href="a00578_source.html#l00094">HOST_S_SIGNAL_EVENT</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="a00623_source.html#l00023">INT1_FXAS21002</a>, <a class="el" href="a00521.html#a5d7069350a7d7e65686c77a8038f462f">int32_t()</a>, <a class="el" href="a00623_source.html#l00032">LED_GREEN</a>, <a class="el" href="a00401_source.html#l00060">LED_TOGGLE_RATE</a>, <a class="el" href="a00086_source.html#l00057">fxos8700_accelmagdata_t::mag</a>, <a class="el" href="a00158_source.html#l00849">MPL3115_CTRL_REG1_OST_MASK</a>, <a class="el" href="a00158_source.html#l00870">MPL3115_CTRL_REG1_OST_RESET</a>, <a class="el" href="a00401_source.html#l00057">MPL3115_DATA_SIZE</a>, <a class="el" href="a00545_source.html#l00046">MPL3115_I2C_ADDR</a>, <a class="el" href="a00161_source.html#l00022">MPL3115_I2C_Initialize()</a>, <a class="el" href="a00161_source.html#l00104">MPL3115_I2C_ReadData()</a>, <a class="el" href="a00161_source.html#l00053">MPL3115_I2C_SetIdleTask()</a>, <a class="el" href="a00401_source.html#l00051">MPL3115_PADDING_SIZE</a>, <a class="el" href="a00401_source.html#l00052">MPL3115_PRESSURE_DATA_SIZE</a>, <a class="el" href="a00158_source.html#l00065">MPL3115_WHOAMI_VALUE</a>, <a class="el" href="a00164_source.html#l00039">mpl3115_i2c_sensorhandle_t::pCommDrv</a>, <a class="el" href="a00086_source.html#l00047">fxos8700_i2c_sensorhandle_t::pCommDrv</a>, <a class="el" href="a00032_source.html#l00047">fxas21002_i2c_sensorhandle_t::pCommDrv</a>, <a class="el" href="a00482_source.html#l00041">GENERIC_DRIVER_GPIO::pin_init</a>, <a class="el" href="a00164_source.html#l00048">mpl3115_pressuredata_t::pressure</a>, <a class="el" href="a00401_source.html#l00144">process_host_command()</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="a04337_source.html#l00019">SHIELD_NAME</a>, <a class="el" href="a00401_source.html#l00121">shieldString</a>, <a class="el" href="a00164_source.html#l00041">mpl3115_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="a00359_source.html#l00248">status</a>, <a class="el" href="a00101_source.html#l00025">STREAMING_HEADER_LEN</a>, <a class="el" href="a00401_source.html#l00061">STREAMING_PAYLOAD_LEN</a>, <a class="el" href="a00401_source.html#l00063">STREAMING_PAYLOAD_SHORT_LEN</a>, <a class="el" href="a00401_source.html#l00048">STREAMING_PKT_TIMESTAMP_LEN</a>, <a class="el" href="a00428_source.html#l00174">streamingPacket</a>, <a class="el" href="a00164_source.html#l00049">mpl3115_pressuredata_t::temperature</a>, and <a class="el" href="a00482_source.html#l00048">GENERIC_DRIVER_GPIO::toggle_pin</a>.</p> 522<div class="dynheader"> 523Here is the call graph for this function:</div> 524<div class="dyncontent"> 525<div class="center"><img src="a00401_a840291bc02cba5474a4cb46a9b9566fe_cgraph.png" border="0" usemap="#a00401_a840291bc02cba5474a4cb46a9b9566fe_cgraph" alt=""/></div> 526<map name="a00401_a840291bc02cba5474a4cb46a9b9566fe_cgraph" id="a00401_a840291bc02cba5474a4cb46a9b9566fe_cgraph"> 527<area shape="rect" id="node2" href="a04823.html#a95285f14f6707e326e523c82d926c900" title="The function to register Application Name and initialte ADS. " alt="" coords="149,5,274,32"/> 528<area shape="rect" id="node3" href="a00530.html#a85a32737b730fbb713ec910e1ad17c74" title="Function to compute the Elapsed Time. " alt="" coords="104,56,319,83"/> 529<area shape="rect" id="node4" href="a00530.html#ad43629969994e92bd3620e630bda24c8" title="Function to enable systicks framework. " alt="" coords="132,107,291,133"/> 530<area shape="rect" id="node5" href="a00029.html#abef3b2c3849b49331142f7a6266fde9a" title="The interface function to configure he sensor. " alt="" coords="123,259,300,285"/> 531<area shape="rect" id="node6" href="a00521.html#a5d7069350a7d7e65686c77a8038f462f" title="The interface function to append the data on the formated stream. " alt="" coords="595,411,656,437"/> 532<area shape="rect" id="node7" href="a00182.html#aaac4c4f34b4dd37d3f202a1dbb4b000b" title="Write register data to a sensor. " alt="" coords="393,309,520,336"/> 533<area shape="rect" id="node8" href="a00029.html#a7f37a7feae5b901922063add1aba3bff" title="The interface function to initialize the sensor. " alt="" coords="371,411,542,437"/> 534<area shape="rect" id="node9" href="a00029.html#a2772f78de8e7ae03383d86c47fdb544c" title="The interface function to read the sensor data. " alt="" coords="367,461,547,488"/> 535<area shape="rect" id="node10" href="a00029.html#afc93f0f28efa87fc4d37087683602709" title=": The interface function to set the I2C Idle Task. " alt="" coords="116,816,307,843"/> 536<area shape="rect" id="node11" href="a00401.html#a7af41e09aed09f06d3fd09e026d16a16" title="fxas21002_isr" alt="" coords="160,867,263,893"/> 537<area shape="rect" id="node12" href="a00083.html#adcb4dbaa31a6b4ccd6031ee6cc97bb66" title="The interface function to configure he sensor. " alt="" coords="126,360,297,387"/> 538<area shape="rect" id="node13" href="a00083.html#a17953ccee62fbd698318197b109b9e9f" title="The interface function to initialize the sensor. " alt="" coords="375,512,539,539"/> 539<area shape="rect" id="node14" href="a00083.html#a0528c7633050aa23e89a79106d804cc6" title="The interface function to read the sensor data. " alt="" coords="369,563,544,589"/> 540<area shape="rect" id="node15" href="a00083.html#af4efbd044b09aea215f120856f443caf" title=": The interface function to set the I2C Idle Task. " alt="" coords="119,917,304,944"/> 541<area shape="rect" id="node16" href="a00098.html#a68a2c033a0f6f967149dca76897f5c8a" title="Host_IO_Add_ISO_Header" alt="" coords="123,968,299,995"/> 542<area shape="rect" id="node17" href="a00098.html#ab4b858422bbaae71aff2ab540ae0e2b1" title="Host_IO_Init" alt="" coords="165,1019,258,1045"/> 543<area shape="rect" id="node18" href="a00098.html#a3924d21a0703878695ebdb68f720fff9" title="Host_IO_Receive" alt="" coords="151,715,272,741"/> 544<area shape="rect" id="node19" href="a00401.html#a0076d28c9a17cd6908c7b3b0f5c6006c" title="process_host_command" alt="" coords="375,664,539,691"/> 545<area shape="rect" id="node20" href="a00098.html#a719ad6da4502e713f1573b5353af9617" title="Host_IO_Send" alt="" coords="403,765,510,792"/> 546<area shape="rect" id="node21" href="a00161.html#ae2d3772491a3b10c71ff529382d9a2d2" title="The interface function to initialize the sensor. " alt="" coords="378,613,535,640"/> 547<area shape="rect" id="node22" href="a00161.html#a3ac7e30ac09a6557eebe24bb0c00e16f" title="The interface function to read the sensor data. " alt="" coords="373,157,540,184"/> 548<area shape="rect" id="node23" href="a00161.html#a1744cb8d032f2df40470591ad644c0d2" title=": The interface function to set the I2C Idle Task. " alt="" coords="122,1069,301,1096"/> 549<area shape="rect" id="node24" href="a00638.html#a82cb114bb9a5ea2f235a0216709d70f8" title="Configures the system to VLPR power mode. API name used from Kinetis family to maintain compatibility..." alt="" coords="127,1120,296,1147"/> 550<area shape="rect" id="node25" href="a00638.html#a5423cac017d1d1a8ac8bba8e91e80e29" title="Configures the system to WAIT power mode. API name used from Kinetis family to maintain compatibility..." alt="" coords="125,1171,298,1197"/> 551</map> 552</div> 553 554</div> 555</div> 556<a id="a15d5c4b70985b0101de92a7eda527f28"></a> 557<h2 class="memtitle"><span class="permalink"><a href="#a15d5c4b70985b0101de92a7eda527f28">◆ </a></span>nmi_handler()</h2> 558 559<div class="memitem"> 560<div class="memproto"> 561 <table class="memname"> 562 <tr> 563 <td class="memname">void nmi_handler </td> 564 <td>(</td> 565 <td class="paramtype">void * </td> 566 <td class="paramname"><em>pUserData</em></td><td>)</td> 567 <td></td> 568 </tr> 569 </table> 570</div><div class="memdoc"> 571<p>Handler for NMI Interrupt. </p> 572 573<p class="definition">Definition at line <a class="el" href="a00401_source.html#l00132">132</a> of file <a class="el" href="a00401_source.html">data_logger_demo.c</a>.</p> 574 575</div> 576</div> 577<a id="a0076d28c9a17cd6908c7b3b0f5c6006c"></a> 578<h2 class="memtitle"><span class="permalink"><a href="#a0076d28c9a17cd6908c7b3b0f5c6006c">◆ </a></span>process_host_command()</h2> 579 580<div class="memitem"> 581<div class="memproto"> 582 <table class="memname"> 583 <tr> 584 <td class="memname">bool process_host_command </td> 585 <td>(</td> 586 <td class="paramtype">uint8_t </td> 587 <td class="paramname"><em>tag</em>, </td> 588 </tr> 589 <tr> 590 <td class="paramkey"></td> 591 <td></td> 592 <td class="paramtype">uint8_t * </td> 593 <td class="paramname"><em>hostCommand</em>, </td> 594 </tr> 595 <tr> 596 <td class="paramkey"></td> 597 <td></td> 598 <td class="paramtype">uint8_t * </td> 599 <td class="paramname"><em>hostResponse</em>, </td> 600 </tr> 601 <tr> 602 <td class="paramkey"></td> 603 <td></td> 604 <td class="paramtype">size_t * </td> 605 <td class="paramname"><em>hostMsgSize</em>, </td> 606 </tr> 607 <tr> 608 <td class="paramkey"></td> 609 <td></td> 610 <td class="paramtype">size_t </td> 611 <td class="paramname"><em>respBufferSize</em> </td> 612 </tr> 613 <tr> 614 <td></td> 615 <td>)</td> 616 <td></td><td></td> 617 </tr> 618 </table> 619</div><div class="memdoc"> 620 621<p class="definition">Definition at line <a class="el" href="a00401_source.html#l00144">144</a> of file <a class="el" href="a00401_source.html">data_logger_demo.c</a>.</p> 622 623<p class="reference">References <a class="el" href="a00401_source.html#l00123">bDataLoggerReady</a>, <a class="el" href="a00530_source.html#l00044">BOARD_SystickStart()</a>, <a class="el" href="a00401_source.html#l00121">boardString</a>, <a class="el" href="a00401_source.html#l00123">bStreamingEnabled</a>, <a class="el" href="a00482_source.html#l00047">GENERIC_DRIVER_GPIO::clr_pin</a>, <a class="el" href="a00401_source.html#l00122">embAppName</a>, <a class="el" href="a00401_source.html#l00124">gPrimaryStreamID</a>, <a class="el" href="a00401_source.html#l00125">gSystick</a>, <a class="el" href="a00101_source.html#l00102">HOST_CMD_START</a>, <a class="el" href="a00101_source.html#l00103">HOST_CMD_STOP</a>, <a class="el" href="a00101_source.html#l00086">HOST_MSG_CMD_ACT_OFFSET</a>, <a class="el" href="a00101_source.html#l00084">HOST_MSG_LEN_LSB_OFFSET</a>, <a class="el" href="a00101_source.html#l00063">HOST_PRO_CMD_W_CFG_TAG</a>, <a class="el" href="a00101_source.html#l00057">HOST_PRO_INT_CMD_TAG</a>, <a class="el" href="a00101_source.html#l00059">HOST_PRO_INT_DEV_TAG</a>, <a class="el" href="a00623_source.html#l00032">LED_GREEN</a>, and <a class="el" href="a00401_source.html#l00121">shieldString</a>.</p> 624 625<p class="reference">Referenced by <a class="el" href="a00098_source.html#l00207">Host_IO_Receive()</a>, and <a class="el" href="a00401_source.html#l00227">main()</a>.</p> 626<div class="dynheader"> 627Here is the call graph for this function:</div> 628<div class="dyncontent"> 629<div class="center"><img src="a00401_a0076d28c9a17cd6908c7b3b0f5c6006c_cgraph.png" border="0" usemap="#a00401_a0076d28c9a17cd6908c7b3b0f5c6006c_cgraph" alt=""/></div> 630<map name="a00401_a0076d28c9a17cd6908c7b3b0f5c6006c_cgraph" id="a00401_a0076d28c9a17cd6908c7b3b0f5c6006c_cgraph"> 631<area shape="rect" id="node2" href="a00530.html#ac4471deeef0c2a93b7d4263259b0ed63" title="Function to Record the Start systick. " alt="" coords="217,5,364,32"/> 632</map> 633</div> 634<div class="dynheader"> 635Here is the caller graph for this function:</div> 636<div class="dyncontent"> 637<div class="center"><img src="a00401_a0076d28c9a17cd6908c7b3b0f5c6006c_icgraph.png" border="0" usemap="#a00401_a0076d28c9a17cd6908c7b3b0f5c6006c_icgraph" alt=""/></div> 638<map name="a00401_a0076d28c9a17cd6908c7b3b0f5c6006c_icgraph" id="a00401_a0076d28c9a17cd6908c7b3b0f5c6006c_icgraph"> 639<area shape="rect" id="node2" href="a00101.html#a3924d21a0703878695ebdb68f720fff9" title="Host_IO_Receive" alt="" coords="217,5,339,32"/> 640<area shape="rect" id="node3" href="a00401.html#a840291bc02cba5474a4cb46a9b9566fe" title="Main function. " alt="" coords="387,31,437,57"/> 641</map> 642</div> 643 644</div> 645</div> 646<h2 class="groupheader">Variable Documentation</h2> 647<a id="a5f45d37e01df28e82d1f142c4b05cd14"></a> 648<h2 class="memtitle"><span class="permalink"><a href="#a5f45d37e01df28e82d1f142c4b05cd14">◆ </a></span>bDataLoggerReady</h2> 649 650<div class="memitem"> 651<div class="memproto"> 652 <table class="memname"> 653 <tr> 654 <td class="memname">volatile bool bDataLoggerReady = <a class="el" href="a00914.html#a65e9886d74aaee76545e83dd09011727">false</a></td> 655 </tr> 656 </table> 657</div><div class="memdoc"> 658 659<p class="definition">Definition at line <a class="el" href="a00401_source.html#l00123">123</a> of file <a class="el" href="a00401_source.html">data_logger_demo.c</a>.</p> 660 661<p class="reference">Referenced by <a class="el" href="a00401_source.html#l00227">main()</a>, and <a class="el" href="a00401_source.html#l00144">process_host_command()</a>.</p> 662 663</div> 664</div> 665<a id="aa25eb7abfd76b80af3cdd217d71f4f91"></a> 666<h2 class="memtitle"><span class="permalink"><a href="#aa25eb7abfd76b80af3cdd217d71f4f91">◆ </a></span>bFxas21002DataReady</h2> 667 668<div class="memitem"> 669<div class="memproto"> 670 <table class="memname"> 671 <tr> 672 <td class="memname">volatile bool bFxas21002DataReady = <a class="el" href="a00914.html#a65e9886d74aaee76545e83dd09011727">false</a></td> 673 </tr> 674 </table> 675</div><div class="memdoc"> 676 677<p class="definition">Definition at line <a class="el" href="a00401_source.html#l00123">123</a> of file <a class="el" href="a00401_source.html">data_logger_demo.c</a>.</p> 678 679<p class="reference">Referenced by <a class="el" href="a00401_source.html#l00138">fxas21002_isr()</a>, and <a class="el" href="a00401_source.html#l00227">main()</a>.</p> 680 681</div> 682</div> 683<a id="a44681c771b24906b93d52a830b4ec968"></a> 684<h2 class="memtitle"><span class="permalink"><a href="#a44681c771b24906b93d52a830b4ec968">◆ </a></span>boardString</h2> 685 686<div class="memitem"> 687<div class="memproto"> 688 <table class="memname"> 689 <tr> 690 <td class="memname">char boardString[<a class="el" href="a04838.html#a4296d0603c5898f7baef119cbfe42858">ADS_MAX_STRING_LENGTH</a>] = {0}</td> 691 </tr> 692 </table> 693</div><div class="memdoc"> 694 695<p class="definition">Definition at line <a class="el" href="a00401_source.html#l00121">121</a> of file <a class="el" href="a00401_source.html">data_logger_demo.c</a>.</p> 696 697<p class="reference">Referenced by <a class="el" href="a00401_source.html#l00227">main()</a>, and <a class="el" href="a00401_source.html#l00144">process_host_command()</a>.</p> 698 699</div> 700</div> 701<a id="aaf56ae4c156374e195890d3459adda93"></a> 702<h2 class="memtitle"><span class="permalink"><a href="#aaf56ae4c156374e195890d3459adda93">◆ </a></span>bStreamingEnabled</h2> 703 704<div class="memitem"> 705<div class="memproto"> 706 <table class="memname"> 707 <tr> 708 <td class="memname">volatile bool bStreamingEnabled = <a class="el" href="a00914.html#a65e9886d74aaee76545e83dd09011727">false</a></td> 709 </tr> 710 </table> 711</div><div class="memdoc"> 712 713<p class="definition">Definition at line <a class="el" href="a00401_source.html#l00123">123</a> of file <a class="el" href="a00401_source.html">data_logger_demo.c</a>.</p> 714 715<p class="reference">Referenced by <a class="el" href="a00401_source.html#l00227">main()</a>, and <a class="el" href="a00401_source.html#l00144">process_host_command()</a>.</p> 716 717</div> 718</div> 719<a id="ac1387d6c31061c3933a1a7315ffeac0f"></a> 720<h2 class="memtitle"><span class="permalink"><a href="#ac1387d6c31061c3933a1a7315ffeac0f">◆ </a></span>cMpl3115GetOST</h2> 721 722<div class="memitem"> 723<div class="memproto"> 724 <table class="memname"> 725 <tr> 726 <td class="memname">const <a class="el" href="a03811.html">registerreadlist_t</a> cMpl3115GetOST[] = {{.readFrom = <a class="el" href="a00158.html#a5e7fba63eebd783231b18f414e8a138fae97689a65dd8c6b5b8b6a1fa495173ff">MPL3115_CTRL_REG1</a>, .numBytes = 1}, <a class="el" href="a00179.html#aebb58a1bb3df30b7df4f6f14d0f1a81d">__END_READ_DATA__</a>}</td> 727 </tr> 728 </table> 729</div><div class="memdoc"> 730 731<p>Address of Register containing OST Bit. </p> 732 733<p class="definition">Definition at line <a class="el" href="a00401_source.html#l00112">112</a> of file <a class="el" href="a00401_source.html">data_logger_demo.c</a>.</p> 734 735</div> 736</div> 737<a id="acc2aafd6d65396802dfdff930f33d170"></a> 738<h2 class="memtitle"><span class="permalink"><a href="#acc2aafd6d65396802dfdff930f33d170">◆ </a></span>cMpl3115SetOST</h2> 739 740<div class="memitem"> 741<div class="memproto"> 742 <table class="memname"> 743 <tr> 744 <td class="memname">const <a class="el" href="a03807.html">registerwritelist_t</a> cMpl3115SetOST[]</td> 745 </tr> 746 </table> 747</div><div class="memdoc"> 748<b>Initial value:</b><div class="fragment"><div class="line">= {</div><div class="line"> </div><div class="line"> {<a class="code" href="a00158.html#a5e7fba63eebd783231b18f414e8a138fae97689a65dd8c6b5b8b6a1fa495173ff">MPL3115_CTRL_REG1</a>, <a class="code" href="a00158.html#ae7779443a088a9a6a089224d9a6889fd">MPL3115_CTRL_REG1_OST_SET</a>, <a class="code" href="a00158.html#ac6679c4b648df6b80727094040169499">MPL3115_CTRL_REG1_OST_MASK</a>},</div><div class="line"> <a class="code" href="a00179.html#a2cedde333a6373a3ee274bde6af145d0">__END_WRITE_DATA__</a>}</div><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> 749<div class="ttc" id="a00158_html_a5e7fba63eebd783231b18f414e8a138fae97689a65dd8c6b5b8b6a1fa495173ff"><div class="ttname"><a href="a00158.html#a5e7fba63eebd783231b18f414e8a138fae97689a65dd8c6b5b8b6a1fa495173ff">MPL3115_CTRL_REG1</a></div><div class="ttdef"><b>Definition:</b> <a href="a00158_source.html#l00054">mpl3115.h:54</a></div></div> 750<div class="ttc" id="a00158_html_ac6679c4b648df6b80727094040169499"><div class="ttname"><a href="a00158.html#ac6679c4b648df6b80727094040169499">MPL3115_CTRL_REG1_OST_MASK</a></div><div class="ttdeci">#define MPL3115_CTRL_REG1_OST_MASK</div><div class="ttdef"><b>Definition:</b> <a href="a00158_source.html#l00849">mpl3115.h:849</a></div></div> 751<div class="ttc" id="a00158_html_ae7779443a088a9a6a089224d9a6889fd"><div class="ttname"><a href="a00158.html#ae7779443a088a9a6a089224d9a6889fd">MPL3115_CTRL_REG1_OST_SET</a></div><div class="ttdeci">#define MPL3115_CTRL_REG1_OST_SET</div><div class="ttdef"><b>Definition:</b> <a href="a00158_source.html#l00871">mpl3115.h:871</a></div></div> 752</div><!-- fragment --> 753<p>Register settings for Triggring One-Shot Sampling. </p> 754 755<p class="definition">Definition at line <a class="el" href="a00401_source.html#l00106">106</a> of file <a class="el" href="a00401_source.html">data_logger_demo.c</a>.</p> 756 757</div> 758</div> 759<a id="a70385ff3e0081022336573247e5ecaec"></a> 760<h2 class="memtitle"><span class="permalink"><a href="#a70385ff3e0081022336573247e5ecaec">◆ </a></span>embAppName</h2> 761 762<div class="memitem"> 763<div class="memproto"> 764 <table class="memname"> 765 <tr> 766 <td class="memname">char embAppName[<a class="el" href="a04838.html#a4296d0603c5898f7baef119cbfe42858">ADS_MAX_STRING_LENGTH</a>] = {0}</td> 767 </tr> 768 </table> 769</div><div class="memdoc"> 770 771<p class="definition">Definition at line <a class="el" href="a00401_source.html#l00122">122</a> of file <a class="el" href="a00401_source.html">data_logger_demo.c</a>.</p> 772 773<p class="reference">Referenced by <a class="el" href="a00401_source.html#l00227">main()</a>, and <a class="el" href="a00401_source.html#l00144">process_host_command()</a>.</p> 774 775</div> 776</div> 777<a id="aef4171f75a18c8ab89d0757330820433"></a> 778<h2 class="memtitle"><span class="permalink"><a href="#aef4171f75a18c8ab89d0757330820433">◆ </a></span>fxas21002_Config_Isr</h2> 779 780<div class="memitem"> 781<div class="memproto"> 782 <table class="memname"> 783 <tr> 784 <td class="memname">const <a class="el" href="a03807.html">registerwritelist_t</a> fxas21002_Config_Isr[]</td> 785 </tr> 786 </table> 787</div><div class="memdoc"> 788<b>Initial value:</b><div class="fragment"><div class="line">= {</div><div class="line"> </div><div class="line"> {<a class="code" href="a00026.html#af9bdc3014f3d54c426b6d2df10de4960ad939828458795636669a334549deb39d">FXAS21002_CTRL_REG1</a>, <a class="code" href="a00026.html#af03a13695b09fd886c8329dbaf798487">FXAS21002_CTRL_REG1_DR_200HZ</a>, <a class="code" href="a00026.html#a6b1a60ba05ee64d886b13279a862a0ae">FXAS21002_CTRL_REG1_DR_MASK</a>},</div><div class="line"> </div><div class="line"> {<a class="code" href="a00026.html#af9bdc3014f3d54c426b6d2df10de4960acdfe397c887c3b2161b152e706236178">FXAS21002_CTRL_REG2</a>, <a class="code" href="a00026.html#a602c25753f6304e60aa97e3d2d7122e8">FXAS21002_CTRL_REG2_IPOL_ACTIVE_HIGH</a> | <a class="code" href="a00026.html#a61c0f60dd5458b6854c60fcdbf61a6c3">FXAS21002_CTRL_REG2_INT_EN_DRDY_ENABLE</a> |</div><div class="line"> <a class="code" href="a00026.html#a61c1cef25a29196f2ac363b30f00842e">FXAS21002_CTRL_REG2_INT_CFG_DRDY_INT1</a>,</div><div class="line"> <a class="code" href="a00026.html#ac6d35b3bf81774e2861417e343022136">FXAS21002_CTRL_REG2_IPOL_MASK</a> | <a class="code" href="a00026.html#afb41c4f0f3fe4514995f81b87f993d64">FXAS21002_CTRL_REG2_INT_EN_DRDY_MASK</a> | <a class="code" href="a00026.html#a1f4718aee93fb02404cdeaa2a80448cf">FXAS21002_CTRL_REG2_INT_CFG_DRDY_MASK</a>},</div><div class="line"> <a class="code" href="a00179.html#a2cedde333a6373a3ee274bde6af145d0">__END_WRITE_DATA__</a>}</div><div class="ttc" id="a00026_html_a61c0f60dd5458b6854c60fcdbf61a6c3"><div class="ttname"><a href="a00026.html#a61c0f60dd5458b6854c60fcdbf61a6c3">FXAS21002_CTRL_REG2_INT_EN_DRDY_ENABLE</a></div><div class="ttdeci">#define FXAS21002_CTRL_REG2_INT_EN_DRDY_ENABLE</div><div class="ttdef"><b>Definition:</b> <a href="a00026_source.html#l00783">fxas21002.h:783</a></div></div> 789<div class="ttc" id="a00026_html_a61c1cef25a29196f2ac363b30f00842e"><div class="ttname"><a href="a00026.html#a61c1cef25a29196f2ac363b30f00842e">FXAS21002_CTRL_REG2_INT_CFG_DRDY_INT1</a></div><div class="ttdeci">#define FXAS21002_CTRL_REG2_INT_CFG_DRDY_INT1</div><div class="ttdef"><b>Definition:</b> <a href="a00026_source.html#l00786">fxas21002.h:786</a></div></div> 790<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> 791<div class="ttc" id="a00026_html_afb41c4f0f3fe4514995f81b87f993d64"><div class="ttname"><a href="a00026.html#afb41c4f0f3fe4514995f81b87f993d64">FXAS21002_CTRL_REG2_INT_EN_DRDY_MASK</a></div><div class="ttdeci">#define FXAS21002_CTRL_REG2_INT_EN_DRDY_MASK</div><div class="ttdef"><b>Definition:</b> <a href="a00026_source.html#l00757">fxas21002.h:757</a></div></div> 792<div class="ttc" id="a00026_html_af9bdc3014f3d54c426b6d2df10de4960acdfe397c887c3b2161b152e706236178"><div class="ttname"><a href="a00026.html#af9bdc3014f3d54c426b6d2df10de4960acdfe397c887c3b2161b152e706236178">FXAS21002_CTRL_REG2</a></div><div class="ttdef"><b>Definition:</b> <a href="a00026_source.html#l00047">fxas21002.h:47</a></div></div> 793<div class="ttc" id="a00026_html_ac6d35b3bf81774e2861417e343022136"><div class="ttname"><a href="a00026.html#ac6d35b3bf81774e2861417e343022136">FXAS21002_CTRL_REG2_IPOL_MASK</a></div><div class="ttdeci">#define FXAS21002_CTRL_REG2_IPOL_MASK</div><div class="ttdef"><b>Definition:</b> <a href="a00026_source.html#l00754">fxas21002.h:754</a></div></div> 794<div class="ttc" id="a00026_html_a602c25753f6304e60aa97e3d2d7122e8"><div class="ttname"><a href="a00026.html#a602c25753f6304e60aa97e3d2d7122e8">FXAS21002_CTRL_REG2_IPOL_ACTIVE_HIGH</a></div><div class="ttdeci">#define FXAS21002_CTRL_REG2_IPOL_ACTIVE_HIGH</div><div class="ttdef"><b>Definition:</b> <a href="a00026_source.html#l00782">fxas21002.h:782</a></div></div> 795<div class="ttc" id="a00026_html_af9bdc3014f3d54c426b6d2df10de4960ad939828458795636669a334549deb39d"><div class="ttname"><a href="a00026.html#af9bdc3014f3d54c426b6d2df10de4960ad939828458795636669a334549deb39d">FXAS21002_CTRL_REG1</a></div><div class="ttdef"><b>Definition:</b> <a href="a00026_source.html#l00046">fxas21002.h:46</a></div></div> 796<div class="ttc" id="a00026_html_a6b1a60ba05ee64d886b13279a862a0ae"><div class="ttname"><a href="a00026.html#a6b1a60ba05ee64d886b13279a862a0ae">FXAS21002_CTRL_REG1_DR_MASK</a></div><div class="ttdeci">#define FXAS21002_CTRL_REG1_DR_MASK</div><div class="ttdef"><b>Definition:</b> <a href="a00026_source.html#l00684">fxas21002.h:684</a></div></div> 797<div class="ttc" id="a00026_html_af03a13695b09fd886c8329dbaf798487"><div class="ttname"><a href="a00026.html#af03a13695b09fd886c8329dbaf798487">FXAS21002_CTRL_REG1_DR_200HZ</a></div><div class="ttdeci">#define FXAS21002_CTRL_REG1_DR_200HZ</div><div class="ttdef"><b>Definition:</b> <a href="a00026_source.html#l00706">fxas21002.h:706</a></div></div> 798<div class="ttc" id="a00026_html_a1f4718aee93fb02404cdeaa2a80448cf"><div class="ttname"><a href="a00026.html#a1f4718aee93fb02404cdeaa2a80448cf">FXAS21002_CTRL_REG2_INT_CFG_DRDY_MASK</a></div><div class="ttdeci">#define FXAS21002_CTRL_REG2_INT_CFG_DRDY_MASK</div><div class="ttdef"><b>Definition:</b> <a href="a00026_source.html#l00760">fxas21002.h:760</a></div></div> 799</div><!-- fragment --><p>Prepare the register write list to configure FXAS21002 in Interrupt Mode. </p> 800 801<p class="definition">Definition at line <a class="el" href="a00401_source.html#l00092">92</a> of file <a class="el" href="a00401_source.html">data_logger_demo.c</a>.</p> 802 803</div> 804</div> 805<a id="a4104bffa9b4b9dbedbdf40b82ed9c0ce"></a> 806<h2 class="memtitle"><span class="permalink"><a href="#a4104bffa9b4b9dbedbdf40b82ed9c0ce">◆ </a></span>fxas21002_Output_Values</h2> 807 808<div class="memitem"> 809<div class="memproto"> 810 <table class="memname"> 811 <tr> 812 <td class="memname">const <a class="el" href="a03811.html">registerreadlist_t</a> fxas21002_Output_Values[]</td> 813 </tr> 814 </table> 815</div><div class="memdoc"> 816<b>Initial value:</b><div class="fragment"><div class="line">= {</div><div class="line"> {.readFrom = <a class="code" href="a00026.html#af9bdc3014f3d54c426b6d2df10de4960ace58cd4daacb9bb55fe1e0efd0ae29ef">FXAS21002_OUT_X_MSB</a>, .numBytes = <a class="code" href="a00401.html#a0d3e1bfce0a0b09a32c27f488dd4226c">FXAS21002_DATA_SIZE</a>}, <a class="code" href="a00179.html#aebb58a1bb3df30b7df4f6f14d0f1a81d">__END_READ_DATA__</a>}</div><div class="ttc" id="a00026_html_af9bdc3014f3d54c426b6d2df10de4960ace58cd4daacb9bb55fe1e0efd0ae29ef"><div class="ttname"><a href="a00026.html#af9bdc3014f3d54c426b6d2df10de4960ace58cd4daacb9bb55fe1e0efd0ae29ef">FXAS21002_OUT_X_MSB</a></div><div class="ttdef"><b>Definition:</b> <a href="a00026_source.html#l00028">fxas21002.h:28</a></div></div> 817<div class="ttc" id="a00179_html_aebb58a1bb3df30b7df4f6f14d0f1a81d"><div class="ttname"><a href="a00179.html#aebb58a1bb3df30b7df4f6f14d0f1a81d">__END_READ_DATA__</a></div><div class="ttdeci">#define __END_READ_DATA__</div><div class="ttdef"><b>Definition:</b> <a href="a00179_source.html#l00051">sensor_drv.h:51</a></div></div> 818<div class="ttc" id="a00401_html_a0d3e1bfce0a0b09a32c27f488dd4226c"><div class="ttname"><a href="a00401.html#a0d3e1bfce0a0b09a32c27f488dd4226c">FXAS21002_DATA_SIZE</a></div><div class="ttdeci">#define FXAS21002_DATA_SIZE</div><div class="ttdef"><b>Definition:</b> <a href="a00401_source.html#l00056">data_logger_demo.c:56</a></div></div> 819</div><!-- fragment --><p>Prepare the register read list to read the raw gyro data from the FXAS21002. </p> 820 821<p class="definition">Definition at line <a class="el" href="a00401_source.html#l00102">102</a> of file <a class="el" href="a00401_source.html">data_logger_demo.c</a>.</p> 822 823</div> 824</div> 825<a id="a843458dbaa821012bab17d0e98ed192e"></a> 826<h2 class="memtitle"><span class="permalink"><a href="#a843458dbaa821012bab17d0e98ed192e">◆ </a></span>fxos8700_Config_Hybrid</h2> 827 828<div class="memitem"> 829<div class="memproto"> 830 <table class="memname"> 831 <tr> 832 <td class="memname">const <a class="el" href="a03807.html">registerwritelist_t</a> fxos8700_Config_Hybrid[]</td> 833 </tr> 834 </table> 835</div><div class="memdoc"> 836<b>Initial value:</b><div class="fragment"><div class="line">= {</div><div class="line"> </div><div class="line"> </div><div class="line"> {<a class="code" href="a00080.html#a8feb5a39a55448c86e0dfc20f53a6c1dab871a4ff4bb96c042507d1142bf1bb6d">FXOS8700_CTRL_REG1</a>, <a class="code" href="a00080.html#a5f010d70bc0d96749ba41baa0f5a8e0e">FXOS8700_CTRL_REG1_DR_HYBRID_200_HZ</a>, <a class="code" href="a00080.html#a5ba8c0c0813375f895bc2312d44f30b7">FXOS8700_CTRL_REG1_DR_MASK</a>},</div><div class="line"> {<a class="code" href="a00080.html#a8feb5a39a55448c86e0dfc20f53a6c1da6abb5ce7016e6812b2b26345b9e8633b">FXOS8700_M_CTRL_REG1</a>, <a class="code" href="a00080.html#a48b25f7e80e8aaa67ca9b0f06305196b">FXOS8700_M_CTRL_REG1_M_ACAL_EN</a> | <a class="code" href="a00080.html#a546d30d71894319b5d80e6d6be4134ec">FXOS8700_M_CTRL_REG1_M_HMS_HYBRID_MODE</a>,</div><div class="line"> <a class="code" href="a00080.html#a6bf900c7c50e30c75e0ef180998c579d">FXOS8700_M_CTRL_REG1_M_ACAL_MASK</a> | <a class="code" href="a00080.html#a25f9a595de3ea9bd91ddd18edee4772f">FXOS8700_M_CTRL_REG1_M_HMS_MASK</a>}, </div><div class="line"> {<a class="code" href="a00080.html#a8feb5a39a55448c86e0dfc20f53a6c1dad68ab453311e27577e484c5ecc4ccad2">FXOS8700_M_CTRL_REG2</a>, <a class="code" href="a00080.html#a1a72c517a353d858cf5fd6bb05a35b12">FXOS8700_M_CTRL_REG2_M_AUTOINC_HYBRID_MODE</a> | <a class="code" href="a00080.html#ac57c09febf262220a8387f6719accdd9">FXOS8700_M_CTRL_REG2_M_RST_CNT_DISABLE</a>,</div><div class="line"> <a class="code" href="a00080.html#a4e4cbcde9752b23ac4ed33f47c0d979f">FXOS8700_M_CTRL_REG2_M_AUTOINC_MASK</a> | <a class="code" href="a00080.html#a659beb710358464e8fa4d6ba5e2b3769">FXOS8700_M_CTRL_REG2_M_RST_CNT_MASK</a>}, </div><div class="line"> <a class="code" href="a00179.html#a2cedde333a6373a3ee274bde6af145d0">__END_WRITE_DATA__</a>}</div><div class="ttc" id="a00080_html_a4e4cbcde9752b23ac4ed33f47c0d979f"><div class="ttname"><a href="a00080.html#a4e4cbcde9752b23ac4ed33f47c0d979f">FXOS8700_M_CTRL_REG2_M_AUTOINC_MASK</a></div><div class="ttdeci">#define FXOS8700_M_CTRL_REG2_M_AUTOINC_MASK</div><div class="ttdef"><b>Definition:</b> <a href="a00080_source.html#l02634">fxos8700.h:2634</a></div></div> 837<div class="ttc" id="a00080_html_a25f9a595de3ea9bd91ddd18edee4772f"><div class="ttname"><a href="a00080.html#a25f9a595de3ea9bd91ddd18edee4772f">FXOS8700_M_CTRL_REG1_M_HMS_MASK</a></div><div class="ttdeci">#define FXOS8700_M_CTRL_REG1_M_HMS_MASK</div><div class="ttdef"><b>Definition:</b> <a href="a00080_source.html#l02547">fxos8700.h:2547</a></div></div> 838<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> 839<div class="ttc" id="a00080_html_a8feb5a39a55448c86e0dfc20f53a6c1dad68ab453311e27577e484c5ecc4ccad2"><div class="ttname"><a href="a00080.html#a8feb5a39a55448c86e0dfc20f53a6c1dad68ab453311e27577e484c5ecc4ccad2">FXOS8700_M_CTRL_REG2</a></div><div class="ttdef"><b>Definition:</b> <a href="a00080_source.html#l00106">fxos8700.h:106</a></div></div> 840<div class="ttc" id="a00080_html_a546d30d71894319b5d80e6d6be4134ec"><div class="ttname"><a href="a00080.html#a546d30d71894319b5d80e6d6be4134ec">FXOS8700_M_CTRL_REG1_M_HMS_HYBRID_MODE</a></div><div class="ttdeci">#define FXOS8700_M_CTRL_REG1_M_HMS_HYBRID_MODE</div><div class="ttdef"><b>Definition:</b> <a href="a00080_source.html#l02595">fxos8700.h:2595</a></div></div> 841<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> 842<div class="ttc" id="a00080_html_a1a72c517a353d858cf5fd6bb05a35b12"><div class="ttname"><a href="a00080.html#a1a72c517a353d858cf5fd6bb05a35b12">FXOS8700_M_CTRL_REG2_M_AUTOINC_HYBRID_MODE</a></div><div class="ttdeci">#define FXOS8700_M_CTRL_REG2_M_AUTOINC_HYBRID_MODE</div><div class="ttdef"><b>Definition:</b> <a href="a00080_source.html#l02641">fxos8700.h:2641</a></div></div> 843<div class="ttc" id="a00080_html_a48b25f7e80e8aaa67ca9b0f06305196b"><div class="ttname"><a href="a00080.html#a48b25f7e80e8aaa67ca9b0f06305196b">FXOS8700_M_CTRL_REG1_M_ACAL_EN</a></div><div class="ttdeci">#define FXOS8700_M_CTRL_REG1_M_ACAL_EN</div><div class="ttdef"><b>Definition:</b> <a href="a00080_source.html#l02566">fxos8700.h:2566</a></div></div> 844<div class="ttc" id="a00080_html_a6bf900c7c50e30c75e0ef180998c579d"><div class="ttname"><a href="a00080.html#a6bf900c7c50e30c75e0ef180998c579d">FXOS8700_M_CTRL_REG1_M_ACAL_MASK</a></div><div class="ttdeci">#define FXOS8700_M_CTRL_REG1_M_ACAL_MASK</div><div class="ttdef"><b>Definition:</b> <a href="a00080_source.html#l02559">fxos8700.h:2559</a></div></div> 845<div class="ttc" id="a00080_html_a5f010d70bc0d96749ba41baa0f5a8e0e"><div class="ttname"><a href="a00080.html#a5f010d70bc0d96749ba41baa0f5a8e0e">FXOS8700_CTRL_REG1_DR_HYBRID_200_HZ</a></div><div class="ttdeci">#define FXOS8700_CTRL_REG1_DR_HYBRID_200_HZ</div><div class="ttdef"><b>Definition:</b> <a href="a00080_source.html#l01527">fxos8700.h:1527</a></div></div> 846<div class="ttc" id="a00080_html_ac57c09febf262220a8387f6719accdd9"><div class="ttname"><a href="a00080.html#ac57c09febf262220a8387f6719accdd9">FXOS8700_M_CTRL_REG2_M_RST_CNT_DISABLE</a></div><div class="ttdeci">#define FXOS8700_M_CTRL_REG2_M_RST_CNT_DISABLE</div><div class="ttdef"><b>Definition:</b> <a href="a00080_source.html#l02667">fxos8700.h:2667</a></div></div> 847<div class="ttc" id="a00080_html_a659beb710358464e8fa4d6ba5e2b3769"><div class="ttname"><a href="a00080.html#a659beb710358464e8fa4d6ba5e2b3769">FXOS8700_M_CTRL_REG2_M_RST_CNT_MASK</a></div><div class="ttdeci">#define FXOS8700_M_CTRL_REG2_M_RST_CNT_MASK</div><div class="ttdef"><b>Definition:</b> <a href="a00080_source.html#l02622">fxos8700.h:2622</a></div></div> 848<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> 849<div class="ttc" id="a00080_html_a8feb5a39a55448c86e0dfc20f53a6c1da6abb5ce7016e6812b2b26345b9e8633b"><div class="ttname"><a href="a00080.html#a8feb5a39a55448c86e0dfc20f53a6c1da6abb5ce7016e6812b2b26345b9e8633b">FXOS8700_M_CTRL_REG1</a></div><div class="ttdef"><b>Definition:</b> <a href="a00080_source.html#l00105">fxos8700.h:105</a></div></div> 850</div><!-- fragment --><p>Prepare the register write list to configure FXOS8700 in Hybrid mode. </p> 851 852<p class="definition">Definition at line <a class="el" href="a00401_source.html#l00077">77</a> of file <a class="el" href="a00401_source.html">data_logger_demo.c</a>.</p> 853 854</div> 855</div> 856<a id="aadf2996edcebcd8e7796fceca494edc3"></a> 857<h2 class="memtitle"><span class="permalink"><a href="#aadf2996edcebcd8e7796fceca494edc3">◆ </a></span>fxos8700_Output_values</h2> 858 859<div class="memitem"> 860<div class="memproto"> 861 <table class="memname"> 862 <tr> 863 <td class="memname">const <a class="el" href="a03811.html">registerreadlist_t</a> fxos8700_Output_values[]</td> 864 </tr> 865 </table> 866</div><div class="memdoc"> 867<b>Initial value:</b><div class="fragment"><div class="line">= {{.readFrom = <a class="code" href="a00080.html#a8feb5a39a55448c86e0dfc20f53a6c1da99804c25ebaf3d129c182072573623c1">FXOS8700_OUT_X_MSB</a>, .numBytes = <a class="code" href="a00401.html#aa3e0ea916f17ce60e78c52707fdd1745">FXOS8700_DATA_SIZE</a>},</div><div class="line"> <a class="code" href="a00179.html#aebb58a1bb3df30b7df4f6f14d0f1a81d">__END_READ_DATA__</a>}</div><div class="ttc" id="a00179_html_aebb58a1bb3df30b7df4f6f14d0f1a81d"><div class="ttname"><a href="a00179.html#aebb58a1bb3df30b7df4f6f14d0f1a81d">__END_READ_DATA__</a></div><div class="ttdeci">#define __END_READ_DATA__</div><div class="ttdef"><b>Definition:</b> <a href="a00179_source.html#l00051">sensor_drv.h:51</a></div></div> 868<div class="ttc" id="a00401_html_aa3e0ea916f17ce60e78c52707fdd1745"><div class="ttname"><a href="a00401.html#aa3e0ea916f17ce60e78c52707fdd1745">FXOS8700_DATA_SIZE</a></div><div class="ttdeci">#define FXOS8700_DATA_SIZE</div><div class="ttdef"><b>Definition:</b> <a href="a00401_source.html#l00055">data_logger_demo.c:55</a></div></div> 869<div class="ttc" id="a00080_html_a8feb5a39a55448c86e0dfc20f53a6c1da99804c25ebaf3d129c182072573623c1"><div class="ttname"><a href="a00080.html#a8feb5a39a55448c86e0dfc20f53a6c1da99804c25ebaf3d129c182072573623c1">FXOS8700_OUT_X_MSB</a></div><div class="ttdef"><b>Definition:</b> <a href="a00080_source.html#l00021">fxos8700.h:21</a></div></div> 870</div><!-- fragment --><p>Command definition to read the Accel + Mag Data </p> 871 872<p class="definition">Definition at line <a class="el" href="a00401_source.html#l00088">88</a> of file <a class="el" href="a00401_source.html">data_logger_demo.c</a>.</p> 873 874</div> 875</div> 876<a id="ae69294e40b64a92ce4a1c9636db4118a"></a> 877<h2 class="memtitle"><span class="permalink"><a href="#ae69294e40b64a92ce4a1c9636db4118a">◆ </a></span>gPrimaryStreamID</h2> 878 879<div class="memitem"> 880<div class="memproto"> 881 <table class="memname"> 882 <tr> 883 <td class="memname">uint8_t gPrimaryStreamID</td> 884 </tr> 885 </table> 886</div><div class="memdoc"> 887 888<p class="definition">Definition at line <a class="el" href="a00401_source.html#l00124">124</a> of file <a class="el" href="a00401_source.html">data_logger_demo.c</a>.</p> 889 890<p class="reference">Referenced by <a class="el" href="a00401_source.html#l00227">main()</a>, and <a class="el" href="a00401_source.html#l00144">process_host_command()</a>.</p> 891 892</div> 893</div> 894<a id="aafa5fcc299fb9a0db111332f5111b7df"></a> 895<h2 class="memtitle"><span class="permalink"><a href="#aafa5fcc299fb9a0db111332f5111b7df">◆ </a></span>gSystick</h2> 896 897<div class="memitem"> 898<div class="memproto"> 899 <table class="memname"> 900 <tr> 901 <td class="memname"><a class="el" href="a00521.html#a5d7069350a7d7e65686c77a8038f462f">int32_t</a> gSystick</td> 902 </tr> 903 </table> 904</div><div class="memdoc"> 905 906<p class="definition">Definition at line <a class="el" href="a00401_source.html#l00125">125</a> of file <a class="el" href="a00401_source.html">data_logger_demo.c</a>.</p> 907 908<p class="reference">Referenced by <a class="el" href="a00401_source.html#l00227">main()</a>, and <a class="el" href="a00401_source.html#l00144">process_host_command()</a>.</p> 909 910</div> 911</div> 912<a id="a40c88efde96332c13dc9fc1c404de8d4"></a> 913<h2 class="memtitle"><span class="permalink"><a href="#a40c88efde96332c13dc9fc1c404de8d4">◆ </a></span>mpl3115_Output_Values</h2> 914 915<div class="memitem"> 916<div class="memproto"> 917 <table class="memname"> 918 <tr> 919 <td class="memname">const <a class="el" href="a03811.html">registerreadlist_t</a> mpl3115_Output_Values[]</td> 920 </tr> 921 </table> 922</div><div class="memdoc"> 923<b>Initial value:</b><div class="fragment"><div class="line">= {{.readFrom = <a class="code" href="a00158.html#a5e7fba63eebd783231b18f414e8a138fa4b32656f953887759d9479b54ad7f478">MPL3115_OUT_P_MSB</a>, .numBytes = <a class="code" href="a00401.html#a6cac15be5282beb495b2df840679f6fe">MPL3115_DATA_SIZE</a>},</div><div class="line"> <a class="code" href="a00179.html#aebb58a1bb3df30b7df4f6f14d0f1a81d">__END_READ_DATA__</a>}</div><div class="ttc" id="a00401_html_a6cac15be5282beb495b2df840679f6fe"><div class="ttname"><a href="a00401.html#a6cac15be5282beb495b2df840679f6fe">MPL3115_DATA_SIZE</a></div><div class="ttdeci">#define MPL3115_DATA_SIZE</div><div class="ttdef"><b>Definition:</b> <a href="a00401_source.html#l00057">data_logger_demo.c:57</a></div></div> 924<div class="ttc" id="a00179_html_aebb58a1bb3df30b7df4f6f14d0f1a81d"><div class="ttname"><a href="a00179.html#aebb58a1bb3df30b7df4f6f14d0f1a81d">__END_READ_DATA__</a></div><div class="ttdeci">#define __END_READ_DATA__</div><div class="ttdef"><b>Definition:</b> <a href="a00179_source.html#l00051">sensor_drv.h:51</a></div></div> 925<div class="ttc" id="a00158_html_a5e7fba63eebd783231b18f414e8a138fa4b32656f953887759d9479b54ad7f478"><div class="ttname"><a href="a00158.html#a5e7fba63eebd783231b18f414e8a138fa4b32656f953887759d9479b54ad7f478">MPL3115_OUT_P_MSB</a></div><div class="ttdef"><b>Definition:</b> <a href="a00158_source.html#l00017">mpl3115.h:17</a></div></div> 926</div><!-- fragment --> 927<p>Address and size of Raw Pressure+Temperature Data in Normal Mode. </p> 928 929<p class="definition">Definition at line <a class="el" href="a00401_source.html#l00115">115</a> of file <a class="el" href="a00401_source.html">data_logger_demo.c</a>.</p> 930 931</div> 932</div> 933<a id="ac61bf859f26cd2541c3958bff34e2bda"></a> 934<h2 class="memtitle"><span class="permalink"><a href="#ac61bf859f26cd2541c3958bff34e2bda">◆ </a></span>pGpioDriver</h2> 935 936<div class="memitem"> 937<div class="memproto"> 938 <table class="memname"> 939 <tr> 940 <td class="memname"><a class="el" href="a03903.html">GENERIC_DRIVER_GPIO</a>* pGpioDriver = &<a class="el" href="a04880.html#a2c39f234913855fad752a8f96f245b27">Driver_GPIO_KSDK</a></td> 941 </tr> 942 </table> 943</div><div class="memdoc"> 944 945<p class="definition">Definition at line <a class="el" href="a00401_source.html#l00126">126</a> of file <a class="el" href="a00401_source.html">data_logger_demo.c</a>.</p> 946 947</div> 948</div> 949<a id="a1c419755be00b2aebbd8d31da9b66142"></a> 950<h2 class="memtitle"><span class="permalink"><a href="#a1c419755be00b2aebbd8d31da9b66142">◆ </a></span>shieldString</h2> 951 952<div class="memitem"> 953<div class="memproto"> 954 <table class="memname"> 955 <tr> 956 <td class="memname">char shieldString[<a class="el" href="a04838.html#a4296d0603c5898f7baef119cbfe42858">ADS_MAX_STRING_LENGTH</a>] = {0}</td> 957 </tr> 958 </table> 959</div><div class="memdoc"> 960 961<p class="definition">Definition at line <a class="el" href="a00401_source.html#l00121">121</a> of file <a class="el" href="a00401_source.html">data_logger_demo.c</a>.</p> 962 963<p class="reference">Referenced by <a class="el" href="a00401_source.html#l00227">main()</a>, and <a class="el" href="a00401_source.html#l00144">process_host_command()</a>.</p> 964 965</div> 966</div> 967</div><!-- contents --> 968 969<hr class="footer"/><address class="footer"><small> 970© Copyright 2016-2022 NXP. All Rights Reserved. SPDX-License-Identifier: BSD-3-Clause 971</small></address> 972</body> 973</html> 974