esp32_BNO08x/documentation/html/_callback_tests_8cpp_ac18b9...

102 lines
17 KiB
Plaintext

<map id="TEST_CASE" name="TEST_CASE">
<area shape="rect" id="Node000001" title=" " alt="" coords="5,263,102,289"/>
<area shape="rect" id="Node000002" href="$class_b_n_o08x_test_helper.html#a6bd040c7d670a9713f2ab8a8a3913518" title="Calls BNO08x constructor and creates new test IMU on heap." alt="" coords="150,93,326,136"/>
<area shape="poly" id="edge1_Node000001_Node000002" title=" " alt="" coords="66,261,148,182,194,144,198,148,151,186,70,264"/>
<area shape="rect" id="Node000004" href="$class_b_n_o08x_test_helper.html#a41a432a3fe288e45b6ab139a00bd7d6b" title="Deletes test IMU calling deconstructor and releases heap allocated memory." alt="" coords="159,196,317,239"/>
<area shape="poly" id="edge3_Node000001_Node000004" title=" " alt="" coords="97,260,154,241,155,246,99,265"/>
<area shape="rect" id="Node000005" href="$class_b_n_o08x.html#aea8e2c6dd7a2c9899479a7f39fe94798" title="Initializes BNO08x sensor." alt="" coords="175,263,301,289"/>
<area shape="poly" id="edge4_Node000001_Node000005" title=" " alt="" coords="102,273,160,273,160,279,102,279"/>
<area shape="rect" id="Node000055" href="$class_b_n_o08x_test_helper.html#a7fbfc48c0fff306ab81e2320bc171002" title="Prints a message during a test." alt="" coords="155,313,321,356"/>
<area shape="poly" id="edge48_Node000001_Node000055" title=" " alt="" coords="99,287,155,306,154,311,97,292"/>
<area shape="rect" id="Node000056" href="$_callback_tests_8cpp.html#a9091949d4ea860523915687536d5c4d3" title=" " alt="" coords="156,380,320,407"/>
<area shape="poly" id="edge49_Node000001_Node000056" title=" " alt="" coords="67,288,102,326,125,348,151,366,162,371,159,376,148,370,122,352,98,330,63,291"/>
<area shape="rect" id="Node000003" href="$class_b_n_o08x_test_helper.html#ae2d6df7dcfdbd106c2247803461bbc40" title="Deletes test IMU calling deconstructor and releases heap allocated memory." alt="" coords="374,56,557,99"/>
<area shape="poly" id="edge2_Node000002_Node000003" title=" " alt="" coords="326,98,358,92,359,98,327,103"/>
<area shape="rect" id="Node000006" href="$class_b_n_o08x.html#a96d47dd0f9aedfbe3f731f8ae76b2e85" title="Requests product ID, prints the returned info over serial, and returns the reason for the most resent..." alt="" coords="377,123,555,149"/>
<area shape="poly" id="edge5_Node000005_Node000006" title=" " alt="" coords="300,262,324,249,341,229,348,208,355,186,372,165,388,154,391,158,376,169,360,189,353,210,345,231,328,253,302,267"/>
<area shape="rect" id="Node000011" href="$class_b_n_o08x.html#a28cd1c0b3477571d87133234e6358503" title="Hard resets BNO08x sensor." alt="" coords="396,179,535,205"/>
<area shape="poly" id="edge10_Node000005_Node000011" title=" " alt="" coords="293,260,325,248,349,235,373,222,405,209,407,213,375,226,351,240,327,253,295,265"/>
<area shape="rect" id="Node000013" href="$class_b_n_o08x.html#a589eb9780f5bf613bbd447ef5b9ade3d" title="Initializes required esp&#45;idf SPI data structures with values from user passed bno08x_config_t struct." alt="" coords="382,236,550,263"/>
<area shape="poly" id="edge12_Node000005_Node000013" title=" " alt="" coords="300,266,365,258,366,264,301,271"/>
<area shape="rect" id="Node000015" href="$class_b_n_o08x.html#ae0dab25557befcf62bf384fdc241ef10" title="Initializes required gpio." alt="" coords="403,288,529,315"/>
<area shape="poly" id="edge14_Node000005_Node000015" title=" " alt="" coords="301,280,387,290,387,295,300,286"/>
<area shape="rect" id="Node000018" href="$class_b_n_o08x.html#aa27026da2c52b4aca49b78863f10ec61" title="Initializes host interrupt ISR." alt="" coords="394,339,538,365"/>
<area shape="poly" id="edge17_Node000005_Node000018" title=" " alt="" coords="294,287,327,299,375,324,394,331,392,336,373,329,325,304,292,292"/>
<area shape="rect" id="Node000020" href="$class_b_n_o08x.html#a58f43c8bb1e7fe8560ce442d46240e81" title="Initializes SPI." alt="" coords="406,389,525,416"/>
<area shape="poly" id="edge19_Node000005_Node000020" title=" " alt="" coords="302,286,328,299,345,319,352,338,360,357,376,375,393,385,390,390,372,379,355,360,347,340,340,321,324,303,300,290"/>
<area shape="rect" id="Node000021" href="$class_b_n_o08x.html#a06f99a6b2182b49a0e61e2107f2be6be" title="Launches spi_task and data_proc_task on constructor call." alt="" coords="388,451,543,477"/>
<area shape="poly" id="edge20_Node000005_Node000021" title=" " alt="" coords="302,284,328,299,341,315,349,332,353,364,357,395,364,411,376,426,397,441,393,446,372,430,359,413,352,397,348,364,344,333,337,318,324,303,299,288"/>
<area shape="rect" id="Node000007" href="$class_b_n_o08x.html#ab5f200069a2f8cb74cb79c6f162da5a1" title="Queues a packet containing the request product ID command." alt="" coords="621,5,784,48"/>
<area shape="poly" id="edge6_Node000006_Node000007" title=" " alt="" coords="532,120,556,108,570,97,579,84,589,71,604,58,612,53,614,58,607,62,593,75,584,87,574,100,559,113,534,124"/>
<area shape="rect" id="Node000009" href="$class_b_n_o08x.html#a4f12de628073f44b2a3fab2688cf1caf" title="Waits for a valid or invalid packet to be received or host_int_timeout_ms to elapse." alt="" coords="625,72,780,99"/>
<area shape="poly" id="edge8_Node000006_Node000009" title=" " alt="" coords="531,119,621,100,622,105,532,125"/>
<area shape="rect" id="Node000010" href="$class_b_n_o08x.html#a7cdeb849e728487de961cdfd4030c773" title="Waits for a queued packet to be sent or host_int_timeout_ms to elapse." alt="" coords="615,123,790,149"/>
<area shape="poly" id="edge9_Node000006_Node000010" title=" " alt="" coords="555,133,599,133,599,139,555,139"/>
<area shape="rect" id="Node000008" href="$class_b_n_o08x.html#a62c570ba96512f4d0d10b2594048de1f" title="Queues an SHTP packet to be sent via SPI." alt="" coords="852,13,1011,40"/>
<area shape="poly" id="edge7_Node000007_Node000008" title=" " alt="" coords="784,24,836,24,836,29,784,29"/>
<area shape="rect" id="Node000012" href="$class_b_n_o08x.html#a2897a178bf2c53cd99df0d4570edf72e" title="Waits for data to be received over SPI, or host_int_timeout_ms to elapse." alt="" coords="615,173,790,200"/>
<area shape="poly" id="edge11_Node000011_Node000012" title=" " alt="" coords="536,188,600,186,600,192,536,193"/>
<area shape="rect" id="Node000014" href="$class_b_n_o08x.html#a453ec8a70646651d4e5b10bf0b2e4d61" title="Resets all data returned by public getter APIs to initial values of 0 and low accuracy." alt="" coords="623,224,782,267"/>
<area shape="poly" id="edge13_Node000013_Node000014" title=" " alt="" coords="550,245,608,244,608,250,550,251"/>
<area shape="rect" id="Node000016" href="$class_b_n_o08x.html#a8f34d5475474f00ae6a92f73c1fe14e4" title="Initializes required gpio inputs." alt="" coords="618,291,787,317"/>
<area shape="poly" id="edge15_Node000015_Node000016" title=" " alt="" coords="529,299,603,300,603,306,529,305"/>
<area shape="rect" id="Node000017" href="$class_b_n_o08x.html#ad0b9e8f8d051798bb1da9b19598dbd64" title="Initializes required gpio outputs." alt="" coords="614,341,791,368"/>
<area shape="poly" id="edge16_Node000015_Node000017" title=" " alt="" coords="529,313,626,335,625,340,527,318"/>
<area shape="rect" id="Node000019" href="$class_b_n_o08x.html#a804b95c58c30d36933fd251626b85bf7" title="HINT interrupt service routine, handles falling edge of BNO08x HINT pin." alt="" coords="628,392,777,419"/>
<area shape="poly" id="edge18_Node000018_Node000019" title=" " alt="" coords="529,363,626,385,625,391,527,368"/>
<area shape="rect" id="Node000022" href="$class_b_n_o08x.html#a0ae135d7bf7a5f047a1d1aa5cc07e520" title="Static function used to launch data processing task." alt="" coords="619,443,786,485"/>
<area shape="poly" id="edge21_Node000021_Node000022" title=" " alt="" coords="544,461,603,461,603,467,544,467"/>
<area shape="rect" id="Node000049" href="$class_b_n_o08x.html#a0ce6d9db873555f1ebe7e095251eab74" title="Static function used to launch spi task." alt="" coords="605,532,800,559"/>
<area shape="poly" id="edge42_Node000021_Node000049" title=" " alt="" coords="508,475,648,524,646,529,506,481"/>
<area shape="rect" id="Node000023" href="$class_b_n_o08x.html#ab4373e9b87837ea9fcbc0b536338c7b8" title="Task responsible parsing packets. Executed when SPI task sends a packet to be parsed,..." alt="" coords="848,440,1015,467"/>
<area shape="poly" id="edge22_Node000022_Node000023" title=" " alt="" coords="787,457,832,455,832,461,787,463"/>
<area shape="rect" id="Node000024" href="$class_b_n_o08x.html#a1c47d27917ae3b2876efa121b803f924" title="Parses a packet received from bno08x, updating any data according to received reports." alt="" coords="1067,377,1223,404"/>
<area shape="poly" id="edge23_Node000023_Node000024" title=" " alt="" coords="979,437,1081,406,1083,412,980,442"/>
<area shape="rect" id="Node000048" href="$class_b_n_o08x.html#a05e4cd5861b55fc0182d7dd13bb85e49" title="Prints the passed SHTP packet to serial console with ESP_LOG statement." alt="" coords="1071,440,1220,467"/>
<area shape="poly" id="edge41_Node000023_Node000048" title=" " alt="" coords="1016,451,1055,451,1055,456,1016,456"/>
<area shape="rect" id="Node000025" href="$class_b_n_o08x.html#a4f66045a0528a0c17c52421ea51612e7" title="Parses received command report sent by BNO08x (See Ref. Manual 6.3.9)" alt="" coords="1288,161,1462,204"/>
<area shape="poly" id="edge24_Node000024_Node000025" title=" " alt="" coords="1150,376,1168,343,1195,300,1230,254,1274,214,1280,209,1283,214,1277,218,1234,257,1199,303,1172,346,1155,378"/>
<area shape="rect" id="Node000026" href="$class_b_n_o08x.html#a206c0e3ddc3b745b56914976d6e69981" title="Parses get feature request report received from BNO08x." alt="" coords="1297,228,1453,271"/>
<area shape="poly" id="edge25_Node000024_Node000026" title=" " alt="" coords="1158,375,1206,329,1239,303,1274,280,1284,275,1287,280,1277,285,1242,308,1210,333,1161,379"/>
<area shape="rect" id="Node000027" href="$class_b_n_o08x.html#a51b360d795563b55559f11efb40be36a" title="Sends packet to be parsed to meta data function call (FRS_read_data()) through queue." alt="" coords="1293,295,1457,337"/>
<area shape="poly" id="edge26_Node000024_Node000027" title=" " alt="" coords="1188,374,1292,340,1294,345,1190,379"/>
<area shape="rect" id="Node000028" href="$class_b_n_o08x.html#a7be6047fef851a064c7cbc9eba092f6d" title="Parses received gyro integrated rotation vector report sent by BNO08x." alt="" coords="1304,361,1446,420"/>
<area shape="poly" id="edge27_Node000024_Node000028" title=" " alt="" coords="1223,388,1288,388,1288,393,1223,393"/>
<area shape="rect" id="Node000030" href="$class_b_n_o08x.html#a8d9db3e1b6208c2661e1c543deefa53d" title="Parses received input report sent by BNO08x." alt="" coords="1302,444,1448,487"/>
<area shape="poly" id="edge29_Node000024_Node000030" title=" " alt="" coords="1190,402,1294,436,1292,441,1188,407"/>
<area shape="rect" id="Node000047" href="$class_b_n_o08x.html#a29cfd7fc2816483ebebe9d55b677a036" title="Parses product id report and prints device info." alt="" coords="1295,511,1455,553"/>
<area shape="poly" id="edge40_Node000024_Node000047" title=" " alt="" coords="1189,402,1229,426,1245,445,1253,463,1261,480,1277,497,1283,501,1280,505,1274,501,1257,483,1248,465,1241,448,1226,430,1186,407"/>
<area shape="rect" id="Node000029" href="$class_b_n_o08x.html#ab02386f13caa446bab5921c1a71f92ab" title="Updates integrated gyro rotation vector data from SHTP channel 5 (CHANNEL_GYRO) special report data." alt="" coords="1551,151,1733,193"/>
<area shape="poly" id="edge28_Node000028_Node000029" title=" " alt="" coords="1445,368,1473,347,1486,330,1492,312,1495,276,1498,240,1506,221,1521,203,1535,192,1539,196,1525,207,1511,224,1504,241,1500,276,1497,313,1490,332,1477,351,1448,372"/>
<area shape="rect" id="Node000031" href="$class_b_n_o08x.html#a002aa97c9af8f6df2d0c83034e4f7b55" title="Parses data from received input report." alt="" coords="1569,217,1715,260"/>
<area shape="poly" id="edge30_Node000030_Node000031" title=" " alt="" coords="1447,448,1473,430,1487,411,1494,391,1495,351,1497,311,1505,290,1521,270,1536,258,1554,249,1556,254,1539,263,1525,274,1510,293,1503,312,1501,352,1499,392,1492,413,1477,434,1450,452"/>
<area shape="rect" id="Node000032" href="$class_b_n_o08x.html#afe588fbd0055193d3bc08984d7732354" title="Updates accelerometer data from parsed input report." alt="" coords="1523,284,1761,311"/>
<area shape="poly" id="edge31_Node000030_Node000032" title=" " alt="" coords="1447,447,1473,430,1484,417,1490,404,1495,376,1501,348,1508,334,1521,321,1526,317,1530,321,1524,325,1513,337,1506,350,1501,377,1495,405,1489,420,1476,434,1449,451"/>
<area shape="rect" id="Node000033" href="$class_b_n_o08x.html#a962b695ef4733d558c6f9684da0931ab" title="Updates linear gyro data from parsed input report." alt="" coords="1552,335,1732,377"/>
<area shape="poly" id="edge32_Node000030_Node000033" title=" " alt="" coords="1447,442,1473,430,1487,419,1497,409,1506,398,1521,387,1536,380,1538,385,1524,392,1510,402,1501,412,1491,423,1476,434,1449,447"/>
<area shape="rect" id="Node000034" href="$class_b_n_o08x.html#af971d82426740e62c1f05adcd2c9ce7c" title="Updates command data from parsed input report." alt="" coords="1535,401,1749,428"/>
<area shape="poly" id="edge33_Node000030_Node000034" title=" " alt="" coords="1448,449,1552,429,1553,434,1449,454"/>
<area shape="rect" id="Node000035" href="$class_b_n_o08x.html#ad7de3999d4df19038e27c01f9b02010e" title="Updates gravity data from parsed input report." alt="" coords="1545,452,1739,479"/>
<area shape="poly" id="edge34_Node000030_Node000035" title=" " alt="" coords="1448,463,1530,463,1530,468,1448,468"/>
<area shape="rect" id="Node000036" href="$class_b_n_o08x.html#a7416d844f6188c8d16f181d6d4431708" title="Updates linear accelerometer data from parsed input report." alt="" coords="1571,503,1713,545"/>
<area shape="poly" id="edge35_Node000030_Node000036" title=" " alt="" coords="1449,479,1556,502,1555,508,1448,484"/>
<area shape="rect" id="Node000037" href="$class_b_n_o08x.html#a3abf4a199bc7a03ac7447c2781673d88" title="Updates magnetic field data from parsed input report." alt="" coords="1550,569,1734,596"/>
<area shape="poly" id="edge36_Node000030_Node000037" title=" " alt="" coords="1449,482,1476,497,1492,512,1501,527,1509,542,1524,555,1536,562,1534,566,1521,560,1505,545,1496,530,1488,515,1473,501,1447,487"/>
<area shape="rect" id="Node000038" href="$class_b_n_o08x.html#a04489cf9a125495c7cf07c6ba5e9f6c0" title="Updates activity classifier data from parsed input report." alt="" coords="1555,620,1729,663"/>
<area shape="poly" id="edge37_Node000030_Node000038" title=" " alt="" coords="1449,479,1476,497,1489,511,1496,525,1501,553,1506,580,1513,593,1524,606,1542,618,1539,623,1521,610,1509,596,1501,582,1496,554,1491,527,1484,514,1473,501,1447,484"/>
<area shape="rect" id="Node000039" href="$class_b_n_o08x.html#a83fed63c67957ec4338afd43087d6e22" title="Updates raw accelerometer data from parsed input report." alt="" coords="1570,687,1714,729"/>
<area shape="poly" id="edge38_Node000030_Node000039" title=" " alt="" coords="1449,478,1477,497,1493,520,1500,543,1501,587,1502,631,1509,652,1525,673,1539,684,1556,693,1554,698,1536,689,1521,677,1504,654,1496,632,1495,587,1495,543,1488,522,1473,501,1446,482"/>
<area shape="rect" id="Node000040" href="$class_b_n_o08x.html#ad0f0fec4e53029b4ba907414a36ac5ea" title="Updates raw gyro data from parsed input report." alt="" coords="1570,753,1714,796"/>
<area shape="poly" id="edge39_Node000030_Node000040" title=" " alt="" coords="1450,477,1477,497,1497,528,1505,560,1505,591,1501,621,1496,651,1497,681,1505,710,1525,740,1539,752,1556,760,1554,765,1536,756,1521,743,1500,712,1491,681,1491,651,1495,620,1499,590,1500,560,1492,531,1473,501,1446,482"/>
<area shape="rect" id="Node000050" href="$class_b_n_o08x.html#a2ecd4ed60f82730ae230c61687ec92bf" title="Task responsible for SPI transactions. Executed when HINT in is asserted by BNO08x." alt="" coords="868,577,995,604"/>
<area shape="poly" id="edge43_Node000049_Node000050" title=" " alt="" coords="774,557,853,572,852,578,773,562"/>
<area shape="rect" id="Node000051" href="$class_b_n_o08x.html#a8d9f28d8857279a3c4b1f62f6dabb638" title="Receives a SHTP packet via SPI and sends it to data_proc_task()" alt="" coords="1063,577,1227,604"/>
<area shape="poly" id="edge44_Node000050_Node000051" title=" " alt="" coords="995,588,1047,588,1047,593,995,593"/>
<area shape="rect" id="Node000054" href="$class_b_n_o08x.html#a2c359a44a2c8e83ecb258a340e2d0e1a" title="Sends a queued SHTP packet via SPI." alt="" coords="1069,628,1221,655"/>
<area shape="poly" id="edge47_Node000050_Node000054" title=" " alt="" coords="992,602,1072,621,1071,626,990,607"/>
<area shape="rect" id="Node000052" href="$class_b_n_o08x.html#a9ee7e73f695af8965a9ede50136d5a8c" title="Receives a SHTP packet body via SPI." alt="" coords="1275,577,1475,604"/>
<area shape="poly" id="edge45_Node000051_Node000052" title=" " alt="" coords="1228,588,1260,588,1260,593,1228,593"/>
<area shape="rect" id="Node000053" href="$class_b_n_o08x.html#acb246769719351e02bf2aff06d039475" title="Receives a SHTP packet header via SPI." alt="" coords="1293,628,1457,671"/>
<area shape="poly" id="edge46_Node000051_Node000053" title=" " alt="" coords="1201,602,1278,622,1277,627,1200,607"/>
</map>