esp32_BNO08x/documentation/html/_b_n_o08x_8cpp.html

232 lines
17 KiB
HTML
Raw Normal View History

2024-12-06 04:09:30 +00:00
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.10.0"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
2024-12-27 02:02:09 +00:00
<title>esp32_BNO08x: source/BNO08x.cpp File Reference</title>
2024-12-06 04:09:30 +00:00
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<script type="text/javascript" src="clipboard.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript" src="cookie.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr id="projectrow">
<td id="projectalign">
2024-12-27 02:02:09 +00:00
<div id="projectname">esp32_BNO08x<span id="projectnumber">&#160;1.31</span>
2024-12-06 04:09:30 +00:00
</div>
<div id="projectbrief">C++ BNO08x IMU driver component for esp-idf.</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.10.0 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
initMenu('',true,false,'search.php','Search');
$(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
<div id="nav-tree">
<div id="nav-tree-contents">
<div id="nav-sync" class="sync"></div>
</div>
</div>
<div id="splitbar" style="-moz-user-select:none;"
class="ui-resizable-handle">
</div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function(){initNavTree('_b_n_o08x_8cpp.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">Loading...</div>
<div class="SRStatus" id="Searching">Searching...</div>
<div class="SRStatus" id="NoMatches">No Matches</div>
</div>
</div>
</div>
</div>
<div class="header">
<div class="headertitle"><div class="title">BNO08x.cpp File Reference</div></div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &quot;<a class="el" href="_b_n_o08x_8hpp_source.html">BNO08x.hpp</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="_b_n_o08x_private_types_8hpp_source.html">BNO08xPrivateTypes.hpp</a>&quot;</code><br />
</div><div class="textblock"><div class="dynheader">
Include dependency graph for BNO08x.cpp:</div>
<div class="dyncontent">
2024-12-27 02:02:09 +00:00
<div class="center"><img src="_b_n_o08x_8cpp__incl.png" border="0" usemap="#asource_2_b_n_o08x_8cpp" alt=""/></div>
<map name="asource_2_b_n_o08x_8cpp" id="asource_2_b_n_o08x_8cpp">
<area shape="rect" title=" " alt="" coords="673,5,811,32"/>
2024-12-06 04:09:30 +00:00
<area shape="rect" href="_b_n_o08x_8hpp.html" title=" " alt="" coords="521,80,617,107"/>
<area shape="poly" title=" " alt="" coords="713,35,614,76,612,71,711,30"/>
<area shape="rect" href="_b_n_o08x_private_types_8hpp.html" title=" " alt="" coords="658,237,827,264"/>
<area shape="poly" title=" " alt="" coords="754,31,772,58,790,96,801,138,801,160,797,182,784,207,768,228,764,224,780,204,792,180,796,160,796,139,785,97,767,61,750,34"/>
<area shape="rect" title=" " alt="" coords="1355,320,1439,347"/>
<area shape="poly" title=" " alt="" coords="618,102,701,122,795,152,859,183,905,213,951,242,1015,269,1103,292,1174,301,1247,305,1340,317,1339,322,1247,311,1173,306,1102,297,1013,275,949,247,902,218,856,188,793,157,700,127,616,107"/>
<area shape="rect" title=" " alt="" coords="157,320,245,347"/>
<area shape="poly" title=" " alt="" coords="521,99,445,104,357,114,278,131,248,143,228,157,216,172,207,190,197,230,196,270,199,304,193,305,190,271,192,230,202,189,211,170,224,153,246,138,276,126,356,109,445,99,521,94"/>
<area shape="rect" title=" " alt="" coords="707,155,783,181"/>
<area shape="poly" title=" " alt="" coords="600,105,701,146,699,151,598,110"/>
<area shape="rect" title=" " alt="" coords="400,395,490,421"/>
<area shape="poly" title=" " alt="" coords="521,99,441,105,347,115,261,132,228,143,205,157,186,175,173,192,159,228,147,320,144,334,147,345,174,354,236,367,385,394,384,399,235,372,173,359,143,349,139,334,142,320,154,227,169,189,182,171,202,153,226,139,260,127,346,110,440,99,520,94"/>
<area shape="rect" title=" " alt="" coords="5,395,146,421"/>
<area shape="poly" title=" " alt="" coords="521,98,428,103,316,113,212,130,171,142,142,157,119,179,102,205,90,235,81,267,74,329,75,379,70,379,69,329,76,266,85,234,97,203,115,175,139,152,169,137,211,125,316,107,428,98,520,93"/>
<area shape="rect" title=" " alt="" coords="220,395,350,421"/>
<area shape="poly" title=" " alt="" coords="521,99,434,103,332,113,237,130,200,142,174,157,152,178,134,199,122,222,114,245,112,269,115,293,124,319,139,345,152,360,168,373,206,390,204,395,166,377,149,364,135,348,119,321,110,295,107,269,109,244,117,220,130,196,148,174,171,153,198,137,235,125,331,108,434,98,521,93"/>
<area shape="rect" title=" " alt="" coords="268,320,408,347"/>
<area shape="poly" title=" " alt="" coords="521,104,462,122,432,137,407,157,380,191,362,232,350,271,344,305,339,304,345,270,357,230,376,189,403,153,430,132,460,117,520,99"/>
<area shape="rect" title=" " alt="" coords="238,155,342,181"/>
<area shape="poly" title=" " alt="" coords="522,110,354,153,353,148,520,104"/>
<area shape="rect" title=" " alt="" coords="433,320,588,347"/>
<area shape="poly" title=" " alt="" coords="568,107,519,306,514,304,563,106"/>
<area shape="rect" title=" " alt="" coords="417,155,531,181"/>
<area shape="poly" title=" " alt="" coords="554,109,504,147,501,143,551,105"/>
<area shape="rect" href="_b_n_o08x_global_types_8hpp.html" title=" " alt="" coords="612,320,779,347"/>
<area shape="poly" title=" " alt="" coords="575,106,602,178,622,225,647,271,675,307,671,310,643,273,618,227,597,180,570,108"/>
<area shape="poly" title=" " alt="" coords="585,105,640,153,720,225,716,229,636,157,582,109"/>
<area shape="rect" href="_b_n_o08x_s_h2_h_a_l_8hpp.html" title=" " alt="" coords="1091,155,1236,181"/>
<area shape="poly" title=" " alt="" coords="617,98,1076,153,1075,159,617,103"/>
<area shape="rect" href="_b_n_o08x_reports_8hpp.html" title=" " alt="" coords="3628,155,3768,181"/>
<area shape="poly" title=" " alt="" coords="617,93,3613,162,3613,167,617,98"/>
<area shape="poly" title=" " alt="" coords="653,350,504,392,503,387,651,345"/>
<area shape="poly" title=" " alt="" coords="612,348,600,349,161,400,161,394,599,344,611,343"/>
<area shape="poly" title=" " alt="" coords="624,350,366,395,365,390,623,345"/>
<area shape="rect" title=" " alt="" coords="526,395,588,421"/>
<area shape="poly" title=" " alt="" coords="673,350,596,389,593,385,670,345"/>
<area shape="rect" title=" " alt="" coords="611,395,689,421"/>
<area shape="poly" title=" " alt="" coords="690,349,668,383,664,380,685,346"/>
<area shape="rect" title=" " alt="" coords="915,469,980,496"/>
<area shape="poly" title=" " alt="" coords="716,345,838,419,912,459,909,464,835,424,714,349"/>
<area shape="rect" title=" " alt="" coords="713,395,774,421"/>
<area shape="poly" title=" " alt="" coords="706,346,729,380,725,383,702,349"/>
<area shape="rect" title=" " alt="" coords="848,395,983,421"/>
<area shape="poly" title=" " alt="" coords="735,345,863,387,862,392,733,350"/>
<area shape="poly" title=" " alt="" coords="803,262,847,269,984,285,1092,292,1201,300,1340,317,1339,322,1201,305,1092,297,983,290,846,275,802,267"/>
<area shape="poly" title=" " alt="" coords="657,265,478,288,260,322,260,317,478,283,657,259"/>
<area shape="poly" title=" " alt="" coords="679,267,417,319,416,314,678,262"/>
<area shape="poly" title=" " alt="" coords="707,267,562,317,560,312,705,262"/>
<area shape="poly" title=" " alt="" coords="737,266,712,308,708,306,733,263"/>
<area shape="rect" title=" " alt="" coords="804,320,926,347"/>
<area shape="poly" title=" " alt="" coords="763,262,835,309,832,314,760,267"/>
<area shape="rect" href="_b_n_o08x_cb_param_rpt_i_d_8hpp.html" title=" " alt="" coords="950,320,1132,347"/>
<area shape="poly" title=" " alt="" coords="790,262,980,313,979,318,788,267"/>
<area shape="rect" href="_b_n_o08x_cb_param_void_8hpp.html" title=" " alt="" coords="1156,320,1331,347"/>
<area shape="poly" title=" " alt="" coords="806,262,847,269,1141,315,1140,320,846,275,805,267"/>
<area shape="rect" href="_b_n_o08x_cb_generic_8hpp.html" title=" " alt="" coords="1007,395,1163,421"/>
<area shape="poly" title=" " alt="" coords="1051,346,1072,380,1067,383,1046,349"/>
<area shape="poly" title=" " alt="" coords="1062,424,986,464,984,459,1060,420"/>
<area shape="poly" title=" " alt="" coords="1217,350,1128,390,1125,385,1215,345"/>
<area shape="poly" title=" " alt="" coords="1226,179,1317,204,1364,220,1407,240,1442,262,1465,288,1470,302,1470,317,1465,333,1453,348,1438,361,1419,372,1371,386,1311,394,1246,397,1111,396,998,397,998,392,1111,391,1246,392,1311,389,1370,381,1417,367,1435,357,1450,345,1460,330,1465,316,1465,303,1460,291,1439,266,1405,245,1362,225,1315,209,1225,185"/>
<area shape="poly" title=" " alt="" coords="1098,185,824,236,823,231,1097,179"/>
<area shape="rect" title=" " alt="" coords="1514,237,1568,264"/>
<area shape="poly" title=" " alt="" coords="1237,175,1359,194,1428,209,1496,227,1502,229,1500,234,1495,232,1427,214,1358,199,1236,180"/>
<area shape="rect" title=" " alt="" coords="1026,237,1101,264"/>
<area shape="poly" title=" " alt="" coords="1150,184,1092,230,1089,226,1146,180"/>
<area shape="rect" title=" " alt="" coords="1125,237,1202,264"/>
<area shape="poly" title=" " alt="" coords="1166,182,1166,222,1161,222,1161,182"/>
<area shape="rect" title=" " alt="" coords="1227,237,1316,264"/>
<area shape="poly" title=" " alt="" coords="1182,180,1244,226,1241,230,1179,184"/>
<area shape="rect" href="_b_n_o08x_rpt_acceleration_8hpp.html" title=" " alt="" coords="1591,237,1779,264"/>
<area shape="poly" title=" " alt="" coords="3628,173,3266,178,2734,189,2191,206,1963,218,1792,232,1759,237,1758,231,1791,227,1963,213,2191,201,2734,183,3266,173,3628,167"/>
<area shape="rect" href="_b_n_o08x_rpt_linear_acceleration_8hpp.html" title=" " alt="" coords="1803,237,2025,264"/>
<area shape="poly" title=" " alt="" coords="3628,171,3369,172,2977,179,2513,197,2273,212,2038,232,1998,237,1997,232,2038,227,2273,207,2513,192,2977,173,3369,167,3628,166"/>
<area shape="rect" href="_b_n_o08x_rpt_gravity_8hpp.html" title=" " alt="" coords="2050,237,2205,264"/>
<area shape="poly" title=" " alt="" coords="3628,173,2930,191,2519,208,2347,219,2217,232,2191,236,2190,231,2216,227,2347,214,2518,203,2930,185,3627,168"/>
<area shape="rect" href="_b_n_o08x_rpt_cal_magnetometer_8hpp.html" title=" " alt="" coords="2230,237,2447,264"/>
<area shape="poly" title=" " alt="" coords="3627,173,3427,176,3138,185,2801,203,2458,232,2420,237,2420,232,2458,227,2801,198,3138,180,3427,171,3627,167"/>
<area shape="rect" href="_b_n_o08x_rpt_uncal_magnetometer_8hpp.html" title=" " alt="" coords="2471,237,2702,264"/>
<area shape="poly" title=" " alt="" coords="3628,174,3238,191,2978,208,2714,232,2675,237,2674,232,2714,227,2978,203,3238,186,3627,169"/>
<area shape="rect" href="_b_n_o08x_rpt_cal_gyro_8hpp.html" title=" " alt="" coords="2726,237,2889,264"/>
<area shape="poly" title=" " alt="" coords="3628,174,3312,190,3107,207,2901,232,2875,236,2874,231,2900,227,3107,202,3312,185,3627,169"/>
<area shape="rect" href="_b_n_o08x_rpt_uncal_gyro_8hpp.html" title=" " alt="" coords="2913,237,3089,264"/>
<area shape="poly" title=" " alt="" coords="3628,177,3393,197,3248,213,3101,232,3074,236,3073,231,3100,227,3247,207,3393,192,3627,172"/>
<area shape="rect" href="_b_n_o08x_rpt_r_v_8hpp.html" title=" " alt="" coords="3113,237,3246,264"/>
<area shape="poly" title=" " alt="" coords="3628,179,3459,200,3259,232,3241,236,3240,231,3258,227,3458,194,3627,174"/>
<area shape="rect" href="_b_n_o08x_rpt_game_r_v_8hpp.html" title=" " alt="" coords="3270,237,3438,264"/>
<area shape="poly" title=" " alt="" coords="3645,185,3424,236,3423,231,3643,179"/>
<area shape="rect" href="_b_n_o08x_rpt_a_r_v_r_stabilized_r_v_8hpp.html" title=" " alt="" coords="3462,237,3689,264"/>
<area shape="poly" title=" " alt="" coords="3680,184,3608,231,3605,227,3678,180"/>
<area shape="rect" href="_b_n_o08x_rpt_a_r_v_r_stabilized_game_r_v_8hpp.html" title=" " alt="" coords="3713,229,3931,272"/>
<area shape="poly" title=" " alt="" coords="3719,180,3779,219,3777,223,3716,184"/>
<area shape="rect" href="_b_n_o08x_rpt_i_gyro_r_v_8hpp.html" title=" " alt="" coords="3956,237,4120,264"/>
<area shape="poly" title=" " alt="" coords="3752,179,3970,231,3969,236,3751,185"/>
<area shape="rect" href="_b_n_o08x_rpt_r_v_geomag_8hpp.html" title=" " alt="" coords="4144,237,4327,264"/>
<area shape="poly" title=" " alt="" coords="3769,175,3935,197,4133,227,4159,231,4159,237,4132,232,3935,202,3768,181"/>
<area shape="rect" href="_b_n_o08x_rpt_raw_m_e_m_s_gyro_8hpp.html" title=" " alt="" coords="4351,237,4560,264"/>
<area shape="poly" title=" " alt="" coords="3769,172,4021,192,4339,227,4372,232,4371,237,4338,232,4020,197,3769,177"/>
<area shape="rect" href="_b_n_o08x_rpt_raw_m_e_m_s_accelerometer_8hpp.html" title=" " alt="" coords="4583,237,4848,264"/>
<area shape="poly" title=" " alt="" coords="3769,170,4114,189,4342,206,4572,227,4617,232,4617,237,4571,232,4341,211,4114,195,3768,175"/>
<area shape="rect" href="_b_n_o08x_rpt_raw_m_e_m_s_magnetometer_8hpp.html" title=" " alt="" coords="4872,237,5135,264"/>
<area shape="poly" title=" " alt="" coords="3768,168,4227,184,4541,202,4860,227,4907,232,4906,237,4859,232,4540,207,4227,190,3768,174"/>
<area shape="rect" href="_b_n_o08x_rpt_step_counter_8hpp.html" title=" " alt="" coords="5159,237,5347,264"/>
<area shape="poly" title=" " alt="" coords="3769,166,3999,166,4340,173,4740,191,4946,207,5148,227,5180,231,5179,237,5147,232,4945,212,4739,197,4340,178,3999,172,3769,171"/>
<area shape="rect" href="_b_n_o08x_rpt_activity_classifier_8hpp.html" title=" " alt="" coords="5370,237,5581,264"/>
<area shape="poly" title=" " alt="" coords="3769,166,4028,166,4420,172,4884,190,5123,206,5358,227,5396,232,5395,237,5358,232,5123,211,4883,196,4420,177,4028,171,3769,171"/>
<area shape="rect" href="_b_n_o08x_rpt_stability_classifier_8hpp.html" title=" " alt="" coords="5605,237,5821,264"/>
<area shape="poly" title=" " alt="" coords="3769,168,4656,185,5196,203,5422,214,5593,227,5632,232,5632,237,5593,232,5422,219,5196,208,4656,191,3769,173"/>
<area shape="rect" href="_b_n_o08x_rpt_shake_detector_8hpp.html" title=" " alt="" coords="5844,237,6046,264"/>
<area shape="poly" title=" " alt="" coords="3769,167,4169,172,4766,182,5381,200,5639,212,5833,227,5869,232,5868,237,5833,232,5638,217,5381,205,4766,187,4169,177,3769,173"/>
<area shape="rect" href="_b_n_o08x_rpt_tap_detector_8hpp.html" title=" " alt="" coords="6070,237,6255,264"/>
<area shape="poly" title=" " alt="" coords="3769,167,4206,170,4869,179,5554,197,5842,210,6058,227,6091,231,6090,237,6058,232,5841,215,5554,202,4869,184,4206,175,3769,172"/>
</map>
</div>
</div><a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><dl class="section author"><dt>Author</dt><dd>Myles Parfeniuk </dd></dl>
</div></div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
2024-12-27 02:02:09 +00:00
<li class="navelem"><a class="el" href="dir_b2f33c71d4aa5e7af42a1ca61ff5af1b.html">source</a></li><li class="navelem"><a class="el" href="_b_n_o08x_8cpp.html">BNO08x.cpp</a></li>
2024-12-06 04:09:30 +00:00
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.10.0 </li>
</ul>
</div>
</body>
</html>