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/imx/mekmimx8qm/mpl3115/mpl3115_oneshot.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_7a9e006f98d20e9526e7f312f3c0744a.html">imx</a></li><li class="navelem"><a class="el" href="dir_cac466d31ff61a3c93a369f495016297.html">mekmimx8qm</a></li><li class="navelem"><a class="el" href="dir_a2bb6a6599dd7a1882a57f445b42c101.html">mpl3115</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">mpl3115_oneshot.c File Reference</div> </div> 53</div><!--header--> 54<div class="contents"> 55<div class="textblock"><code>#include "pin_mux.h"</code><br /> 56<code>#include "clock_config.h"</code><br /> 57<code>#include "board.h"</code><br /> 58<code>#include "fsl_debug_console.h"</code><br /> 59<code>#include "fsl_irqsteer.h"</code><br /> 60<code>#include "Driver_I2C.h"</code><br /> 61<code>#include "issdk_hal.h"</code><br /> 62<code>#include "<a class="el" href="a00164_source.html">mpl3115_drv.h</a>"</code><br /> 63</div><div class="textblock"><div class="dynheader"> 64Include dependency graph for mpl3115_oneshot.c:</div> 65<div class="dyncontent"> 66<div class="center"><img src="a04821.png" border="0" usemap="#driverexamples_2imx_2mekmimx8qm_2mpl3115_2mpl3115__oneshot_8c" alt=""/></div> 67<map name="driverexamples_2imx_2mekmimx8qm_2mpl3115_2mpl3115__oneshot_8c" id="driverexamples_2imx_2mekmimx8qm_2mpl3115_2mpl3115__oneshot_8c"> 68<area shape="rect" id="node9" href="a00164.html" title="The mpl3115_drv.h file describes the MPL3115 driver interface and structures. " alt="" coords="843,109,949,136"/> 69</map> 70</div> 71</div> 72<p><a href="a04820_source.html">Go to the source code of this file.</a></p> 73<table class="memberdecls"> 74<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a> 75Macros</h2></td></tr> 76<tr class="memitem:a6cac15be5282beb495b2df840679f6fe"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="a04820.html#a6cac15be5282beb495b2df840679f6fe">MPL3115_DATA_SIZE</a>   (5) /* 3 <a class="el" href="a00914.html#a0c8186d9b9b7880309c27230bbb5e69d">byte</a> Pressure/Altitude and 2 <a class="el" href="a00914.html#a0c8186d9b9b7880309c27230bbb5e69d">byte</a> Temperature. */</td></tr> 77<tr class="separator:a6cac15be5282beb495b2df840679f6fe"><td class="memSeparator" colspan="2"> </td></tr> 78</table><table class="memberdecls"> 79<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a> 80Functions</h2></td></tr> 81<tr class="memitem:a840291bc02cba5474a4cb46a9b9566fe"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="a04820.html#a840291bc02cba5474a4cb46a9b9566fe">main</a> (void)</td></tr> 82<tr class="memdesc:a840291bc02cba5474a4cb46a9b9566fe"><td class="mdescLeft"> </td><td class="mdescRight">Main function. <a href="#a840291bc02cba5474a4cb46a9b9566fe">More...</a><br /></td></tr> 83<tr class="separator:a840291bc02cba5474a4cb46a9b9566fe"><td class="memSeparator" colspan="2"> </td></tr> 84</table><table class="memberdecls"> 85<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="var-members"></a> 86Variables</h2></td></tr> 87<tr class="memitem:aa585d46325383668ae5091c503be9736"><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="a04820.html#aa585d46325383668ae5091c503be9736">cMpl3115ConfigAltitude</a> []</td></tr> 88<tr class="memdesc:aa585d46325383668ae5091c503be9736"><td class="mdescLeft"> </td><td class="mdescRight">Register settings for Altitude readings in One-Shot mode. <a href="#aa585d46325383668ae5091c503be9736">More...</a><br /></td></tr> 89<tr class="separator:aa585d46325383668ae5091c503be9736"><td class="memSeparator" colspan="2"> </td></tr> 90<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="a04820.html#acc2aafd6d65396802dfdff930f33d170">cMpl3115SetOST</a> []</td></tr> 91<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> 92<tr class="separator:acc2aafd6d65396802dfdff930f33d170"><td class="memSeparator" colspan="2"> </td></tr> 93<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="a04820.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> 94<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> 95<tr class="separator:ac1387d6c31061c3933a1a7315ffeac0f"><td class="memSeparator" colspan="2"> </td></tr> 96<tr class="memitem:afe135f4090b21bcc8346bb48961d79fa"><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="a04820.html#afe135f4090b21bcc8346bb48961d79fa">cMpl3115OutputNormal</a> []</td></tr> 97<tr class="memdesc:afe135f4090b21bcc8346bb48961d79fa"><td class="mdescLeft"> </td><td class="mdescRight">Address and size of Raw Altitude+Temperature Data. <a href="#afe135f4090b21bcc8346bb48961d79fa">More...</a><br /></td></tr> 98<tr class="separator:afe135f4090b21bcc8346bb48961d79fa"><td class="memSeparator" colspan="2"> </td></tr> 99</table> 100<h2 class="groupheader">Macro Definition Documentation</h2> 101<a id="a6cac15be5282beb495b2df840679f6fe"></a> 102<h2 class="memtitle"><span class="permalink"><a href="#a6cac15be5282beb495b2df840679f6fe">◆ </a></span>MPL3115_DATA_SIZE</h2> 103 104<div class="memitem"> 105<div class="memproto"> 106 <table class="memname"> 107 <tr> 108 <td class="memname">#define MPL3115_DATA_SIZE   (5) /* 3 <a class="el" href="a00914.html#a0c8186d9b9b7880309c27230bbb5e69d">byte</a> Pressure/Altitude and 2 <a class="el" href="a00914.html#a0c8186d9b9b7880309c27230bbb5e69d">byte</a> Temperature. */</td> 109 </tr> 110 </table> 111</div><div class="memdoc"> 112 113<p class="definition">Definition at line <a class="el" href="a04820_source.html#l00033">33</a> of file <a class="el" href="a04820_source.html">mpl3115_oneshot.c</a>.</p> 114 115<p class="reference">Referenced by <a class="el" href="a04820_source.html#l00063">main()</a>.</p> 116 117</div> 118</div> 119<h2 class="groupheader">Function Documentation</h2> 120<a id="a840291bc02cba5474a4cb46a9b9566fe"></a> 121<h2 class="memtitle"><span class="permalink"><a href="#a840291bc02cba5474a4cb46a9b9566fe">◆ </a></span>main()</h2> 122 123<div class="memitem"> 124<div class="memproto"> 125 <table class="memname"> 126 <tr> 127 <td class="memname">int main </td> 128 <td>(</td> 129 <td class="paramtype">void </td> 130 <td class="paramname"></td><td>)</td> 131 <td></td> 132 </tr> 133 </table> 134</div><div class="memdoc"> 135 136<p>Main function. </p> 137<p>Initialize the I2C driver.</p> 138<p>Set the I2C Power mode.</p> 139<p>Set the I2C bus speed.</p> 140<p>Initialize MPL3115 sensor driver.</p> 141<p>We do not need to call <a class="el" href="a00161.html#a8dce7c0e6c9d7ef6cf9c6c2fd3c093ae" title="The interface function to configure he sensor. ">MPL3115_I2C_Configure()</a> in this case as we are going to read samples on demand. Instead we directly write register settings for One-Shot Mode...</p> 142<p>The code contained withing the braces illustrate steps to read one-sample. These can be repated at desired intervals to acquire more samples.</p> 143<p>Keep checking the OST FLAG for completion.</p> 144<p>Read raw sensor data from the MPL3115.</p> 145<p>Process the sample and convert the raw sensor data. </p> 146 147<p class="definition">Definition at line <a class="el" href="a04820_source.html#l00063">63</a> of file <a class="el" href="a04820_source.html">mpl3115_oneshot.c</a>.</p> 148 149<p class="reference">References <a class="el" href="a00164_source.html#l00057">mpl3115_altitudedata_t::altitude</a>, <a class="el" href="a00578_source.html#l00106">ASK_USER_TO_RESUME</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="a00428_source.html#l00174">data</a>, <a class="el" href="a00179_source.html#l00106">registerDeviceInfo_t::deviceInstance</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="a00164_source.html#l00029">MPL3115_ALTITUDE_CONV_FACTOR</a>, <a class="el" href="a00158_source.html#l00849">MPL3115_CTRL_REG1_OST_MASK</a>, <a class="el" href="a04820_source.html#l00033">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="a00164_source.html#l00030">MPL3115_TEMPERATURE_CONV_FACTOR</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="a00227_source.html#l00218">rawData</a>, <a class="el" href="a00179_source.html#l00033">SENSOR_ERROR_NONE</a>, <a class="el" href="a00179_source.html#l00037">SENSOR_ERROR_WRITE</a>, <a class="el" href="a00182_source.html#l00071">Sensor_I2C_Write()</a>, <a class="el" href="a00164_source.html#l00041">mpl3115_i2c_sensorhandle_t::slaveAddress</a>, <a class="el" href="a00359_source.html#l00248">status</a>, and <a class="el" href="a00164_source.html#l00059">mpl3115_altitudedata_t::temperature</a>.</p> 150<div class="dynheader"> 151Here is the call graph for this function:</div> 152<div class="dyncontent"> 153<div class="center"><img src="a04820_a840291bc02cba5474a4cb46a9b9566fe_cgraph.png" border="0" usemap="#a04820_a840291bc02cba5474a4cb46a9b9566fe_cgraph" alt=""/></div> 154<map name="a04820_a840291bc02cba5474a4cb46a9b9566fe_cgraph" id="a04820_a840291bc02cba5474a4cb46a9b9566fe_cgraph"> 155<area shape="rect" id="node2" href="a04109.html#a4c84ccb952cb083367d7040cf9de3db8" title="BOARD_InitDebugConsole" alt="" coords="104,5,280,32"/> 156<area shape="rect" id="node3" href="a00959.html#ga2c9fe54b6b84723fbaa590a6f4576966" title="Configures pin routing and optionally pin electrical features. " alt="" coords="133,56,251,83"/> 157<area shape="rect" id="node4" href="a00521.html#a5d7069350a7d7e65686c77a8038f462f" title="The interface function to append the data on the formated stream. " alt="" coords="328,183,389,209"/> 158<area shape="rect" id="node5" href="a00161.html#ae2d3772491a3b10c71ff529382d9a2d2" title="The interface function to initialize the sensor. " alt="" coords="113,157,271,184"/> 159<area shape="rect" id="node6" href="a00161.html#a3ac7e30ac09a6557eebe24bb0c00e16f" title="The interface function to read the sensor data. " alt="" coords="109,208,275,235"/> 160<area shape="rect" id="node7" href="a00182.html#aaac4c4f34b4dd37d3f202a1dbb4b000b" title="Write register data to a sensor. " alt="" coords="129,259,255,285"/> 161</map> 162</div> 163 164</div> 165</div> 166<h2 class="groupheader">Variable Documentation</h2> 167<a id="aa585d46325383668ae5091c503be9736"></a> 168<h2 class="memtitle"><span class="permalink"><a href="#aa585d46325383668ae5091c503be9736">◆ </a></span>cMpl3115ConfigAltitude</h2> 169 170<div class="memitem"> 171<div class="memproto"> 172 <table class="memname"> 173 <tr> 174 <td class="memname">const <a class="el" href="a03807.html">registerwritelist_t</a> cMpl3115ConfigAltitude[]</td> 175 </tr> 176 </table> 177</div><div class="memdoc"> 178<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#a3f2f4a1b85b89cb6e33d847a619906a7">MPL3115_CTRL_REG1_ALT_ALT</a>, <a class="code" href="a00158.html#a22459cf5c7fd4f97fc9e92c45f01b74b">MPL3115_CTRL_REG1_ALT_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> 179<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> 180<div class="ttc" id="a00158_html_a22459cf5c7fd4f97fc9e92c45f01b74b"><div class="ttname"><a href="a00158.html#a22459cf5c7fd4f97fc9e92c45f01b74b">MPL3115_CTRL_REG1_ALT_MASK</a></div><div class="ttdeci">#define MPL3115_CTRL_REG1_ALT_MASK</div><div class="ttdef"><b>Definition:</b> <a href="a00158_source.html#l00861">mpl3115.h:861</a></div></div> 181<div class="ttc" id="a00158_html_a3f2f4a1b85b89cb6e33d847a619906a7"><div class="ttname"><a href="a00158.html#a3f2f4a1b85b89cb6e33d847a619906a7">MPL3115_CTRL_REG1_ALT_ALT</a></div><div class="ttdeci">#define MPL3115_CTRL_REG1_ALT_ALT</div><div class="ttdef"><b>Definition:</b> <a href="a00158_source.html#l00888">mpl3115.h:888</a></div></div> 182</div><!-- fragment --> 183<p>Register settings for Altitude readings in One-Shot mode. </p> 184 185<p class="definition">Definition at line <a class="el" href="a04820_source.html#l00039">39</a> of file <a class="el" href="a04820_source.html">mpl3115_oneshot.c</a>.</p> 186 187</div> 188</div> 189<a id="ac1387d6c31061c3933a1a7315ffeac0f"></a> 190<h2 class="memtitle"><span class="permalink"><a href="#ac1387d6c31061c3933a1a7315ffeac0f">◆ </a></span>cMpl3115GetOST</h2> 191 192<div class="memitem"> 193<div class="memproto"> 194 <table class="memname"> 195 <tr> 196 <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> 197 </tr> 198 </table> 199</div><div class="memdoc"> 200 201<p>Address of Register containing OST Bit. </p> 202 203<p class="definition">Definition at line <a class="el" href="a04820_source.html#l00051">51</a> of file <a class="el" href="a04820_source.html">mpl3115_oneshot.c</a>.</p> 204 205</div> 206</div> 207<a id="afe135f4090b21bcc8346bb48961d79fa"></a> 208<h2 class="memtitle"><span class="permalink"><a href="#afe135f4090b21bcc8346bb48961d79fa">◆ </a></span>cMpl3115OutputNormal</h2> 209 210<div class="memitem"> 211<div class="memproto"> 212 <table class="memname"> 213 <tr> 214 <td class="memname">const <a class="el" href="a03811.html">registerreadlist_t</a> cMpl3115OutputNormal[]</td> 215 </tr> 216 </table> 217</div><div class="memdoc"> 218<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="a04820.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="a04820_html_a6cac15be5282beb495b2df840679f6fe"><div class="ttname"><a href="a04820.html#a6cac15be5282beb495b2df840679f6fe">MPL3115_DATA_SIZE</a></div><div class="ttdeci">#define MPL3115_DATA_SIZE</div><div class="ttdef"><b>Definition:</b> <a href="a04820_source.html#l00033">mpl3115_oneshot.c:33</a></div></div> 219<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> 220<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> 221</div><!-- fragment --> 222<p>Address and size of Raw Altitude+Temperature Data. </p> 223 224<p class="definition">Definition at line <a class="el" href="a04820_source.html#l00054">54</a> of file <a class="el" href="a04820_source.html">mpl3115_oneshot.c</a>.</p> 225 226</div> 227</div> 228<a id="acc2aafd6d65396802dfdff930f33d170"></a> 229<h2 class="memtitle"><span class="permalink"><a href="#acc2aafd6d65396802dfdff930f33d170">◆ </a></span>cMpl3115SetOST</h2> 230 231<div class="memitem"> 232<div class="memproto"> 233 <table class="memname"> 234 <tr> 235 <td class="memname">const <a class="el" href="a03807.html">registerwritelist_t</a> cMpl3115SetOST[]</td> 236 </tr> 237 </table> 238</div><div class="memdoc"> 239<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> 240<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> 241<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> 242<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> 243</div><!-- fragment --> 244<p>Register settings for Triggring One-Shot Sampling. </p> 245 246<p class="definition">Definition at line <a class="el" href="a04820_source.html#l00045">45</a> of file <a class="el" href="a04820_source.html">mpl3115_oneshot.c</a>.</p> 247 248</div> 249</div> 250</div><!-- contents --> 251 252<hr class="footer"/><address class="footer"><small> 253© Copyright 2016-2022 NXP. All Rights Reserved. SPDX-License-Identifier: BSD-3-Clause 254</small></address> 255</body> 256</html> 257