esp32_BNO08x/documentation/html/class_b_n_o08x_rpt.html

1160 lines
96 KiB
HTML
Raw Normal View History

<!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">
<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.9.4"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>esp32_BNO08x: BNO08xRpt Class Reference</title>
<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>
<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>
<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">
<div id="projectname">esp32_BNO08x<span id="projectnumber">&#160;1.4</span>
</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.9.4 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search",'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');
$(document).ready(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 */
$(document).ready(function(){initNavTree('class_b_n_o08x_rpt.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">
<iframe src="javascript:void(0)" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>
<div class="header">
<div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pro-methods">Protected Member Functions</a> &#124;
<a href="#pro-attribs">Protected Attributes</a> &#124;
<a href="#pro-static-attribs">Static Protected Attributes</a> &#124;
<a href="#friends">Friends</a> &#124;
<a href="class_b_n_o08x_rpt-members.html">List of all members</a> </div>
<div class="headertitle"><div class="title">BNO08xRpt Class Reference<span class="mlabels"><span class="mlabel">abstract</span></span></div></div>
</div><!--header-->
<div class="contents">
<p>Class to represent and manage reports returned from <a class="el" href="class_b_n_o08x.html" title="BNO08x IMU driver class.">BNO08x</a>.
<a href="class_b_n_o08x_rpt.html#details">More...</a></p>
<p><code>#include &lt;<a class="el" href="_b_n_o08x_rpt_8hpp_source.html">report/BNO08xRpt.hpp</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for BNO08xRpt:</div>
<div class="dyncontent">
<div class="center"><img src="class_b_n_o08x_rpt__inherit__graph.png" border="0" usemap="#a_b_n_o08x_rpt_inherit__map" alt="Inheritance graph"/></div>
<map name="a_b_n_o08x_rpt_inherit__map" id="a_b_n_o08x_rpt_inherit__map">
<area shape="rect" title="Class to represent and manage reports returned from BNO08x." alt="" coords="5,385,103,412"/>
<area shape="rect" href="class_b_n_o08x_rpt_acceleration.html" title="Class to represent accelerometer reports. (See Ref. Manual 6.5.9)" alt="" coords="192,5,371,32"/>
<area shape="rect" href="class_b_n_o08x_rpt_activity_classifier.html" title="Class to represent activity classifier reports. (See Ref. Manual 6.5.36)" alt="" coords="178,56,385,83"/>
<area shape="rect" href="class_b_n_o08x_rpt_cal_gyro.html" title="Class to represent calibrated gyro reports. (See Ref. Manual 6.5.13)" alt="" coords="207,107,356,133"/>
<area shape="rect" href="class_b_n_o08x_rpt_cal_magnetometer.html" title="Class to represent calibrated magnetometer reports. (See Ref. Manual 6.5.16)" alt="" coords="174,157,389,184"/>
<area shape="rect" href="class_b_n_o08x_rpt_gravity.html" title="Class to represent gravity reports. (See Ref. Manual 6.5.11)" alt="" coords="209,208,354,235"/>
<area shape="rect" href="class_b_n_o08x_rpt_linear_acceleration.html" title="Class to represent linear accelerometer reports. (See Ref. Manual 6.5.10)" alt="" coords="172,259,391,285"/>
<area shape="rect" href="class_b_n_o08x_rpt_r_v_generic.html" title="Class to represent rotation vector reports." alt="" coords="199,309,364,336"/>
<area shape="rect" href="class_b_n_o08x_rpt_raw_m_e_m_s_accelerometer.html" title="Class to represent raw accelerometer reports. (See Ref. Manual 6.5.8)" alt="" coords="151,360,412,387"/>
<area shape="rect" href="class_b_n_o08x_rpt_raw_m_e_m_s_gyro.html" title="Class to represent raw gyro reports. (See Ref. Manual 6.5.12)" alt="" coords="183,411,379,437"/>
<area shape="rect" href="class_b_n_o08x_rpt_raw_m_e_m_s_magnetometer.html" title="Class to represent raw magnetometer reports. (See Ref. Manual 6.5.15)" alt="" coords="151,461,412,488"/>
<area shape="rect" href="class_b_n_o08x_rpt_shake_detector.html" title="Class to represent shake detector reports. (See Ref. Manual 6.5.32)" alt="" coords="185,512,377,539"/>
<area shape="rect" href="class_b_n_o08x_rpt_stability_classifier.html" title="Class to represent stability classifier reports. (See Ref. Manual 6.5.31)" alt="" coords="176,563,387,589"/>
<area shape="rect" href="class_b_n_o08x_rpt_step_counter.html" title="Class to represent step counter reports. (See Ref. Manual 6.5.29)" alt="" coords="193,613,370,640"/>
<area shape="rect" href="class_b_n_o08x_rpt_tap_detector.html" title="Class to represent tap detector reports. (See Ref. Manual 6.5.27)" alt="" coords="194,664,369,691"/>
<area shape="rect" href="class_b_n_o08x_rpt_uncal_gyro.html" title="Class to represent uncalibrated gyro reports. (See Ref. Manual 6.5.14)" alt="" coords="199,715,364,741"/>
<area shape="rect" href="class_b_n_o08x_rpt_uncal_magnetometer.html" title="Class to represent uncalibrated magnetometer reports. (See Ref. Manual 6.5.17)" alt="" coords="166,765,397,792"/>
<area shape="rect" href="class_b_n_o08x_rpt_a_r_v_r_stabilized_game_r_v.html" title="Class to represent ARVR stabilized rotation vector reports. (See Ref. Manual 6.5.43)" alt="" coords="460,183,715,209"/>
<area shape="rect" href="class_b_n_o08x_rpt_a_r_v_r_stabilized_r_v.html" title="Class to represent ARVR stabilized rotation vector reports. (See Ref. Manual 6.5.42)" alt="" coords="480,233,695,260"/>
<area shape="rect" href="class_b_n_o08x_rpt_game_r_v.html" title="Class to represent game rotation vector reports. (See Ref. Manual 6.5.19)" alt="" coords="510,284,665,311"/>
<area shape="rect" href="class_b_n_o08x_rpt_i_gyro_r_v.html" title="Class to represent integrated gyro rotation vector reports. (See Ref. Manual 6.5.44)" alt="" coords="512,335,663,361"/>
<area shape="rect" href="class_b_n_o08x_rpt_r_v.html" title="Class to represent rotation vector reports. (See Ref. Manual 6.5.18)" alt="" coords="530,385,645,412"/>
<area shape="rect" href="class_b_n_o08x_rpt_r_v_geomag.html" title="Class to represent geomagnetic rotation vector reports. (See Ref. Manual 6.5.20)" alt="" coords="502,436,673,463"/>
</map>
<center><span class="legend">[<a target="top" href="graph_legend.html">legend</a>]</span></center></div>
<div class="dynheader">
Collaboration diagram for BNO08xRpt:</div>
<div class="dyncontent">
<div class="center"><img src="class_b_n_o08x_rpt__coll__graph.png" border="0" usemap="#a_b_n_o08x_rpt_coll__map" alt="Collaboration graph"/></div>
<map name="a_b_n_o08x_rpt_coll__map" id="a_b_n_o08x_rpt_coll__map">
<area shape="rect" title="Class to represent and manage reports returned from BNO08x." alt="" coords="36,109,133,136"/>
<area shape="rect" href="struct_b_n_o08x_private_types_1_1bno08x__sync__ctx__t.html" title="Holds context used to synchronize tasks and callback execution." alt="" coords="5,5,164,47"/>
</map>
<center><span class="legend">[<a target="top" href="graph_legend.html">legend</a>]</span></center></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-methods" name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a7d147e7540a4c6aa19749844e14cdadc"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_b_n_o08x_rpt.html#a7d147e7540a4c6aa19749844e14cdadc">disable</a> (sh2_SensorConfig_t sensor_cfg=BNO08xPrivateTypes::default_sensor_cfg)</td></tr>
<tr class="memdesc:a7d147e7540a4c6aa19749844e14cdadc"><td class="mdescLeft">&#160;</td><td class="mdescRight">Disables a sensor report by setting its period to 0us such that the <a class="el" href="class_b_n_o08x.html" title="BNO08x IMU driver class.">BNO08x</a> stops sending it. <a href="class_b_n_o08x_rpt.html#a7d147e7540a4c6aa19749844e14cdadc">More...</a><br /></td></tr>
<tr class="separator:a7d147e7540a4c6aa19749844e14cdadc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5b542b28c81fcd05cf2e3f3d2d437d46"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_b_n_o08x_rpt.html#a5b542b28c81fcd05cf2e3f3d2d437d46">register_cb</a> (std::function&lt; void(void)&gt; cb_fxn)</td></tr>
<tr class="memdesc:a5b542b28c81fcd05cf2e3f3d2d437d46"><td class="mdescLeft">&#160;</td><td class="mdescRight">Registers a callback to execute when new data from a specific report is received. <a href="class_b_n_o08x_rpt.html#a5b542b28c81fcd05cf2e3f3d2d437d46">More...</a><br /></td></tr>
<tr class="separator:a5b542b28c81fcd05cf2e3f3d2d437d46"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a74f6037286b51382535bab61680297ed"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_b_n_o08x_rpt.html#a74f6037286b51382535bab61680297ed">has_new_data</a> ()</td></tr>
<tr class="memdesc:a74f6037286b51382535bab61680297ed"><td class="mdescLeft">&#160;</td><td class="mdescRight">Checks if a new report has been received since the last time this function was called. <a href="class_b_n_o08x_rpt.html#a74f6037286b51382535bab61680297ed">More...</a><br /></td></tr>
<tr class="separator:a74f6037286b51382535bab61680297ed"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab3bb962696b135841ef7313bc631fc72"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_b_n_o08x_rpt.html#ab3bb962696b135841ef7313bc631fc72">flush</a> ()</td></tr>
<tr class="memdesc:ab3bb962696b135841ef7313bc631fc72"><td class="mdescLeft">&#160;</td><td class="mdescRight">Flush all buffered reports for this sensor/report module. <a href="class_b_n_o08x_rpt.html#ab3bb962696b135841ef7313bc631fc72">More...</a><br /></td></tr>
<tr class="separator:ab3bb962696b135841ef7313bc631fc72"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7ce8e48cadf59f49068af7f1cb680b38"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_b_n_o08x_rpt.html#a7ce8e48cadf59f49068af7f1cb680b38">get_sample_counts</a> (<a class="el" href="structbno08x__sample__counts__t.html">bno08x_sample_counts_t</a> &amp;sample_counts)</td></tr>
<tr class="memdesc:a7ce8e48cadf59f49068af7f1cb680b38"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets sample counts for this sensor (see SH-2 ref manual 6.4.3.1) <a href="class_b_n_o08x_rpt.html#a7ce8e48cadf59f49068af7f1cb680b38">More...</a><br /></td></tr>
<tr class="separator:a7ce8e48cadf59f49068af7f1cb680b38"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1418be33824d3102dbc8f92558a402a6"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_b_n_o08x_rpt.html#a1418be33824d3102dbc8f92558a402a6">clear_sample_counts</a> ()</td></tr>
<tr class="memdesc:a1418be33824d3102dbc8f92558a402a6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Clears <a class="el" href="class_b_n_o08x.html" title="BNO08x IMU driver class.">BNO08x</a> internal sample counts for this sensor. (see SH-2 ref manual 6.4.3.1) <a href="class_b_n_o08x_rpt.html#a1418be33824d3102dbc8f92558a402a6">More...</a><br /></td></tr>
<tr class="separator:a1418be33824d3102dbc8f92558a402a6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad5b054279b01204f61b4c0408acf51cf"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_b_n_o08x_rpt.html#ad5b054279b01204f61b4c0408acf51cf">get_meta_data</a> (<a class="el" href="structbno08x__meta__data__t.html">bno08x_meta_data_t</a> &amp;meta_data)</td></tr>
<tr class="memdesc:ad5b054279b01204f61b4c0408acf51cf"><td class="mdescLeft">&#160;</td><td class="mdescRight">Retrieves meta data for this sensor/report by reading respective record in FRS (flash record system). <a href="class_b_n_o08x_rpt.html#ad5b054279b01204f61b4c0408acf51cf">More...</a><br /></td></tr>
<tr class="separator:ad5b054279b01204f61b4c0408acf51cf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4ee529725467412df396d5c610ff7bb4"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_b_n_o08x_rpt.html#a4ee529725467412df396d5c610ff7bb4">enable</a> (uint32_t time_between_reports, sh2_SensorConfig_t sensor_cfg=BNO08xPrivateTypes::default_sensor_cfg)=0</td></tr>
<tr class="separator:a4ee529725467412df396d5c610ff7bb4"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pro-methods" name="pro-methods"></a>
Protected Member Functions</h2></td></tr>
<tr class="memitem:aa0bed98a9a497d1f39e8245d05b02e9c"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_b_n_o08x_rpt.html#aa0bed98a9a497d1f39e8245d05b02e9c">rpt_enable</a> (uint32_t time_between_reports, sh2_SensorConfig_t sensor_cfg=BNO08xPrivateTypes::default_sensor_cfg)</td></tr>
<tr class="memdesc:aa0bed98a9a497d1f39e8245d05b02e9c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Enables a sensor report such that the <a class="el" href="class_b_n_o08x.html" title="BNO08x IMU driver class.">BNO08x</a> begins sending it. <a href="class_b_n_o08x_rpt.html#aa0bed98a9a497d1f39e8245d05b02e9c">More...</a><br /></td></tr>
<tr class="separator:aa0bed98a9a497d1f39e8245d05b02e9c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a970fb7e7d3745c62fec626f0ccf0759f"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_b_n_o08x_rpt.html#a970fb7e7d3745c62fec626f0ccf0759f">update_data</a> (sh2_SensorValue_t *sensor_val)=0</td></tr>
<tr class="separator:a970fb7e7d3745c62fec626f0ccf0759f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a15e8eebe3fe90ac19837e3860c76374c"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_b_n_o08x_rpt.html#a15e8eebe3fe90ac19837e3860c76374c">BNO08xRpt</a> (uint8_t <a class="el" href="class_b_n_o08x_rpt.html#a63cd4ac9e96baa43eebe580f03307512">ID</a>, EventBits_t <a class="el" href="class_b_n_o08x_rpt.html#ae78feab5682a4697c5acad3ca6f12c2e">rpt_bit</a>, <a class="el" href="struct_b_n_o08x_private_types_1_1bno08x__sync__ctx__t.html">BNO08xPrivateTypes::bno08x_sync_ctx_t</a> *<a class="el" href="class_b_n_o08x_rpt.html#a5a1404a08918d66bb0f41f55220db6e5">sync_ctx</a>)</td></tr>
<tr class="memdesc:a15e8eebe3fe90ac19837e3860c76374c"><td class="mdescLeft">&#160;</td><td class="mdescRight"><a class="el" href="class_b_n_o08x_rpt.html" title="Class to represent and manage reports returned from BNO08x.">BNO08xRpt</a> report constructor. <a href="class_b_n_o08x_rpt.html#a15e8eebe3fe90ac19837e3860c76374c">More...</a><br /></td></tr>
<tr class="separator:a15e8eebe3fe90ac19837e3860c76374c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a61e3451e93806e1b7eaf5f1387726765"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_b_n_o08x_rpt.html#a61e3451e93806e1b7eaf5f1387726765">unlock_sh2_HAL</a> ()</td></tr>
<tr class="memdesc:a61e3451e93806e1b7eaf5f1387726765"><td class="mdescLeft">&#160;</td><td class="mdescRight">Unlocks sh2 HAL lib to allow other tasks to call its APIs. <a href="class_b_n_o08x_rpt.html#a61e3451e93806e1b7eaf5f1387726765">More...</a><br /></td></tr>
<tr class="separator:a61e3451e93806e1b7eaf5f1387726765"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7a5619a74c1237c5abde2e4bd6619d12"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_b_n_o08x_rpt.html#a7a5619a74c1237c5abde2e4bd6619d12">lock_sh2_HAL</a> ()</td></tr>
<tr class="memdesc:a7a5619a74c1237c5abde2e4bd6619d12"><td class="mdescLeft">&#160;</td><td class="mdescRight">Locks sh2 HAL lib to only allow the calling task to call its APIs. <a href="class_b_n_o08x_rpt.html#a7a5619a74c1237c5abde2e4bd6619d12">More...</a><br /></td></tr>
<tr class="separator:a7a5619a74c1237c5abde2e4bd6619d12"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a26bacc572187119339ec248bb4e7d6f3"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_b_n_o08x_rpt.html#a26bacc572187119339ec248bb4e7d6f3">unlock_user_data</a> ()</td></tr>
<tr class="memdesc:a26bacc572187119339ec248bb4e7d6f3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Unlocks user data to allow other tasks to read/modify it. <a href="class_b_n_o08x_rpt.html#a26bacc572187119339ec248bb4e7d6f3">More...</a><br /></td></tr>
<tr class="separator:a26bacc572187119339ec248bb4e7d6f3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a48e7b1a2c2ebc6b1f2f292735c0832a0"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_b_n_o08x_rpt.html#a48e7b1a2c2ebc6b1f2f292735c0832a0">lock_user_data</a> ()</td></tr>
<tr class="memdesc:a48e7b1a2c2ebc6b1f2f292735c0832a0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Locks locks user data to only allow the calling task to read/modify it. <a href="class_b_n_o08x_rpt.html#a48e7b1a2c2ebc6b1f2f292735c0832a0">More...</a><br /></td></tr>
<tr class="separator:a48e7b1a2c2ebc6b1f2f292735c0832a0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a47a623eb0a1db51af76a03a103c32329"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_b_n_o08x_rpt.html#a47a623eb0a1db51af76a03a103c32329">signal_data_available</a> ()</td></tr>
<tr class="memdesc:a47a623eb0a1db51af76a03a103c32329"><td class="mdescLeft">&#160;</td><td class="mdescRight">Signals to <a class="el" href="class_b_n_o08x.html#a367d525d1c0ba119b3dca3067bb5bccc" title="Polls for new data/report to become available.">BNO08x::data_available()</a> that a new report has arrived. <a href="class_b_n_o08x_rpt.html#a47a623eb0a1db51af76a03a103c32329">More...</a><br /></td></tr>
<tr class="separator:a47a623eb0a1db51af76a03a103c32329"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pro-attribs" name="pro-attribs"></a>
Protected Attributes</h2></td></tr>
<tr class="memitem:a63cd4ac9e96baa43eebe580f03307512"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_b_n_o08x_rpt.html#a63cd4ac9e96baa43eebe580f03307512">ID</a></td></tr>
<tr class="memdesc:a63cd4ac9e96baa43eebe580f03307512"><td class="mdescLeft">&#160;</td><td class="mdescRight">Report ID, ex. SH2_ACCELERATION. <a href="class_b_n_o08x_rpt.html#a63cd4ac9e96baa43eebe580f03307512">More...</a><br /></td></tr>
<tr class="separator:a63cd4ac9e96baa43eebe580f03307512"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae78feab5682a4697c5acad3ca6f12c2e"><td class="memItemLeft" align="right" valign="top">EventBits_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_b_n_o08x_rpt.html#ae78feab5682a4697c5acad3ca6f12c2e">rpt_bit</a></td></tr>
<tr class="memdesc:ae78feab5682a4697c5acad3ca6f12c2e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Respective enable and data bit for report in evt_grp_rpt_en and evt_grp_rpt_data. <a href="class_b_n_o08x_rpt.html#ae78feab5682a4697c5acad3ca6f12c2e">More...</a><br /></td></tr>
<tr class="separator:ae78feab5682a4697c5acad3ca6f12c2e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1d4d6f4cc6f1eae503863eedf7fb9f52"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_b_n_o08x_rpt.html#a1d4d6f4cc6f1eae503863eedf7fb9f52">period_us</a></td></tr>
<tr class="memdesc:a1d4d6f4cc6f1eae503863eedf7fb9f52"><td class="mdescLeft">&#160;</td><td class="mdescRight">The period/interval of the report in microseconds. <a href="class_b_n_o08x_rpt.html#a1d4d6f4cc6f1eae503863eedf7fb9f52">More...</a><br /></td></tr>
<tr class="separator:a1d4d6f4cc6f1eae503863eedf7fb9f52"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5a1404a08918d66bb0f41f55220db6e5"><td class="memItemLeft" align="right" valign="top"><a class="el" href="struct_b_n_o08x_private_types_1_1bno08x__sync__ctx__t.html">BNO08xPrivateTypes::bno08x_sync_ctx_t</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_b_n_o08x_rpt.html#a5a1404a08918d66bb0f41f55220db6e5">sync_ctx</a></td></tr>
<tr class="separator:a5a1404a08918d66bb0f41f55220db6e5"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pro-static-attribs" name="pro-static-attribs"></a>
Static Protected Attributes</h2></td></tr>
<tr class="memitem:a201aeb71fefb0d9d485914176a82dd80"><td class="memItemLeft" align="right" valign="top">static const constexpr float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_b_n_o08x_rpt.html#a201aeb71fefb0d9d485914176a82dd80">RAD_2_DEG</a></td></tr>
<tr class="memdesc:a201aeb71fefb0d9d485914176a82dd80"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constant for radian to degree conversions, sed in quaternion to euler function conversions. <a href="class_b_n_o08x_rpt.html#a201aeb71fefb0d9d485914176a82dd80">More...</a><br /></td></tr>
<tr class="separator:a201aeb71fefb0d9d485914176a82dd80"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2c57f370fb08b793bb10ec22d5acca45"><td class="memItemLeft" align="right" valign="top">static const constexpr char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_b_n_o08x_rpt.html#a2c57f370fb08b793bb10ec22d5acca45">TAG</a> = &quot;BNO08xRpt&quot;</td></tr>
<tr class="separator:a2c57f370fb08b793bb10ec22d5acca45"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="friends" name="friends"></a>
Friends</h2></td></tr>
<tr class="memitem:a9313d906399750f09e3fe4dae87cec15"><td class="memItemLeft" align="right" valign="top">class&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_b_n_o08x_rpt.html#a9313d906399750f09e3fe4dae87cec15">BNO08x</a></td></tr>
<tr class="separator:a9313d906399750f09e3fe4dae87cec15"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p >Class to represent and manage reports returned from <a class="el" href="class_b_n_o08x.html" title="BNO08x IMU driver class.">BNO08x</a>. </p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="a15e8eebe3fe90ac19837e3860c76374c" name="a15e8eebe3fe90ac19837e3860c76374c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a15e8eebe3fe90ac19837e3860c76374c">&#9670;&nbsp;</a></span>BNO08xRpt()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">BNO08xRpt::BNO08xRpt </td>
<td>(</td>
<td class="paramtype">uint8_t&#160;</td>
<td class="paramname"><em>ID</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">EventBits_t&#160;</td>
<td class="paramname"><em>rpt_bit</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="struct_b_n_o08x_private_types_1_1bno08x__sync__ctx__t.html">BNO08xPrivateTypes::bno08x_sync_ctx_t</a> *&#160;</td>
<td class="paramname"><em>sync_ctx</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">protected</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p><a class="el" href="class_b_n_o08x_rpt.html" title="Class to represent and manage reports returned from BNO08x.">BNO08xRpt</a> report constructor. </p>
<p >Construct a <a class="el" href="class_b_n_o08x_rpt.html" title="Class to represent and manage reports returned from BNO08x.">BNO08xRpt</a> object for managing a <a class="el" href="class_b_n_o08x.html" title="BNO08x IMU driver class.">BNO08x</a> sensor report.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">imu</td><td>Pointer to <a class="el" href="class_b_n_o08x.html" title="BNO08x IMU driver class.">BNO08x</a> imu object. </td></tr>
<tr><td class="paramname">report_ID</td><td>Report ID, ex. SH2_ACCELERATION. </td></tr>
<tr><td class="paramname">rpt_bit</td><td>Respective enable bit for report in BNO08x::evt_grp_report_en. </td></tr>
<tr><td class="paramname">period_us</td><td>The period/interval of the report in microseconds.</td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>void, nothing to return </dd></dl>
</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="a1418be33824d3102dbc8f92558a402a6" name="a1418be33824d3102dbc8f92558a402a6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1418be33824d3102dbc8f92558a402a6">&#9670;&nbsp;</a></span>clear_sample_counts()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool BNO08xRpt::clear_sample_counts </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Clears <a class="el" href="class_b_n_o08x.html" title="BNO08x IMU driver class.">BNO08x</a> internal sample counts for this sensor. (see SH-2 ref manual 6.4.3.1) </p>
<dl class="section return"><dt>Returns</dt><dd>True clear counts operation succeeded. </dd></dl>
<div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="class_b_n_o08x_rpt_a1418be33824d3102dbc8f92558a402a6_cgraph.png" border="0" usemap="#aclass_b_n_o08x_rpt_a1418be33824d3102dbc8f92558a402a6_cgraph" alt=""/></div>
<map name="aclass_b_n_o08x_rpt_a1418be33824d3102dbc8f92558a402a6_cgraph" id="aclass_b_n_o08x_rpt_a1418be33824d3102dbc8f92558a402a6_cgraph">
<area shape="rect" title="Clears BNO08x internal sample counts for this sensor. (see SH&#45;2 ref manual 6.4.3.1)" alt="" coords="5,23,197,65"/>
<area shape="rect" href="class_b_n_o08x_rpt.html#a7a5619a74c1237c5abde2e4bd6619d12" title="Locks sh2 HAL lib to only allow the calling task to call its APIs." alt="" coords="253,5,448,32"/>
<area shape="rect" href="class_b_n_o08x_rpt.html#a61e3451e93806e1b7eaf5f1387726765" title="Unlocks sh2 HAL lib to allow other tasks to call its APIs." alt="" coords="245,56,456,83"/>
</map>
</div>
</div>
</div>
<a id="a7d147e7540a4c6aa19749844e14cdadc" name="a7d147e7540a4c6aa19749844e14cdadc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7d147e7540a4c6aa19749844e14cdadc">&#9670;&nbsp;</a></span>disable()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool BNO08xRpt::disable </td>
<td>(</td>
<td class="paramtype">sh2_SensorConfig_t&#160;</td>
<td class="paramname"><em>sensor_cfg</em> = <code>BNO08xPrivateTypes::default_sensor_cfg</code></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Disables a sensor report by setting its period to 0us such that the <a class="el" href="class_b_n_o08x.html" title="BNO08x IMU driver class.">BNO08x</a> stops sending it. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">sensor_ID</td><td>The ID of the sensor for the respective report to be disabled. </td></tr>
<tr><td class="paramname">sensor_cfg</td><td>Sensor special configuration.</td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>ESP_OK if report was successfully disabled. </dd></dl>
<div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="class_b_n_o08x_rpt_a7d147e7540a4c6aa19749844e14cdadc_cgraph.png" border="0" usemap="#aclass_b_n_o08x_rpt_a7d147e7540a4c6aa19749844e14cdadc_cgraph" alt=""/></div>
<map name="aclass_b_n_o08x_rpt_a7d147e7540a4c6aa19749844e14cdadc_cgraph" id="aclass_b_n_o08x_rpt_a7d147e7540a4c6aa19749844e14cdadc_cgraph">
<area shape="rect" title="Disables a sensor report by setting its period to 0us such that the BNO08x stops sending it." alt="" coords="5,81,157,108"/>
<area shape="rect" href="class_b_n_o08x_rpt.html#a7a5619a74c1237c5abde2e4bd6619d12" title="Locks sh2 HAL lib to only allow the calling task to call its APIs." alt="" coords="217,5,412,32"/>
<area shape="rect" href="class_b_n_o08x_rpt.html#a48e7b1a2c2ebc6b1f2f292735c0832a0" title="Locks locks user data to only allow the calling task to read/modify it." alt="" coords="213,56,416,83"/>
<area shape="rect" href="class_b_n_o08x_rpt.html#a61e3451e93806e1b7eaf5f1387726765" title="Unlocks sh2 HAL lib to allow other tasks to call its APIs." alt="" coords="209,107,420,133"/>
<area shape="rect" href="class_b_n_o08x_rpt.html#a26bacc572187119339ec248bb4e7d6f3" title="Unlocks user data to allow other tasks to read/modify it." alt="" coords="205,157,424,184"/>
</map>
</div>
</div>
</div>
<a id="a4ee529725467412df396d5c610ff7bb4" name="a4ee529725467412df396d5c610ff7bb4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4ee529725467412df396d5c610ff7bb4">&#9670;&nbsp;</a></span>enable()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual bool BNO08xRpt::enable </td>
<td>(</td>
<td class="paramtype">uint32_t&#160;</td>
<td class="paramname"><em>time_between_reports</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">sh2_SensorConfig_t&#160;</td>
<td class="paramname"><em>sensor_cfg</em> = <code>BNO08xPrivateTypes::default_sensor_cfg</code>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Implemented in <a class="el" href="class_b_n_o08x_rpt_acceleration.html#a8fde5eefac5f9d714263047426eeee4f">BNO08xRptAcceleration</a>, <a class="el" href="class_b_n_o08x_rpt_activity_classifier.html#a631329523ddaf17f2e93cd0546a42823">BNO08xRptActivityClassifier</a>, <a class="el" href="class_b_n_o08x_rpt_cal_gyro.html#aeb49d86610427c915dc9e58fcba6fddc">BNO08xRptCalGyro</a>, <a class="el" href="class_b_n_o08x_rpt_cal_magnetometer.html#a9a371f613ff5053d2227faeebe941393">BNO08xRptCalMagnetometer</a>, <a class="el" href="class_b_n_o08x_rpt_gravity.html#a5bb33cf233c6721fac992e447bd5b571">BNO08xRptGravity</a>, <a class="el" href="class_b_n_o08x_rpt_linear_acceleration.html#a4584a181ae543919a851f8f288a316ed">BNO08xRptLinearAcceleration</a>, <a class="el" href="class_b_n_o08x_rpt_raw_m_e_m_s_accelerometer.html#a3cfc735c048700fe79a5674ad92b4b03">BNO08xRptRawMEMSAccelerometer</a>, <a class="el" href="class_b_n_o08x_rpt_raw_m_e_m_s_gyro.html#ae872f24befd81352f812bc998acb573d">BNO08xRptRawMEMSGyro</a>, <a class="el" href="class_b_n_o08x_rpt_raw_m_e_m_s_magnetometer.html#a92832fd0bff6abddbbd87779de5b57fb">BNO08xRptRawMEMSMagnetometer</a>, <a class="el" href="class_b_n_o08x_rpt_r_v_generic.html#a17c6cf89a5f7bf5c3fb9f8ff3ed74e8e">BNO08xRptRVGeneric</a>, <a class="el" href="class_b_n_o08x_rpt_shake_detector.html#aa28fa73b51bd892f0239e647aa6ceeb8">BNO08xRptShakeDetector</a>, <a class="el" href="class_b_n_o08x_rpt_stability_classifier.html#a4959110a01f638d04d87696d8a03dd60">BNO08xRptStabilityClassifier</a>, <a class="el" href="class_b_n_o08x_rpt_step_counter.html#adf0a697561b064a7dd90a44009efbcf1">BNO08xRptStepCounter</a>, <a class="el" href="class_b_n_o08x_rpt_tap_detector.html#ad8b716b7a2f2c2f52113eaaf75a391dc">BNO08xRptTapDetector</a>, <a class="el" href="class_b_n_o08x_rpt_uncal_gyro.html#a404d36091a61af543c6fec7b6e077706">BNO08xRptUncalGyro</a>, and <a class="el" href="class_b_n_o08x_rpt_uncal_magnetometer.html#a80ae48107ca1cc27551fd799625f2867">BNO08xRptUncalMagnetometer</a>.</p>
</div>
</div>
<a id="ab3bb962696b135841ef7313bc631fc72" name="ab3bb962696b135841ef7313bc631fc72"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab3bb962696b135841ef7313bc631fc72">&#9670;&nbsp;</a></span>flush()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool BNO08xRpt::flush </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Flush all buffered reports for this sensor/report module. </p>
<dl class="section return"><dt>Returns</dt><dd>True if flush operation succeeded. </dd></dl>
<div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="class_b_n_o08x_rpt_ab3bb962696b135841ef7313bc631fc72_cgraph.png" border="0" usemap="#aclass_b_n_o08x_rpt_ab3bb962696b135841ef7313bc631fc72_cgraph" alt=""/></div>
<map name="aclass_b_n_o08x_rpt_ab3bb962696b135841ef7313bc631fc72_cgraph" id="aclass_b_n_o08x_rpt_ab3bb962696b135841ef7313bc631fc72_cgraph">
<area shape="rect" title="Flush all buffered reports for this sensor/report module." alt="" coords="5,31,141,57"/>
<area shape="rect" href="class_b_n_o08x_rpt.html#a7a5619a74c1237c5abde2e4bd6619d12" title="Locks sh2 HAL lib to only allow the calling task to call its APIs." alt="" coords="197,5,392,32"/>
<area shape="rect" href="class_b_n_o08x_rpt.html#a61e3451e93806e1b7eaf5f1387726765" title="Unlocks sh2 HAL lib to allow other tasks to call its APIs." alt="" coords="189,56,400,83"/>
</map>
</div>
</div>
</div>
<a id="ad5b054279b01204f61b4c0408acf51cf" name="ad5b054279b01204f61b4c0408acf51cf"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad5b054279b01204f61b4c0408acf51cf">&#9670;&nbsp;</a></span>get_meta_data()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool BNO08xRpt::get_meta_data </td>
<td>(</td>
<td class="paramtype"><a class="el" href="structbno08x__meta__data__t.html">bno08x_meta_data_t</a> &amp;&#160;</td>
<td class="paramname"><em>meta_data</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Retrieves meta data for this sensor/report by reading respective record in FRS (flash record system). </p>
<p >Can be used to retrieve the minimum period, maximum period, actual Q points, resolution, and other info for a given sensor.</p>
<dl class="section return"><dt>Returns</dt><dd>True clear get meta data operation succeeded. </dd></dl>
<div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="class_b_n_o08x_rpt_ad5b054279b01204f61b4c0408acf51cf_cgraph.png" border="0" usemap="#aclass_b_n_o08x_rpt_ad5b054279b01204f61b4c0408acf51cf_cgraph" alt=""/></div>
<map name="aclass_b_n_o08x_rpt_ad5b054279b01204f61b4c0408acf51cf_cgraph" id="aclass_b_n_o08x_rpt_ad5b054279b01204f61b4c0408acf51cf_cgraph">
<area shape="rect" title="Retrieves meta data for this sensor/report by reading respective record in FRS (flash record system)." alt="" coords="5,31,208,57"/>
<area shape="rect" href="class_b_n_o08x_rpt.html#a7a5619a74c1237c5abde2e4bd6619d12" title="Locks sh2 HAL lib to only allow the calling task to call its APIs." alt="" coords="264,5,459,32"/>
<area shape="rect" href="class_b_n_o08x_rpt.html#a61e3451e93806e1b7eaf5f1387726765" title="Unlocks sh2 HAL lib to allow other tasks to call its APIs." alt="" coords="256,56,467,83"/>
</map>
</div>
</div>
</div>
<a id="a7ce8e48cadf59f49068af7f1cb680b38" name="a7ce8e48cadf59f49068af7f1cb680b38"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7ce8e48cadf59f49068af7f1cb680b38">&#9670;&nbsp;</a></span>get_sample_counts()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool BNO08xRpt::get_sample_counts </td>
<td>(</td>
<td class="paramtype"><a class="el" href="structbno08x__sample__counts__t.html">bno08x_sample_counts_t</a> &amp;&#160;</td>
<td class="paramname"><em>sample_counts</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Gets sample counts for this sensor (see SH-2 ref manual 6.4.3.1) </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">Struct</td><td>to store requested data.</td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>True get counts operation succeeded. </dd></dl>
<div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="class_b_n_o08x_rpt_a7ce8e48cadf59f49068af7f1cb680b38_cgraph.png" border="0" usemap="#aclass_b_n_o08x_rpt_a7ce8e48cadf59f49068af7f1cb680b38_cgraph" alt=""/></div>
<map name="aclass_b_n_o08x_rpt_a7ce8e48cadf59f49068af7f1cb680b38_cgraph" id="aclass_b_n_o08x_rpt_a7ce8e48cadf59f49068af7f1cb680b38_cgraph">
<area shape="rect" title="Gets sample counts for this sensor (see SH&#45;2 ref manual 6.4.3.1)" alt="" coords="5,23,187,65"/>
<area shape="rect" href="class_b_n_o08x_rpt.html#a7a5619a74c1237c5abde2e4bd6619d12" title="Locks sh2 HAL lib to only allow the calling task to call its APIs." alt="" coords="243,5,437,32"/>
<area shape="rect" href="class_b_n_o08x_rpt.html#a61e3451e93806e1b7eaf5f1387726765" title="Unlocks sh2 HAL lib to allow other tasks to call its APIs." alt="" coords="235,56,445,83"/>
</map>
</div>
</div>
</div>
<a id="a74f6037286b51382535bab61680297ed" name="a74f6037286b51382535bab61680297ed"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a74f6037286b51382535bab61680297ed">&#9670;&nbsp;</a></span>has_new_data()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool BNO08xRpt::has_new_data </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Checks if a new report has been received since the last time this function was called. </p>
<dl class="section return"><dt>Returns</dt><dd>True if a new report was received since the last time this function was called. </dd></dl>
<div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="class_b_n_o08x_rpt_a74f6037286b51382535bab61680297ed_icgraph.png" border="0" usemap="#aclass_b_n_o08x_rpt_a74f6037286b51382535bab61680297ed_icgraph" alt=""/></div>
<map name="aclass_b_n_o08x_rpt_a74f6037286b51382535bab61680297ed_icgraph" id="aclass_b_n_o08x_rpt_a74f6037286b51382535bab61680297ed_icgraph">
<area shape="rect" title="Checks if a new report has been received since the last time this function was called." alt="" coords="268,13,467,39"/>
<area shape="rect" href="class_b_n_o08x.html#abcdba0d0e82db480d20ea4564511a276" title="Example calibration routine using dynamic/ME calibration commands." alt="" coords="5,5,220,47"/>
</map>
</div>
</div>
</div>
<a id="a7a5619a74c1237c5abde2e4bd6619d12" name="a7a5619a74c1237c5abde2e4bd6619d12"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7a5619a74c1237c5abde2e4bd6619d12">&#9670;&nbsp;</a></span>lock_sh2_HAL()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void BNO08xRpt::lock_sh2_HAL </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Locks sh2 HAL lib to only allow the calling task to call its APIs. </p>
<dl class="section return"><dt>Returns</dt><dd>void, nothing to return </dd></dl>
<div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="class_b_n_o08x_rpt_a7a5619a74c1237c5abde2e4bd6619d12_icgraph.png" border="0" usemap="#aclass_b_n_o08x_rpt_a7a5619a74c1237c5abde2e4bd6619d12_icgraph" alt=""/></div>
<map name="aclass_b_n_o08x_rpt_a7a5619a74c1237c5abde2e4bd6619d12_icgraph" id="aclass_b_n_o08x_rpt_a7a5619a74c1237c5abde2e4bd6619d12_icgraph">
<area shape="rect" title="Locks sh2 HAL lib to only allow the calling task to call its APIs." alt="" coords="828,633,1023,659"/>
<area shape="rect" href="class_b_n_o08x_rpt.html#a1418be33824d3102dbc8f92558a402a6" title="Clears BNO08x internal sample counts for this sensor. (see SH&#45;2 ref manual 6.4.3.1)" alt="" coords="583,289,775,331"/>
<area shape="rect" href="class_b_n_o08x_rpt.html#a7d147e7540a4c6aa19749844e14cdadc" title="Disables a sensor report by setting its period to 0us such that the BNO08x stops sending it." alt="" coords="603,355,755,382"/>
<area shape="rect" href="class_b_n_o08x_rpt.html#ab3bb962696b135841ef7313bc631fc72" title="Flush all buffered reports for this sensor/report module." alt="" coords="611,406,747,433"/>
<area shape="rect" href="class_b_n_o08x_rpt.html#ad5b054279b01204f61b4c0408acf51cf" title="Retrieves meta data for this sensor/report by reading respective record in FRS (flash record system)." alt="" coords="577,457,780,483"/>
<area shape="rect" href="class_b_n_o08x_rpt.html#a7ce8e48cadf59f49068af7f1cb680b38" title="Gets sample counts for this sensor (see SH&#45;2 ref manual 6.4.3.1)" alt="" coords="588,508,769,549"/>
<area shape="rect" href="class_b_n_o08x_rpt.html#aa0bed98a9a497d1f39e8245d05b02e9c" title="Enables a sensor report such that the BNO08x begins sending it." alt="" coords="591,574,766,601"/>
<area shape="rect" href="class_b_n_o08x_rpt_r_v_generic.html#ab059dded7c0a7c922e9c624baac34ecd" title="Tares vector basis according to axis flags." alt="" coords="596,625,761,667"/>
<area shape="rect" href="class_b_n_o08x_rpt_game_r_v.html#ab8844cc390818f2b5cff8afefc89558f" title="Clears most recent tare operation." alt="" coords="585,691,772,732"/>
<area shape="rect" href="class_b_n_o08x_rpt_r_v.html#a920fb5940c13870657c48538569aff87" title="Clears most recent tare operation." alt="" coords="585,757,772,783"/>
<area shape="rect" href="class_b_n_o08x_rpt_r_v_geomag.html#a2c62a41402f167a49025914a9800d062" title="Clears most recent tare operation." alt="" coords="589,808,768,849"/>
<area shape="rect" href="class_b_n_o08x_rpt_game_r_v.html#ae91c07ae4d781216065fd704b5c88d06" title="Saves most recent tare operation to BNO08x internal flash, such that it persists on reset." alt="" coords="585,873,772,915"/>
<area shape="rect" href="class_b_n_o08x_rpt_r_v.html#aa152921434b50a95977b0a4f925abec0" title="Saves most recent tare operation to BNO08x internal flash, such that it persists on reset." alt="" coords="579,939,778,966"/>
<area shape="rect" href="class_b_n_o08x_rpt_r_v_geomag.html#a57305f5f72067a56b037cf766fa2ee63" title="Saves most recent tare operation to BNO08x internal flash, such that it persists on reset." alt="" coords="589,991,768,1032"/>
<area shape="rect" href="class_b_n_o08x_rpt_acceleration.html#a8fde5eefac5f9d714263047426eeee4f" title="Enables acceleration reports such that the BNO08x begins sending them." alt="" coords="309,5,488,47"/>
<area shape="rect" href="class_b_n_o08x_rpt_activity_classifier.html#a631329523ddaf17f2e93cd0546a42823" title="Enables activity classifier reports such that the BNO08x begins sending them." alt="" coords="295,71,502,112"/>
<area shape="rect" href="class_b_n_o08x_rpt_cal_gyro.html#aeb49d86610427c915dc9e58fcba6fddc" title="Enables calibrated gyro reports such that the BNO08x begins sending them." alt="" coords="298,137,499,163"/>
<area shape="rect" href="class_b_n_o08x_rpt_cal_magnetometer.html#a9a371f613ff5053d2227faeebe941393" title="Enables calibrated magnetometer reports such that the BNO08x begins sending them." alt="" coords="291,188,506,229"/>
<area shape="rect" href="class_b_n_o08x_rpt_gravity.html#a5bb33cf233c6721fac992e447bd5b571" title="Enables gravity reports such that the BNO08x begins sending them." alt="" coords="301,254,497,281"/>
<area shape="rect" href="class_b_n_o08x_rpt_linear_acceleration.html#a4584a181ae543919a851f8f288a316ed" title="Enables linear acceleration reports such that the BNO08x begins sending them." alt="" coords="289,305,508,347"/>
<area shape="rect" href="class_b_n_o08x_rpt_raw_m_e_m_s_accelerometer.html#a3cfc735c048700fe79a5674ad92b4b03" title="Enables raw accelerometer reports such that the BNO08x begins sending them." alt="" coords="268,371,529,412"/>
<area shape="rect" href="class_b_n_o08x_rpt_raw_m_e_m_s_gyro.html#ae872f24befd81352f812bc998acb573d" title="Enables raw gyro reports such that the BNO08x begins sending them." alt="" coords="301,436,497,477"/>
<area shape="rect" href="class_b_n_o08x_rpt_raw_m_e_m_s_magnetometer.html#a92832fd0bff6abddbbd87779de5b57fb" title="Enables raw magnetometer such that the BNO08x begins sending them." alt="" coords="268,501,529,543"/>
<area shape="rect" href="class_b_n_o08x_rpt_r_v_generic.html#a17c6cf89a5f7bf5c3fb9f8ff3ed74e8e" title="Enables a rotation vector report such that the BNO08x begins it." alt="" coords="316,567,481,608"/>
<area shape="rect" href="class_b_n_o08x_rpt_shake_detector.html#aa28fa73b51bd892f0239e647aa6ceeb8" title="Enables shake detector reports such that the BNO08x begins sending them (only sends reports when a sh..." alt="" coords="303,632,495,673"/>
<area shape="rect" href="class_b_n_o08x_rpt_stability_classifier.html#a4959110a01f638d04d87696d8a03dd60" title="Enables stability classifier reports such that the BNO08x begins sending them." alt="" coords="293,697,504,739"/>
<area shape="rect" href="class_b_n_o08x_rpt_step_counter.html#adf0a697561b064a7dd90a44009efbcf1" title="Enables step counter reports such that the BNO08x begins sending them." alt="" coords="310,763,487,804"/>
<area shape="rect" href="class_b_n_o08x_rpt_tap_detector.html#ad8b716b7a2f2c2f52113eaaf75a391dc" title="Enables tap detector reports such that the BNO08x begins sending them (only sends reports when a tap ..." alt="" coords="311,828,486,869"/>
<area shape="rect" href="class_b_n_o08x_rpt_uncal_gyro.html#a404d36091a61af543c6fec7b6e077706" title="Enables uncalibrated gyro reports such that the BNO08x begins sending them." alt="" coords="316,893,481,935"/>
<area shape="rect" href="class_b_n_o08x_rpt_uncal_magnetometer.html#a80ae48107ca1cc27551fd799625f2867" title="Enables uncalibrated magnetometer reports such that the BNO08x begins sending them." alt="" coords="283,959,514,1000"/>
<area shape="rect" href="class_b_n_o08x.html#abcdba0d0e82db480d20ea4564511a276" title="Example calibration routine using dynamic/ME calibration commands." alt="" coords="5,377,220,419"/>
<area shape="rect" href="class_b_n_o08x_rpt_game_r_v.html#a773f8e4bf9e5059d6b301fc346cbc9d2" title="Tares game rotation vector axis." alt="" coords="305,1025,492,1051"/>
<area shape="rect" href="class_b_n_o08x_rpt_r_v.html#aab42904ebfc698d0af0944deaafcd226" title="Tares rotation vector axis." alt="" coords="325,1075,473,1102"/>
<area shape="rect" href="class_b_n_o08x_rpt_r_v_geomag.html#a622f024808e368b09c41ca1b5118a874" title="Tares geomagnetic rotation vector." alt="" coords="297,1126,501,1153"/>
</map>
</div>
</div>
</div>
<a id="a48e7b1a2c2ebc6b1f2f292735c0832a0" name="a48e7b1a2c2ebc6b1f2f292735c0832a0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a48e7b1a2c2ebc6b1f2f292735c0832a0">&#9670;&nbsp;</a></span>lock_user_data()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void BNO08xRpt::lock_user_data </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Locks locks user data to only allow the calling task to read/modify it. </p>
<dl class="section return"><dt>Returns</dt><dd>void, nothing to return </dd></dl>
<div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="class_b_n_o08x_rpt_a48e7b1a2c2ebc6b1f2f292735c0832a0_icgraph.png" border="0" usemap="#aclass_b_n_o08x_rpt_a48e7b1a2c2ebc6b1f2f292735c0832a0_icgraph" alt=""/></div>
<map name="aclass_b_n_o08x_rpt_a48e7b1a2c2ebc6b1f2f292735c0832a0_icgraph" id="aclass_b_n_o08x_rpt_a48e7b1a2c2ebc6b1f2f292735c0832a0_icgraph">
<area shape="rect" title="Locks locks user data to only allow the calling task to read/modify it." alt="" coords="916,664,1119,691"/>
<area shape="rect" href="class_b_n_o08x_rpt.html#a7d147e7540a4c6aa19749844e14cdadc" title="Disables a sensor report by setting its period to 0us such that the BNO08x stops sending it." alt="" coords="647,5,799,32"/>
<area shape="rect" href="class_b_n_o08x_rpt_acceleration.html#abac65bc939891f7a24b5a611de430328" title="Grabs most recent acceleration data (including gravity), units are in m/s^2." alt="" coords="619,56,826,83"/>
<area shape="rect" href="class_b_n_o08x_rpt_activity_classifier.html#aa77475212d3a5eb52ec31b9916cfe22d" title="Grabs most recent activity classifier data." alt="" coords="605,107,841,133"/>
<area shape="rect" href="class_b_n_o08x_rpt_cal_gyro.html#aeb45a1a433c499f2c36dddf393175815" title="Grabs most recent gyroscope data (velocity), units are in rad/s." alt="" coords="633,157,812,184"/>
<area shape="rect" href="class_b_n_o08x_rpt_cal_magnetometer.html#a9a07338f7c149aa3d45d2c4f846620e2" title="Grabs most recent calibrated magnetometer data, units are in uTesla." alt="" coords="277,571,520,597"/>
<area shape="rect" href="class_b_n_o08x_rpt_gravity.html#a18ebbe93997c3ea985290e5b8fc23115" title="Grabs most recent gravity data, units are in m/s^2." alt="" coords="636,259,809,285"/>
<area shape="rect" href="class_b_n_o08x_rpt_linear_acceleration.html#aac2eeab16ffbe7a81ea26a21c4e453d0" title="Grabs most recent acceleration data (including gravity), units are in m/s^2." alt="" coords="599,309,846,336"/>
<area shape="rect" href="class_b_n_o08x_rpt_raw_m_e_m_s_accelerometer.html#ae72428b3455327ecec5ee1c6ad065d56" title="Grabs most recent raw accelerometer data, units are ADC counts, time_stamp in microseconds." alt="" coords="577,360,868,387"/>
<area shape="rect" href="class_b_n_o08x_rpt_raw_m_e_m_s_gyro.html#ac9a43087ac86ca6d2309adae996747d5" title="Grabs most recent raw mems gyro report (units in ADC counts, time_stamp in microseconds)" alt="" coords="610,411,835,437"/>
<area shape="rect" href="class_b_n_o08x_rpt_raw_m_e_m_s_magnetometer.html#a44247c8dbd3376ff81599c192b7dfc71" title="Grabs most recent raw magnetometer data, units are ADC counts, time_stamp in microseconds." alt="" coords="577,461,868,488"/>
<area shape="rect" href="class_b_n_o08x_rpt_shake_detector.html#adf134a67833f9e2c71f76858abc88ee6" title="Grabs most recent shake detector detector data." alt="" coords="612,512,833,539"/>
<area shape="rect" href="class_b_n_o08x_rpt_stability_classifier.html#a552b8df91df3905c7e2242ee42d11931" title="Grabs most recent stability classifier data." alt="" coords="603,563,843,589"/>
<area shape="rect" href="class_b_n_o08x_rpt_step_counter.html#affe413eea0483147578e58a1a9c5cd8f" title="Grabs most recent step counter data (rollover not accounted for in step count, just most recent repor..." alt="" coords="619,613,826,640"/>
<area shape="rect" href="class_b_n_o08x_rpt_tap_detector.html#ac0c0642fbb086a480edf32c92a470a2e" title="Grabs most recent tap detector detector data." alt="" coords="621,664,825,691"/>
<area shape="rect" href="class_b_n_o08x_rpt_uncal_gyro.html#ae2fec54b70d897124720abe1dcccd793" title="Grabs most recent uncalibrated gyroscope data, units are in rad/s." alt="" coords="625,715,820,741"/>
<area shape="rect" href="class_b_n_o08x_rpt_uncal_magnetometer.html#ad4d5abc8875955b6236bbe526be1e8fb" title="Grabs most recent uncalibrated magnetometer data, units are in uTesla." alt="" coords="593,765,852,792"/>
<area shape="rect" href="class_b_n_o08x_rpt_i_gyro_r_v.html#ae85b4b091ec350432a2aeabcd3b46f55" title="Grabs most recent gyro integrated rotation vector data." alt="" coords="633,816,812,843"/>
<area shape="rect" href="class_b_n_o08x_rpt_uncal_gyro.html#a08b722174d100d1d9363eaf4989a8ecd" title="Grabs most recent uncalibrated gyroscope bias data, units are in rad/s." alt="" coords="640,867,805,909"/>
<area shape="rect" href="class_b_n_o08x_rpt_uncal_magnetometer.html#aa6818f72419eaebb55cba9ffec28c704" title="Grabs most recent uncalibrated magnetometer bias data, units are in uTesla." alt="" coords="607,933,838,974"/>
<area shape="rect" href="class_b_n_o08x_rpt_uncal_magnetometer.html#ae5a99ef7523dcafc4638a538e141306b" title="Grabs most recent uncalibrated magnetometer magnetic field data, units are in uTesla." alt="" coords="607,998,838,1039"/>
<area shape="rect" href="class_b_n_o08x_rpt_activity_classifier.html#a903a426e65752996075798ba6c51bff2" title="Grabs most the most likely activity from most recent activity classifier data." alt="" coords="619,1063,826,1105"/>
<area shape="rect" href="class_b_n_o08x_rpt_r_v_generic.html#afc2accdd72076cd758f9f9108351d7a8" title="Grabs most recent rotation vector data in form of unit quaternion, rad accuracy units in radians (if ..." alt="" coords="640,1129,805,1170"/>
<area shape="rect" href="class_b_n_o08x_rpt_stability_classifier.html#a8c8c794004f8b2a5e67656286beae7cd" title="Grabs most recent stability classifier reading (excludes accuracy)" alt="" coords="617,1194,828,1235"/>
<area shape="rect" href="class_b_n_o08x_rpt_step_counter.html#a017b389771b4d8816b4cfd06c6d9184a" title="Grabs the total step count since boot, accounts for rollover in report data." alt="" coords="634,1259,811,1301"/>
<area shape="rect" href="class_b_n_o08x_rpt_i_gyro_r_v.html#a8e9877551635f8be5e380d47195b4061" title="Grabs most recent gyro integrated rotation vector angular velocity data, units are in rad/s." alt="" coords="620,1325,825,1352"/>
<area shape="rect" href="class_b_n_o08x_rpt_uncal_gyro.html#a13c875a4ef09df3a82ac4bfa5109fdf7" title="Grabs most recent uncalibrated gyroscope velocity data, units are in rad/s." alt="" coords="640,1377,805,1418"/>
<area shape="rect" href="class_b_n_o08x_rpt.html#aa0bed98a9a497d1f39e8245d05b02e9c" title="Enables a sensor report such that the BNO08x begins sending it." alt="" coords="635,1537,810,1564"/>
<area shape="rect" href="class_b_n_o08x.html#abcdba0d0e82db480d20ea4564511a276" title="Example calibration routine using dynamic/ME calibration commands." alt="" coords="5,1129,220,1170"/>
<area shape="rect" href="class_b_n_o08x_rpt_r_v_generic.html#abbaaa6737d578e056f93687d4ad780f7" title="Grabs most recent rotation vector data in form of an euler angle, units are in degrees or rads." alt="" coords="316,1034,481,1075"/>
<area shape="rect" href="class_b_n_o08x_rpt_acceleration.html#a8fde5eefac5f9d714263047426eeee4f" title="Enables acceleration reports such that the BNO08x begins sending them." alt="" coords="309,1099,488,1141"/>
<area shape="rect" href="class_b_n_o08x_rpt_activity_classifier.html#a631329523ddaf17f2e93cd0546a42823" title="Enables activity classifier reports such that the BNO08x begins sending them." alt="" coords="295,1165,502,1206"/>
<area shape="rect" href="class_b_n_o08x_rpt_cal_gyro.html#aeb49d86610427c915dc9e58fcba6fddc" title="Enables calibrated gyro reports such that the BNO08x begins sending them." alt="" coords="298,1231,499,1257"/>
<area shape="rect" href="class_b_n_o08x_rpt_cal_magnetometer.html#a9a371f613ff5053d2227faeebe941393" title="Enables calibrated magnetometer reports such that the BNO08x begins sending them." alt="" coords="291,1282,506,1323"/>
<area shape="rect" href="class_b_n_o08x_rpt_gravity.html#a5bb33cf233c6721fac992e447bd5b571" title="Enables gravity reports such that the BNO08x begins sending them." alt="" coords="301,1348,497,1375"/>
<area shape="rect" href="class_b_n_o08x_rpt_linear_acceleration.html#a4584a181ae543919a851f8f288a316ed" title="Enables linear acceleration reports such that the BNO08x begins sending them." alt="" coords="289,1399,508,1441"/>
<area shape="rect" href="class_b_n_o08x_rpt_raw_m_e_m_s_accelerometer.html#a3cfc735c048700fe79a5674ad92b4b03" title="Enables raw accelerometer reports such that the BNO08x begins sending them." alt="" coords="268,1465,529,1506"/>
<area shape="rect" href="class_b_n_o08x_rpt_raw_m_e_m_s_gyro.html#ae872f24befd81352f812bc998acb573d" title="Enables raw gyro reports such that the BNO08x begins sending them." alt="" coords="301,1530,497,1571"/>
<area shape="rect" href="class_b_n_o08x_rpt_raw_m_e_m_s_magnetometer.html#a92832fd0bff6abddbbd87779de5b57fb" title="Enables raw magnetometer such that the BNO08x begins sending them." alt="" coords="268,1595,529,1637"/>
<area shape="rect" href="class_b_n_o08x_rpt_r_v_generic.html#a17c6cf89a5f7bf5c3fb9f8ff3ed74e8e" title="Enables a rotation vector report such that the BNO08x begins it." alt="" coords="316,1661,481,1702"/>
<area shape="rect" href="class_b_n_o08x_rpt_shake_detector.html#aa28fa73b51bd892f0239e647aa6ceeb8" title="Enables shake detector reports such that the BNO08x begins sending them (only sends reports when a sh..." alt="" coords="303,1726,495,1767"/>
<area shape="rect" href="class_b_n_o08x_rpt_stability_classifier.html#a4959110a01f638d04d87696d8a03dd60" title="Enables stability classifier reports such that the BNO08x begins sending them." alt="" coords="293,1791,504,1833"/>
<area shape="rect" href="class_b_n_o08x_rpt_step_counter.html#adf0a697561b064a7dd90a44009efbcf1" title="Enables step counter reports such that the BNO08x begins sending them." alt="" coords="310,1857,487,1898"/>
<area shape="rect" href="class_b_n_o08x_rpt_tap_detector.html#ad8b716b7a2f2c2f52113eaaf75a391dc" title="Enables tap detector reports such that the BNO08x begins sending them (only sends reports when a tap ..." alt="" coords="311,1922,486,1963"/>
<area shape="rect" href="class_b_n_o08x_rpt_uncal_gyro.html#a404d36091a61af543c6fec7b6e077706" title="Enables uncalibrated gyro reports such that the BNO08x begins sending them." alt="" coords="316,1987,481,2029"/>
<area shape="rect" href="class_b_n_o08x_rpt_uncal_magnetometer.html#a80ae48107ca1cc27551fd799625f2867" title="Enables uncalibrated magnetometer reports such that the BNO08x begins sending them." alt="" coords="283,2053,514,2094"/>
</map>
</div>
</div>
</div>
<a id="a5b542b28c81fcd05cf2e3f3d2d437d46" name="a5b542b28c81fcd05cf2e3f3d2d437d46"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5b542b28c81fcd05cf2e3f3d2d437d46">&#9670;&nbsp;</a></span>register_cb()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool BNO08xRpt::register_cb </td>
<td>(</td>
<td class="paramtype">std::function&lt; void(void)&gt;&#160;</td>
<td class="paramname"><em>cb_fxn</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Registers a callback to execute when new data from a specific report is received. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">cb_fxn</td><td>Pointer to the call-back function should be of void return type void input param.</td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>void, nothing to return </dd></dl>
</div>
</div>
<a id="aa0bed98a9a497d1f39e8245d05b02e9c" name="aa0bed98a9a497d1f39e8245d05b02e9c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa0bed98a9a497d1f39e8245d05b02e9c">&#9670;&nbsp;</a></span>rpt_enable()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">bool BNO08xRpt::rpt_enable </td>
<td>(</td>
<td class="paramtype">uint32_t&#160;</td>
<td class="paramname"><em>time_between_reports</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">sh2_SensorConfig_t&#160;</td>
<td class="paramname"><em>sensor_cfg</em> = <code>BNO08xPrivateTypes::default_sensor_cfg</code>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Enables a sensor report such that the <a class="el" href="class_b_n_o08x.html" title="BNO08x IMU driver class.">BNO08x</a> begins sending it. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">report_period_us</td><td>The period/interval of the report in microseconds. </td></tr>
<tr><td class="paramname">sensor_cfg</td><td>Sensor special configuration (optional, see BNO08xPrivateTypes::default_sensor_cfg for defaults).</td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>True if report was successfully enabled. </dd></dl>
<div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="class_b_n_o08x_rpt_aa0bed98a9a497d1f39e8245d05b02e9c_cgraph.png" border="0" usemap="#aclass_b_n_o08x_rpt_aa0bed98a9a497d1f39e8245d05b02e9c_cgraph" alt=""/></div>
<map name="aclass_b_n_o08x_rpt_aa0bed98a9a497d1f39e8245d05b02e9c_cgraph" id="aclass_b_n_o08x_rpt_aa0bed98a9a497d1f39e8245d05b02e9c_cgraph">
<area shape="rect" title="Enables a sensor report such that the BNO08x begins sending it." alt="" coords="5,81,180,108"/>
<area shape="rect" href="class_b_n_o08x_rpt.html#a7a5619a74c1237c5abde2e4bd6619d12" title="Locks sh2 HAL lib to only allow the calling task to call its APIs." alt="" coords="240,5,435,32"/>
<area shape="rect" href="class_b_n_o08x_rpt.html#a48e7b1a2c2ebc6b1f2f292735c0832a0" title="Locks locks user data to only allow the calling task to read/modify it." alt="" coords="236,56,439,83"/>
<area shape="rect" href="class_b_n_o08x_rpt.html#a61e3451e93806e1b7eaf5f1387726765" title="Unlocks sh2 HAL lib to allow other tasks to call its APIs." alt="" coords="232,107,443,133"/>
<area shape="rect" href="class_b_n_o08x_rpt.html#a26bacc572187119339ec248bb4e7d6f3" title="Unlocks user data to allow other tasks to read/modify it." alt="" coords="228,157,447,184"/>
</map>
</div>
<div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="class_b_n_o08x_rpt_aa0bed98a9a497d1f39e8245d05b02e9c_icgraph.png" border="0" usemap="#aclass_b_n_o08x_rpt_aa0bed98a9a497d1f39e8245d05b02e9c_icgraph" alt=""/></div>
<map name="aclass_b_n_o08x_rpt_aa0bed98a9a497d1f39e8245d05b02e9c_icgraph" id="aclass_b_n_o08x_rpt_aa0bed98a9a497d1f39e8245d05b02e9c_icgraph">
<area shape="rect" title="Enables a sensor report such that the BNO08x begins sending it." alt="" coords="577,477,752,503"/>
<area shape="rect" href="class_b_n_o08x_rpt_acceleration.html#a8fde5eefac5f9d714263047426eeee4f" title="Enables acceleration reports such that the BNO08x begins sending them." alt="" coords="309,5,488,47"/>
<area shape="rect" href="class_b_n_o08x_rpt_activity_classifier.html#a631329523ddaf17f2e93cd0546a42823" title="Enables activity classifier reports such that the BNO08x begins sending them." alt="" coords="295,71,502,112"/>
<area shape="rect" href="class_b_n_o08x_rpt_cal_gyro.html#aeb49d86610427c915dc9e58fcba6fddc" title="Enables calibrated gyro reports such that the BNO08x begins sending them." alt="" coords="298,137,499,163"/>
<area shape="rect" href="class_b_n_o08x_rpt_cal_magnetometer.html#a9a371f613ff5053d2227faeebe941393" title="Enables calibrated magnetometer reports such that the BNO08x begins sending them." alt="" coords="291,188,506,229"/>
<area shape="rect" href="class_b_n_o08x_rpt_gravity.html#a5bb33cf233c6721fac992e447bd5b571" title="Enables gravity reports such that the BNO08x begins sending them." alt="" coords="301,254,497,281"/>
<area shape="rect" href="class_b_n_o08x_rpt_linear_acceleration.html#a4584a181ae543919a851f8f288a316ed" title="Enables linear acceleration reports such that the BNO08x begins sending them." alt="" coords="289,305,508,347"/>
<area shape="rect" href="class_b_n_o08x_rpt_raw_m_e_m_s_accelerometer.html#a3cfc735c048700fe79a5674ad92b4b03" title="Enables raw accelerometer reports such that the BNO08x begins sending them." alt="" coords="268,371,529,412"/>
<area shape="rect" href="class_b_n_o08x_rpt_raw_m_e_m_s_gyro.html#ae872f24befd81352f812bc998acb573d" title="Enables raw gyro reports such that the BNO08x begins sending them." alt="" coords="301,436,497,477"/>
<area shape="rect" href="class_b_n_o08x_rpt_raw_m_e_m_s_magnetometer.html#a92832fd0bff6abddbbd87779de5b57fb" title="Enables raw magnetometer such that the BNO08x begins sending them." alt="" coords="268,501,529,543"/>
<area shape="rect" href="class_b_n_o08x_rpt_r_v_generic.html#a17c6cf89a5f7bf5c3fb9f8ff3ed74e8e" title="Enables a rotation vector report such that the BNO08x begins it." alt="" coords="316,567,481,608"/>
<area shape="rect" href="class_b_n_o08x_rpt_shake_detector.html#aa28fa73b51bd892f0239e647aa6ceeb8" title="Enables shake detector reports such that the BNO08x begins sending them (only sends reports when a sh..." alt="" coords="303,632,495,673"/>
<area shape="rect" href="class_b_n_o08x_rpt_stability_classifier.html#a4959110a01f638d04d87696d8a03dd60" title="Enables stability classifier reports such that the BNO08x begins sending them." alt="" coords="293,697,504,739"/>
<area shape="rect" href="class_b_n_o08x_rpt_step_counter.html#adf0a697561b064a7dd90a44009efbcf1" title="Enables step counter reports such that the BNO08x begins sending them." alt="" coords="310,763,487,804"/>
<area shape="rect" href="class_b_n_o08x_rpt_tap_detector.html#ad8b716b7a2f2c2f52113eaaf75a391dc" title="Enables tap detector reports such that the BNO08x begins sending them (only sends reports when a tap ..." alt="" coords="311,828,486,869"/>
<area shape="rect" href="class_b_n_o08x_rpt_uncal_gyro.html#a404d36091a61af543c6fec7b6e077706" title="Enables uncalibrated gyro reports such that the BNO08x begins sending them." alt="" coords="316,893,481,935"/>
<area shape="rect" href="class_b_n_o08x_rpt_uncal_magnetometer.html#a80ae48107ca1cc27551fd799625f2867" title="Enables uncalibrated magnetometer reports such that the BNO08x begins sending them." alt="" coords="283,959,514,1000"/>
<area shape="rect" href="class_b_n_o08x.html#abcdba0d0e82db480d20ea4564511a276" title="Example calibration routine using dynamic/ME calibration commands." alt="" coords="5,377,220,419"/>
</map>
</div>
</div>
</div>
<a id="a47a623eb0a1db51af76a03a103c32329" name="a47a623eb0a1db51af76a03a103c32329"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a47a623eb0a1db51af76a03a103c32329">&#9670;&nbsp;</a></span>signal_data_available()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void BNO08xRpt::signal_data_available </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Signals to <a class="el" href="class_b_n_o08x.html#a367d525d1c0ba119b3dca3067bb5bccc" title="Polls for new data/report to become available.">BNO08x::data_available()</a> that a new report has arrived. </p>
<dl class="section return"><dt>Returns</dt><dd>void, nothing to return </dd></dl>
</div>
</div>
<a id="a61e3451e93806e1b7eaf5f1387726765" name="a61e3451e93806e1b7eaf5f1387726765"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a61e3451e93806e1b7eaf5f1387726765">&#9670;&nbsp;</a></span>unlock_sh2_HAL()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void BNO08xRpt::unlock_sh2_HAL </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Unlocks sh2 HAL lib to allow other tasks to call its APIs. </p>
<dl class="section return"><dt>Returns</dt><dd>void, nothing to return </dd></dl>
<div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="class_b_n_o08x_rpt_a61e3451e93806e1b7eaf5f1387726765_icgraph.png" border="0" usemap="#aclass_b_n_o08x_rpt_a61e3451e93806e1b7eaf5f1387726765_icgraph" alt=""/></div>
<map name="aclass_b_n_o08x_rpt_a61e3451e93806e1b7eaf5f1387726765_icgraph" id="aclass_b_n_o08x_rpt_a61e3451e93806e1b7eaf5f1387726765_icgraph">
<area shape="rect" title="Unlocks sh2 HAL lib to allow other tasks to call its APIs." alt="" coords="828,633,1039,659"/>
<area shape="rect" href="class_b_n_o08x_rpt.html#a1418be33824d3102dbc8f92558a402a6" title="Clears BNO08x internal sample counts for this sensor. (see SH&#45;2 ref manual 6.4.3.1)" alt="" coords="583,289,775,331"/>
<area shape="rect" href="class_b_n_o08x_rpt.html#a7d147e7540a4c6aa19749844e14cdadc" title="Disables a sensor report by setting its period to 0us such that the BNO08x stops sending it." alt="" coords="603,355,755,382"/>
<area shape="rect" href="class_b_n_o08x_rpt.html#ab3bb962696b135841ef7313bc631fc72" title="Flush all buffered reports for this sensor/report module." alt="" coords="611,406,747,433"/>
<area shape="rect" href="class_b_n_o08x_rpt.html#ad5b054279b01204f61b4c0408acf51cf" title="Retrieves meta data for this sensor/report by reading respective record in FRS (flash record system)." alt="" coords="577,457,780,483"/>
<area shape="rect" href="class_b_n_o08x_rpt.html#a7ce8e48cadf59f49068af7f1cb680b38" title="Gets sample counts for this sensor (see SH&#45;2 ref manual 6.4.3.1)" alt="" coords="588,508,769,549"/>
<area shape="rect" href="class_b_n_o08x_rpt.html#aa0bed98a9a497d1f39e8245d05b02e9c" title="Enables a sensor report such that the BNO08x begins sending it." alt="" coords="591,574,766,601"/>
<area shape="rect" href="class_b_n_o08x_rpt_r_v_generic.html#ab059dded7c0a7c922e9c624baac34ecd" title="Tares vector basis according to axis flags." alt="" coords="596,625,761,667"/>
<area shape="rect" href="class_b_n_o08x_rpt_game_r_v.html#ab8844cc390818f2b5cff8afefc89558f" title="Clears most recent tare operation." alt="" coords="585,691,772,732"/>
<area shape="rect" href="class_b_n_o08x_rpt_r_v.html#a920fb5940c13870657c48538569aff87" title="Clears most recent tare operation." alt="" coords="585,757,772,783"/>
<area shape="rect" href="class_b_n_o08x_rpt_r_v_geomag.html#a2c62a41402f167a49025914a9800d062" title="Clears most recent tare operation." alt="" coords="589,808,768,849"/>
<area shape="rect" href="class_b_n_o08x_rpt_game_r_v.html#ae91c07ae4d781216065fd704b5c88d06" title="Saves most recent tare operation to BNO08x internal flash, such that it persists on reset." alt="" coords="585,873,772,915"/>
<area shape="rect" href="class_b_n_o08x_rpt_r_v.html#aa152921434b50a95977b0a4f925abec0" title="Saves most recent tare operation to BNO08x internal flash, such that it persists on reset." alt="" coords="579,939,778,966"/>
<area shape="rect" href="class_b_n_o08x_rpt_r_v_geomag.html#a57305f5f72067a56b037cf766fa2ee63" title="Saves most recent tare operation to BNO08x internal flash, such that it persists on reset." alt="" coords="589,991,768,1032"/>
<area shape="rect" href="class_b_n_o08x_rpt_acceleration.html#a8fde5eefac5f9d714263047426eeee4f" title="Enables acceleration reports such that the BNO08x begins sending them." alt="" coords="309,5,488,47"/>
<area shape="rect" href="class_b_n_o08x_rpt_activity_classifier.html#a631329523ddaf17f2e93cd0546a42823" title="Enables activity classifier reports such that the BNO08x begins sending them." alt="" coords="295,71,502,112"/>
<area shape="rect" href="class_b_n_o08x_rpt_cal_gyro.html#aeb49d86610427c915dc9e58fcba6fddc" title="Enables calibrated gyro reports such that the BNO08x begins sending them." alt="" coords="298,137,499,163"/>
<area shape="rect" href="class_b_n_o08x_rpt_cal_magnetometer.html#a9a371f613ff5053d2227faeebe941393" title="Enables calibrated magnetometer reports such that the BNO08x begins sending them." alt="" coords="291,188,506,229"/>
<area shape="rect" href="class_b_n_o08x_rpt_gravity.html#a5bb33cf233c6721fac992e447bd5b571" title="Enables gravity reports such that the BNO08x begins sending them." alt="" coords="301,254,497,281"/>
<area shape="rect" href="class_b_n_o08x_rpt_linear_acceleration.html#a4584a181ae543919a851f8f288a316ed" title="Enables linear acceleration reports such that the BNO08x begins sending them." alt="" coords="289,305,508,347"/>
<area shape="rect" href="class_b_n_o08x_rpt_raw_m_e_m_s_accelerometer.html#a3cfc735c048700fe79a5674ad92b4b03" title="Enables raw accelerometer reports such that the BNO08x begins sending them." alt="" coords="268,371,529,412"/>
<area shape="rect" href="class_b_n_o08x_rpt_raw_m_e_m_s_gyro.html#ae872f24befd81352f812bc998acb573d" title="Enables raw gyro reports such that the BNO08x begins sending them." alt="" coords="301,436,497,477"/>
<area shape="rect" href="class_b_n_o08x_rpt_raw_m_e_m_s_magnetometer.html#a92832fd0bff6abddbbd87779de5b57fb" title="Enables raw magnetometer such that the BNO08x begins sending them." alt="" coords="268,501,529,543"/>
<area shape="rect" href="class_b_n_o08x_rpt_r_v_generic.html#a17c6cf89a5f7bf5c3fb9f8ff3ed74e8e" title="Enables a rotation vector report such that the BNO08x begins it." alt="" coords="316,567,481,608"/>
<area shape="rect" href="class_b_n_o08x_rpt_shake_detector.html#aa28fa73b51bd892f0239e647aa6ceeb8" title="Enables shake detector reports such that the BNO08x begins sending them (only sends reports when a sh..." alt="" coords="303,632,495,673"/>
<area shape="rect" href="class_b_n_o08x_rpt_stability_classifier.html#a4959110a01f638d04d87696d8a03dd60" title="Enables stability classifier reports such that the BNO08x begins sending them." alt="" coords="293,697,504,739"/>
<area shape="rect" href="class_b_n_o08x_rpt_step_counter.html#adf0a697561b064a7dd90a44009efbcf1" title="Enables step counter reports such that the BNO08x begins sending them." alt="" coords="310,763,487,804"/>
<area shape="rect" href="class_b_n_o08x_rpt_tap_detector.html#ad8b716b7a2f2c2f52113eaaf75a391dc" title="Enables tap detector reports such that the BNO08x begins sending them (only sends reports when a tap ..." alt="" coords="311,828,486,869"/>
<area shape="rect" href="class_b_n_o08x_rpt_uncal_gyro.html#a404d36091a61af543c6fec7b6e077706" title="Enables uncalibrated gyro reports such that the BNO08x begins sending them." alt="" coords="316,893,481,935"/>
<area shape="rect" href="class_b_n_o08x_rpt_uncal_magnetometer.html#a80ae48107ca1cc27551fd799625f2867" title="Enables uncalibrated magnetometer reports such that the BNO08x begins sending them." alt="" coords="283,959,514,1000"/>
<area shape="rect" href="class_b_n_o08x.html#abcdba0d0e82db480d20ea4564511a276" title="Example calibration routine using dynamic/ME calibration commands." alt="" coords="5,377,220,419"/>
<area shape="rect" href="class_b_n_o08x_rpt_game_r_v.html#a773f8e4bf9e5059d6b301fc346cbc9d2" title="Tares game rotation vector axis." alt="" coords="305,1025,492,1051"/>
<area shape="rect" href="class_b_n_o08x_rpt_r_v.html#aab42904ebfc698d0af0944deaafcd226" title="Tares rotation vector axis." alt="" coords="325,1075,473,1102"/>
<area shape="rect" href="class_b_n_o08x_rpt_r_v_geomag.html#a622f024808e368b09c41ca1b5118a874" title="Tares geomagnetic rotation vector." alt="" coords="297,1126,501,1153"/>
</map>
</div>
</div>
</div>
<a id="a26bacc572187119339ec248bb4e7d6f3" name="a26bacc572187119339ec248bb4e7d6f3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a26bacc572187119339ec248bb4e7d6f3">&#9670;&nbsp;</a></span>unlock_user_data()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void BNO08xRpt::unlock_user_data </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Unlocks user data to allow other tasks to read/modify it. </p>
<dl class="section return"><dt>Returns</dt><dd>void, nothing to return </dd></dl>
<div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="class_b_n_o08x_rpt_a26bacc572187119339ec248bb4e7d6f3_icgraph.png" border="0" usemap="#aclass_b_n_o08x_rpt_a26bacc572187119339ec248bb4e7d6f3_icgraph" alt=""/></div>
<map name="aclass_b_n_o08x_rpt_a26bacc572187119339ec248bb4e7d6f3_icgraph" id="aclass_b_n_o08x_rpt_a26bacc572187119339ec248bb4e7d6f3_icgraph">
<area shape="rect" title="Unlocks user data to allow other tasks to read/modify it." alt="" coords="916,664,1135,691"/>
<area shape="rect" href="class_b_n_o08x_rpt.html#a7d147e7540a4c6aa19749844e14cdadc" title="Disables a sensor report by setting its period to 0us such that the BNO08x stops sending it." alt="" coords="647,5,799,32"/>
<area shape="rect" href="class_b_n_o08x_rpt_acceleration.html#abac65bc939891f7a24b5a611de430328" title="Grabs most recent acceleration data (including gravity), units are in m/s^2." alt="" coords="619,56,826,83"/>
<area shape="rect" href="class_b_n_o08x_rpt_activity_classifier.html#aa77475212d3a5eb52ec31b9916cfe22d" title="Grabs most recent activity classifier data." alt="" coords="605,107,841,133"/>
<area shape="rect" href="class_b_n_o08x_rpt_cal_gyro.html#aeb45a1a433c499f2c36dddf393175815" title="Grabs most recent gyroscope data (velocity), units are in rad/s." alt="" coords="633,157,812,184"/>
<area shape="rect" href="class_b_n_o08x_rpt_cal_magnetometer.html#a9a07338f7c149aa3d45d2c4f846620e2" title="Grabs most recent calibrated magnetometer data, units are in uTesla." alt="" coords="277,571,520,597"/>
<area shape="rect" href="class_b_n_o08x_rpt_gravity.html#a18ebbe93997c3ea985290e5b8fc23115" title="Grabs most recent gravity data, units are in m/s^2." alt="" coords="636,259,809,285"/>
<area shape="rect" href="class_b_n_o08x_rpt_linear_acceleration.html#aac2eeab16ffbe7a81ea26a21c4e453d0" title="Grabs most recent acceleration data (including gravity), units are in m/s^2." alt="" coords="599,309,846,336"/>
<area shape="rect" href="class_b_n_o08x_rpt_raw_m_e_m_s_accelerometer.html#ae72428b3455327ecec5ee1c6ad065d56" title="Grabs most recent raw accelerometer data, units are ADC counts, time_stamp in microseconds." alt="" coords="577,360,868,387"/>
<area shape="rect" href="class_b_n_o08x_rpt_raw_m_e_m_s_gyro.html#ac9a43087ac86ca6d2309adae996747d5" title="Grabs most recent raw mems gyro report (units in ADC counts, time_stamp in microseconds)" alt="" coords="610,411,835,437"/>
<area shape="rect" href="class_b_n_o08x_rpt_raw_m_e_m_s_magnetometer.html#a44247c8dbd3376ff81599c192b7dfc71" title="Grabs most recent raw magnetometer data, units are ADC counts, time_stamp in microseconds." alt="" coords="577,461,868,488"/>
<area shape="rect" href="class_b_n_o08x_rpt_shake_detector.html#adf134a67833f9e2c71f76858abc88ee6" title="Grabs most recent shake detector detector data." alt="" coords="612,512,833,539"/>
<area shape="rect" href="class_b_n_o08x_rpt_stability_classifier.html#a552b8df91df3905c7e2242ee42d11931" title="Grabs most recent stability classifier data." alt="" coords="603,563,843,589"/>
<area shape="rect" href="class_b_n_o08x_rpt_step_counter.html#affe413eea0483147578e58a1a9c5cd8f" title="Grabs most recent step counter data (rollover not accounted for in step count, just most recent repor..." alt="" coords="619,613,826,640"/>
<area shape="rect" href="class_b_n_o08x_rpt_tap_detector.html#ac0c0642fbb086a480edf32c92a470a2e" title="Grabs most recent tap detector detector data." alt="" coords="621,664,825,691"/>
<area shape="rect" href="class_b_n_o08x_rpt_uncal_gyro.html#ae2fec54b70d897124720abe1dcccd793" title="Grabs most recent uncalibrated gyroscope data, units are in rad/s." alt="" coords="625,715,820,741"/>
<area shape="rect" href="class_b_n_o08x_rpt_uncal_magnetometer.html#ad4d5abc8875955b6236bbe526be1e8fb" title="Grabs most recent uncalibrated magnetometer data, units are in uTesla." alt="" coords="593,765,852,792"/>
<area shape="rect" href="class_b_n_o08x_rpt_i_gyro_r_v.html#ae85b4b091ec350432a2aeabcd3b46f55" title="Grabs most recent gyro integrated rotation vector data." alt="" coords="633,816,812,843"/>
<area shape="rect" href="class_b_n_o08x_rpt_uncal_gyro.html#a08b722174d100d1d9363eaf4989a8ecd" title="Grabs most recent uncalibrated gyroscope bias data, units are in rad/s." alt="" coords="640,867,805,909"/>
<area shape="rect" href="class_b_n_o08x_rpt_uncal_magnetometer.html#aa6818f72419eaebb55cba9ffec28c704" title="Grabs most recent uncalibrated magnetometer bias data, units are in uTesla." alt="" coords="607,933,838,974"/>
<area shape="rect" href="class_b_n_o08x_rpt_uncal_magnetometer.html#ae5a99ef7523dcafc4638a538e141306b" title="Grabs most recent uncalibrated magnetometer magnetic field data, units are in uTesla." alt="" coords="607,998,838,1039"/>
<area shape="rect" href="class_b_n_o08x_rpt_activity_classifier.html#a903a426e65752996075798ba6c51bff2" title="Grabs most the most likely activity from most recent activity classifier data." alt="" coords="619,1063,826,1105"/>
<area shape="rect" href="class_b_n_o08x_rpt_r_v_generic.html#afc2accdd72076cd758f9f9108351d7a8" title="Grabs most recent rotation vector data in form of unit quaternion, rad accuracy units in radians (if ..." alt="" coords="640,1129,805,1170"/>
<area shape="rect" href="class_b_n_o08x_rpt_stability_classifier.html#a8c8c794004f8b2a5e67656286beae7cd" title="Grabs most recent stability classifier reading (excludes accuracy)" alt="" coords="617,1194,828,1235"/>
<area shape="rect" href="class_b_n_o08x_rpt_step_counter.html#a017b389771b4d8816b4cfd06c6d9184a" title="Grabs the total step count since boot, accounts for rollover in report data." alt="" coords="634,1259,811,1301"/>
<area shape="rect" href="class_b_n_o08x_rpt_i_gyro_r_v.html#a8e9877551635f8be5e380d47195b4061" title="Grabs most recent gyro integrated rotation vector angular velocity data, units are in rad/s." alt="" coords="620,1325,825,1352"/>
<area shape="rect" href="class_b_n_o08x_rpt_uncal_gyro.html#a13c875a4ef09df3a82ac4bfa5109fdf7" title="Grabs most recent uncalibrated gyroscope velocity data, units are in rad/s." alt="" coords="640,1377,805,1418"/>
<area shape="rect" href="class_b_n_o08x_rpt.html#aa0bed98a9a497d1f39e8245d05b02e9c" title="Enables a sensor report such that the BNO08x begins sending it." alt="" coords="635,1537,810,1564"/>
<area shape="rect" href="class_b_n_o08x.html#abcdba0d0e82db480d20ea4564511a276" title="Example calibration routine using dynamic/ME calibration commands." alt="" coords="5,1129,220,1170"/>
<area shape="rect" href="class_b_n_o08x_rpt_r_v_generic.html#abbaaa6737d578e056f93687d4ad780f7" title="Grabs most recent rotation vector data in form of an euler angle, units are in degrees or rads." alt="" coords="316,1034,481,1075"/>
<area shape="rect" href="class_b_n_o08x_rpt_acceleration.html#a8fde5eefac5f9d714263047426eeee4f" title="Enables acceleration reports such that the BNO08x begins sending them." alt="" coords="309,1099,488,1141"/>
<area shape="rect" href="class_b_n_o08x_rpt_activity_classifier.html#a631329523ddaf17f2e93cd0546a42823" title="Enables activity classifier reports such that the BNO08x begins sending them." alt="" coords="295,1165,502,1206"/>
<area shape="rect" href="class_b_n_o08x_rpt_cal_gyro.html#aeb49d86610427c915dc9e58fcba6fddc" title="Enables calibrated gyro reports such that the BNO08x begins sending them." alt="" coords="298,1231,499,1257"/>
<area shape="rect" href="class_b_n_o08x_rpt_cal_magnetometer.html#a9a371f613ff5053d2227faeebe941393" title="Enables calibrated magnetometer reports such that the BNO08x begins sending them." alt="" coords="291,1282,506,1323"/>
<area shape="rect" href="class_b_n_o08x_rpt_gravity.html#a5bb33cf233c6721fac992e447bd5b571" title="Enables gravity reports such that the BNO08x begins sending them." alt="" coords="301,1348,497,1375"/>
<area shape="rect" href="class_b_n_o08x_rpt_linear_acceleration.html#a4584a181ae543919a851f8f288a316ed" title="Enables linear acceleration reports such that the BNO08x begins sending them." alt="" coords="289,1399,508,1441"/>
<area shape="rect" href="class_b_n_o08x_rpt_raw_m_e_m_s_accelerometer.html#a3cfc735c048700fe79a5674ad92b4b03" title="Enables raw accelerometer reports such that the BNO08x begins sending them." alt="" coords="268,1465,529,1506"/>
<area shape="rect" href="class_b_n_o08x_rpt_raw_m_e_m_s_gyro.html#ae872f24befd81352f812bc998acb573d" title="Enables raw gyro reports such that the BNO08x begins sending them." alt="" coords="301,1530,497,1571"/>
<area shape="rect" href="class_b_n_o08x_rpt_raw_m_e_m_s_magnetometer.html#a92832fd0bff6abddbbd87779de5b57fb" title="Enables raw magnetometer such that the BNO08x begins sending them." alt="" coords="268,1595,529,1637"/>
<area shape="rect" href="class_b_n_o08x_rpt_r_v_generic.html#a17c6cf89a5f7bf5c3fb9f8ff3ed74e8e" title="Enables a rotation vector report such that the BNO08x begins it." alt="" coords="316,1661,481,1702"/>
<area shape="rect" href="class_b_n_o08x_rpt_shake_detector.html#aa28fa73b51bd892f0239e647aa6ceeb8" title="Enables shake detector reports such that the BNO08x begins sending them (only sends reports when a sh..." alt="" coords="303,1726,495,1767"/>
<area shape="rect" href="class_b_n_o08x_rpt_stability_classifier.html#a4959110a01f638d04d87696d8a03dd60" title="Enables stability classifier reports such that the BNO08x begins sending them." alt="" coords="293,1791,504,1833"/>
<area shape="rect" href="class_b_n_o08x_rpt_step_counter.html#adf0a697561b064a7dd90a44009efbcf1" title="Enables step counter reports such that the BNO08x begins sending them." alt="" coords="310,1857,487,1898"/>
<area shape="rect" href="class_b_n_o08x_rpt_tap_detector.html#ad8b716b7a2f2c2f52113eaaf75a391dc" title="Enables tap detector reports such that the BNO08x begins sending them (only sends reports when a tap ..." alt="" coords="311,1922,486,1963"/>
<area shape="rect" href="class_b_n_o08x_rpt_uncal_gyro.html#a404d36091a61af543c6fec7b6e077706" title="Enables uncalibrated gyro reports such that the BNO08x begins sending them." alt="" coords="316,1987,481,2029"/>
<area shape="rect" href="class_b_n_o08x_rpt_uncal_magnetometer.html#a80ae48107ca1cc27551fd799625f2867" title="Enables uncalibrated magnetometer reports such that the BNO08x begins sending them." alt="" coords="283,2053,514,2094"/>
</map>
</div>
</div>
</div>
<a id="a970fb7e7d3745c62fec626f0ccf0759f" name="a970fb7e7d3745c62fec626f0ccf0759f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a970fb7e7d3745c62fec626f0ccf0759f">&#9670;&nbsp;</a></span>update_data()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual void BNO08xRpt::update_data </td>
<td>(</td>
<td class="paramtype">sh2_SensorValue_t *&#160;</td>
<td class="paramname"><em>sensor_val</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">pure virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<h2 class="groupheader">Friends And Related Function Documentation</h2>
<a id="a9313d906399750f09e3fe4dae87cec15" name="a9313d906399750f09e3fe4dae87cec15"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9313d906399750f09e3fe4dae87cec15">&#9670;&nbsp;</a></span>BNO08x</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">friend class <a class="el" href="class_b_n_o08x.html">BNO08x</a></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">friend</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a id="a63cd4ac9e96baa43eebe580f03307512" name="a63cd4ac9e96baa43eebe580f03307512"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a63cd4ac9e96baa43eebe580f03307512">&#9670;&nbsp;</a></span>ID</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">uint8_t BNO08xRpt::ID</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Report ID, ex. SH2_ACCELERATION. </p>
</div>
</div>
<a id="a1d4d6f4cc6f1eae503863eedf7fb9f52" name="a1d4d6f4cc6f1eae503863eedf7fb9f52"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1d4d6f4cc6f1eae503863eedf7fb9f52">&#9670;&nbsp;</a></span>period_us</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">uint32_t BNO08xRpt::period_us</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>The period/interval of the report in microseconds. </p>
</div>
</div>
<a id="a201aeb71fefb0d9d485914176a82dd80" name="a201aeb71fefb0d9d485914176a82dd80"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a201aeb71fefb0d9d485914176a82dd80">&#9670;&nbsp;</a></span>RAD_2_DEG</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">const constexpr float BNO08xRpt::RAD_2_DEG</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span><span class="mlabel">constexpr</span><span class="mlabel">protected</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<b>Initial value:</b><div class="fragment"><div class="line">=</div>
<div class="line"> (180.0f / M_PI)</div>
</div><!-- fragment -->
<p>Constant for radian to degree conversions, sed in quaternion to euler function conversions. </p>
</div>
</div>
<a id="ae78feab5682a4697c5acad3ca6f12c2e" name="ae78feab5682a4697c5acad3ca6f12c2e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae78feab5682a4697c5acad3ca6f12c2e">&#9670;&nbsp;</a></span>rpt_bit</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">EventBits_t BNO08xRpt::rpt_bit</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Respective enable and data bit for report in evt_grp_rpt_en and evt_grp_rpt_data. </p>
</div>
</div>
<a id="a5a1404a08918d66bb0f41f55220db6e5" name="a5a1404a08918d66bb0f41f55220db6e5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5a1404a08918d66bb0f41f55220db6e5">&#9670;&nbsp;</a></span>sync_ctx</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="struct_b_n_o08x_private_types_1_1bno08x__sync__ctx__t.html">BNO08xPrivateTypes::bno08x_sync_ctx_t</a>* BNO08xRpt::sync_ctx</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="a2c57f370fb08b793bb10ec22d5acca45" name="a2c57f370fb08b793bb10ec22d5acca45"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2c57f370fb08b793bb10ec22d5acca45">&#9670;&nbsp;</a></span>TAG</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">const constexpr char* BNO08xRpt::TAG = &quot;BNO08xRpt&quot;</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span><span class="mlabel">constexpr</span><span class="mlabel">protected</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>/media/develop/git/imu_pr_cleanup/components/esp32_BNO08x/include/report/<a class="el" href="_b_n_o08x_rpt_8hpp_source.html">BNO08xRpt.hpp</a></li>
<li><a class="el" href="_b_n_o08x_rpt_8cpp.html">BNO08xRpt.cpp</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><a class="el" href="class_b_n_o08x_rpt.html">BNO08xRpt</a></li>
<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.9.4 </li>
</ul>
</div>
</body>
</html>