1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 2<html xmlns="http://www.w3.org/1999/xhtml"> 3<head> 4<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> 5<meta http-equiv="X-UA-Compatible" content="IE=9"/> 6<meta name="generator" content="Doxygen 1.8.13"/> 7<meta name="viewport" content="width=device-width, initial-scale=1"/> 8<title>ISSDK: algorithms/sensorfusion/sources/calibration_storage.h Source File</title> 9<link href="tabs.css" rel="stylesheet" type="text/css"/> 10<script type="text/javascript" src="jquery.js"></script> 11<script type="text/javascript" src="dynsections.js"></script> 12<link href="issdk_stylesheet.css" rel="stylesheet" type="text/css" /> 13</head> 14<body> 15<div id="top"><!-- do not remove this div, it is closed by doxygen! --> 16<div id="titlearea"> 17<table cellspacing="0" cellpadding="0"> 18 <tbody> 19 <tr style="height: 56px;"> 20 <td id="projectlogo"><img alt="Logo" src="nxp_logo_small.png"/></td> 21 <td id="projectalign" style="padding-left: 0.5em;"> 22 <div id="projectname">ISSDK 23  <span id="projectnumber">1.8</span> 24 </div> 25 <div id="projectbrief">IoT Sensing Software Development Kit</div> 26 </td> 27 </tr> 28 </tbody> 29</table> 30</div> 31<!-- end header part --> 32<!-- Generated by Doxygen 1.8.13 --> 33<script type="text/javascript" src="menudata.js"></script> 34<script type="text/javascript" src="menu.js"></script> 35<script type="text/javascript"> 36$(function() { 37 initMenu('',false,false,'search.php','Search'); 38}); 39</script> 40<div id="main-nav"></div> 41<div id="nav-path" class="navpath"> 42 <ul> 43<li class="navelem"><a class="el" href="dir_c0ce462e37efe0a8d60c01d75f78f8a0.html">algorithms</a></li><li class="navelem"><a class="el" href="dir_cb8ed5ffd1f20a5af7e420f81f312621.html">sensorfusion</a></li><li class="navelem"><a class="el" href="dir_c60867674b20e7d761cd401b87ce879d.html">sources</a></li> </ul> 44</div> 45</div><!-- top --> 46<div class="header"> 47 <div class="headertitle"> 48<div class="title">calibration_storage.h</div> </div> 49</div><!--header--> 50<div class="contents"> 51<a href="a00773.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="comment">/*</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment"> * Copyright (c) 2015, Freescale Semiconductor, Inc.</span></div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment"> * Copyright 2016-2017 NXP</span></div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment"> * All rights reserved.</span></div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment"> *</span></div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="comment"> * SPDX-License-Identifier: BSD-3-Clause</span></div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="comment"> */</span></div><div class="line"><a name="l00008"></a><span class="lineno"> 8</span> </div><div class="line"><a name="l00009"></a><span class="lineno"> 9</span> </div><div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="preprocessor">#ifndef CALSTORE_H</span></div><div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <span class="preprocessor">#define CALSTORE_H</span></div><div class="line"><a name="l00012"></a><span class="lineno"> 12</span> </div><div class="line"><a name="l00013"></a><span class="lineno"> 13</span>  <span class="comment"></span></div><div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="comment">/*! \file calibration_storage.h</span></div><div class="line"><a name="l00015"></a><span class="lineno"> 15</span> <span class="comment"> \brief Provides functions to store calibration to NVM</span></div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span> <span class="comment"> </span></div><div class="line"><a name="l00017"></a><span class="lineno"> 17</span> <span class="comment"> Users who are not using NXP hardware will need to supply their own drivers</span></div><div class="line"><a name="l00018"></a><span class="lineno"> 18</span> <span class="comment"> in place of those defined here.</span></div><div class="line"><a name="l00019"></a><span class="lineno"> 19</span> <span class="comment">*/</span></div><div class="line"><a name="l00020"></a><span class="lineno"> 20</span> </div><div class="line"><a name="l00021"></a><span class="lineno"> 21</span> <span class="keywordtype">void</span> <a class="code" href="a00773.html#ad08799ac63701e755fe2414b32f69b50">SaveMagCalibrationToNVM</a>(<a class="code" href="a04047.html">SensorFusionGlobals</a> *<a class="code" href="a00470.html#afa81c629d378fe700f351a1bce411ad5">sfg</a>);</div><div class="line"><a name="l00022"></a><span class="lineno"> 22</span> <span class="keywordtype">void</span> <a class="code" href="a00773.html#aa5684d700f135264e542f33071ed6a45">SaveGyroCalibrationToNVM</a>(<a class="code" href="a04047.html">SensorFusionGlobals</a> *<a class="code" href="a00470.html#afa81c629d378fe700f351a1bce411ad5">sfg</a>);</div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span> <span class="keywordtype">void</span> <a class="code" href="a00773.html#a6cbf0fc4417e3a411a9685e2a92f1816">SaveAccelCalibrationToNVM</a>(<a class="code" href="a04047.html">SensorFusionGlobals</a> *<a class="code" href="a00470.html#afa81c629d378fe700f351a1bce411ad5">sfg</a>);</div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span> <span class="keywordtype">void</span> <a class="code" href="a00773.html#a5004646fd5b485a74892b17e4a3af15b">EraseMagCalibrationFromNVM</a>(<span class="keywordtype">void</span>);</div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span> <span class="keywordtype">void</span> <a class="code" href="a00773.html#a98044dd5ba8a80f7e92b4567725e5193">EraseGyroCalibrationFromNVM</a>(<span class="keywordtype">void</span>);</div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span> <span class="keywordtype">void</span> <a class="code" href="a00773.html#a3b4a1193ece3947c38651156293a7623">EraseAccelCalibrationFromNVM</a>(<span class="keywordtype">void</span>);</div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span> <span class="preprocessor">#endif</span></div><div class="ttc" id="a04047_html"><div class="ttname"><a href="a04047.html">SensorFusionGlobals</a></div><div class="ttdoc">The top level fusion structure. </div><div class="ttdef"><b>Definition:</b> <a href="a00914_source.html#l00454">sensor_fusion.h:454</a></div></div> 52<div class="ttc" id="a00773_html_a3b4a1193ece3947c38651156293a7623"><div class="ttname"><a href="a00773.html#a3b4a1193ece3947c38651156293a7623">EraseAccelCalibrationFromNVM</a></div><div class="ttdeci">void EraseAccelCalibrationFromNVM(void)</div><div class="ttdef"><b>Definition:</b> <a href="a00770_source.html#l00170">calibration_storage.c:170</a></div></div> 53<div class="ttc" id="a00773_html_aa5684d700f135264e542f33071ed6a45"><div class="ttname"><a href="a00773.html#aa5684d700f135264e542f33071ed6a45">SaveGyroCalibrationToNVM</a></div><div class="ttdeci">void SaveGyroCalibrationToNVM(SensorFusionGlobals *sfg)</div><div class="ttdef"><b>Definition:</b> <a href="a00770_source.html#l00055">calibration_storage.c:55</a></div></div> 54<div class="ttc" id="a00773_html_a6cbf0fc4417e3a411a9685e2a92f1816"><div class="ttname"><a href="a00773.html#a6cbf0fc4417e3a411a9685e2a92f1816">SaveAccelCalibrationToNVM</a></div><div class="ttdeci">void SaveAccelCalibrationToNVM(SensorFusionGlobals *sfg)</div><div class="ttdef"><b>Definition:</b> <a href="a00770_source.html#l00094">calibration_storage.c:94</a></div></div> 55<div class="ttc" id="a00773_html_ad08799ac63701e755fe2414b32f69b50"><div class="ttname"><a href="a00773.html#ad08799ac63701e755fe2414b32f69b50">SaveMagCalibrationToNVM</a></div><div class="ttdeci">void SaveMagCalibrationToNVM(SensorFusionGlobals *sfg)</div><div class="ttdef"><b>Definition:</b> <a href="a00770_source.html#l00021">calibration_storage.c:21</a></div></div> 56<div class="ttc" id="a00470_html_afa81c629d378fe700f351a1bce411ad5"><div class="ttname"><a href="a00470.html#afa81c629d378fe700f351a1bce411ad5">sfg</a></div><div class="ttdeci">SensorFusionGlobals sfg</div><div class="ttdef"><b>Definition:</b> <a href="a00470_source.html#l00075">orientaion_application_baremetal_agm01.c:75</a></div></div> 57<div class="ttc" id="a00773_html_a5004646fd5b485a74892b17e4a3af15b"><div class="ttname"><a href="a00773.html#a5004646fd5b485a74892b17e4a3af15b">EraseMagCalibrationFromNVM</a></div><div class="ttdeci">void EraseMagCalibrationFromNVM(void)</div><div class="ttdef"><b>Definition:</b> <a href="a00770_source.html#l00128">calibration_storage.c:128</a></div></div> 58<div class="ttc" id="a00773_html_a98044dd5ba8a80f7e92b4567725e5193"><div class="ttname"><a href="a00773.html#a98044dd5ba8a80f7e92b4567725e5193">EraseGyroCalibrationFromNVM</a></div><div class="ttdeci">void EraseGyroCalibrationFromNVM(void)</div><div class="ttdef"><b>Definition:</b> <a href="a00770_source.html#l00149">calibration_storage.c:149</a></div></div> 59</div><!-- fragment --></div><!-- contents --> 60 61<hr class="footer"/><address class="footer"><small> 62© Copyright 2016-2022 NXP. All Rights Reserved. SPDX-License-Identifier: BSD-3-Clause 63</small></address> 64</body> 65</html> 66