esp32_BNO08x/documentation/html/_callback_tests_8cpp_a8eee2...

93 lines
15 KiB
Plaintext

<map id="TEST_CASE" name="TEST_CASE">
<area shape="rect" id="Node000001" title=" " alt="" coords="5,355,102,381"/>
<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,171,326,213"/>
<area shape="poly" id="edge1_Node000001_Node000002" title=" " alt="" coords="61,353,96,303,148,245,181,220,184,224,151,249,100,306,65,356"/>
<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,259,317,301"/>
<area shape="poly" id="edge3_Node000001_Node000004" title=" " alt="" coords="75,352,148,311,161,305,163,310,151,316,78,357"/>
<area shape="rect" id="Node000005" href="$class_b_n_o08x.html#aea8e2c6dd7a2c9899479a7f39fe94798" title="Initializes BNO08x sensor." alt="" coords="175,325,301,352"/>
<area shape="poly" id="edge4_Node000001_Node000005" title=" " alt="" coords="102,358,160,348,160,354,103,363"/>
<area shape="rect" id="Node000042" href="$class_b_n_o08x_test_helper.html#a16423fc3250e88eb5392800022f82919" title="Prints end begin banner." alt="" coords="155,376,321,419"/>
<area shape="poly" id="edge44_Node000001_Node000042" title=" " alt="" coords="103,373,140,379,139,384,102,378"/>
<area shape="rect" id="Node000043" href="$class_b_n_o08x_test_helper.html#a23593453a05f7cac26fd341371197a8c" title="Prints a message during a test." alt="" coords="155,443,321,485"/>
<area shape="poly" id="edge45_Node000001_Node000043" title=" " alt="" coords="75,380,109,404,151,428,162,434,160,438,148,433,107,408,72,384"/>
<area shape="rect" id="Node000044" href="$class_b_n_o08x_test_helper.html#a066f8389fd1c682ec9565ebc3060d885" title="Prints test begin banner." alt="" coords="155,509,321,552"/>
<area shape="poly" id="edge46_Node000001_Node000044" title=" " alt="" coords="64,380,97,436,122,467,151,495,157,499,154,503,148,499,118,471,92,439,59,383"/>
<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,149,557,192"/>
<area shape="poly" id="edge2_Node000002_Node000003" title=" " alt="" coords="326,181,358,178,359,183,326,186"/>
<area shape="rect" id="Node000006" 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,275,550,301"/>
<area shape="poly" id="edge5_Node000005_Node000006" title=" " alt="" coords="300,322,387,303,388,308,301,327"/>
<area shape="rect" id="Node000007" href="$class_b_n_o08x.html#ae0dab25557befcf62bf384fdc241ef10" title="Initializes required gpio." alt="" coords="403,325,529,352"/>
<area shape="poly" id="edge6_Node000005_Node000007" title=" " alt="" coords="301,336,387,336,387,341,301,341"/>
<area shape="rect" id="Node000010" href="$class_b_n_o08x.html#aa27026da2c52b4aca49b78863f10ec61" title="Initializes host interrupt ISR." alt="" coords="394,376,538,403"/>
<area shape="poly" id="edge9_Node000005_Node000010" title=" " alt="" coords="301,350,388,369,387,375,300,355"/>
<area shape="rect" id="Node000012" href="$class_b_n_o08x.html#ae2fc9a0fe63a927c015a267621316a80" title="Initializes sh2 HAL." alt="" coords="388,604,543,631"/>
<area shape="poly" id="edge11_Node000005_Node000012" title=" " alt="" coords="302,348,328,362,354,387,378,416,416,478,443,539,459,588,454,590,438,541,411,481,374,419,351,391,324,366,300,352"/>
<area shape="rect" id="Node000028" href="$class_b_n_o08x.html#a58f43c8bb1e7fe8560ce442d46240e81" title="Initializes SPI." alt="" coords="406,655,525,681"/>
<area shape="poly" id="edge30_Node000005_Node000028" title=" " alt="" coords="303,345,328,362,351,398,360,434,358,469,352,504,347,538,345,573,354,607,376,641,393,654,390,658,372,644,349,609,340,573,341,538,347,503,353,468,354,434,346,400,324,366,300,350"/>
<area shape="rect" id="Node000029" href="$class_b_n_o08x.html#a90d959312e6f7f8151b8a38218492ead" title="Initializes data_proc_task." alt="" coords="399,216,533,243"/>
<area shape="poly" id="edge31_Node000005_Node000029" title=" " alt="" coords="300,323,325,311,339,299,348,287,357,274,372,260,399,247,401,251,376,265,361,277,352,290,343,303,327,316,302,327"/>
<area shape="rect" id="Node000008" href="$class_b_n_o08x.html#a8f34d5475474f00ae6a92f73c1fe14e4" title="Initializes required gpio inputs." alt="" coords="621,325,789,352"/>
<area shape="poly" id="edge7_Node000007_Node000008" title=" " alt="" coords="529,336,606,336,606,341,529,341"/>
<area shape="rect" id="Node000009" href="$class_b_n_o08x.html#ad0b9e8f8d051798bb1da9b19598dbd64" title="Initializes required gpio outputs." alt="" coords="617,275,793,301"/>
<area shape="poly" id="edge8_Node000007_Node000009" title=" " alt="" coords="529,323,623,302,624,308,530,328"/>
<area shape="rect" id="Node000011" href="$class_b_n_o08x.html#a804b95c58c30d36933fd251626b85bf7" title="HINT interrupt service routine, handles falling edge of BNO08x HINT pin." alt="" coords="631,376,779,403"/>
<area shape="poly" id="edge10_Node000010_Node000011" title=" " alt="" coords="538,387,615,387,615,392,538,392"/>
<area shape="rect" id="Node000013" href="$class_b_n_o08x_s_h2_h_a_l.html#ad89b6a3166e2eee003ad87a517a31cd5" title="Get time in microseconds callback for sh2 HAL lib." alt="" coords="605,579,805,605"/>
<area shape="poly" id="edge12_Node000012_Node000013" title=" " alt="" coords="544,606,590,602,590,607,544,612"/>
<area shape="rect" id="Node000014" href="$class_b_n_o08x_s_h2_h_a_l.html#a1add67e38698c9f33541af7bd2912d8f" title="General event callback for sh2 HAL lib, used to notify tasks of reset." alt="" coords="622,629,788,656"/>
<area shape="poly" id="edge13_Node000012_Node000014" title=" " alt="" coords="544,623,607,630,606,635,544,628"/>
<area shape="rect" id="Node000015" href="$class_b_n_o08x.html#a7441f7f2477c152deca17054041bf3e6" title="Prints product IDs received at initialization." alt="" coords="616,680,794,707"/>
<area shape="poly" id="edge14_Node000012_Node000015" title=" " alt="" coords="525,629,558,640,583,653,606,666,627,673,625,678,604,670,580,658,556,645,523,634"/>
<area shape="rect" id="Node000016" href="$class_b_n_o08x_s_h2_h_a_l.html#a19c041ef614d7eda85b94b10202a3997" title="Sensor event callback for sh2 HAL lib, sends received reports to data_proc_task()." alt="" coords="621,731,789,773"/>
<area shape="poly" id="edge15_Node000012_Node000016" title=" " alt="" coords="538,629,559,641,576,660,584,679,591,698,607,717,612,720,609,725,604,721,587,701,579,681,572,663,556,645,536,634"/>
<area shape="rect" id="Node000017" href="$class_b_n_o08x_s_h2_h_a_l.html#a236ccf0ff8d36060b465bc1f4f0a37fa" title="Sets the BNO08x driver object to be used with sh2 HAL lib callbacks." alt="" coords="606,797,804,824"/>
<area shape="poly" id="edge16_Node000012_Node000017" title=" " alt="" coords="542,629,559,641,574,659,581,677,584,714,587,750,593,767,607,783,611,787,607,791,603,787,589,769,581,751,578,714,576,679,569,661,556,645,539,633"/>
<area shape="rect" id="Node000018" href="$class_b_n_o08x_s_h2_h_a_l.html#a5fa6b901d1790fcd7dc0905f62ae040f" title="Closes SPI instance (nothing to do here, but required by sh2 HAL lib for cases where other communicat..." alt="" coords="613,848,797,875"/>
<area shape="poly" id="edge17_Node000012_Node000018" title=" " alt="" coords="544,629,559,641,577,665,585,690,586,715,584,740,582,764,583,788,590,811,607,834,610,837,607,841,603,838,586,813,578,789,576,764,578,739,581,715,579,691,572,668,555,645,541,633"/>
<area shape="rect" id="Node000019" href="$class_b_n_o08x_s_h2_h_a_l.html#ae079b1384cba806a778eb0e27f981da0" title="Opens SPI instance by waiting for interrupt." alt="" coords="615,528,795,555"/>
<area shape="poly" id="edge18_Node000012_Node000019" title=" " alt="" coords="501,601,605,564,630,557,632,562,606,569,503,606"/>
<area shape="rect" id="Node000022" href="$class_b_n_o08x.html#a6711a624f7229f2eee51ee0a5bc87e67" title="Toggles reset gpio pin for hard reset of BNO08x device." alt="" coords="1353,456,1503,483"/>
<area shape="poly" id="edge29_Node000012_Node000022" title=" " alt="" coords="472,602,490,571,519,532,558,493,580,476,604,463,666,445,748,435,845,431,951,432,1164,442,1339,457,1338,463,1164,448,951,437,845,436,749,441,667,451,606,468,583,481,561,497,524,535,495,574,476,605"/>
<area shape="rect" id="Node000024" href="$class_b_n_o08x_s_h2_h_a_l.html#a3e691461235b3e3c59866ac179d06f25" title="SPI rx callback for sh2 HAL lib." alt="" coords="616,899,794,925"/>
<area shape="poly" id="edge23_Node000012_Node000024" title=" " alt="" coords="544,629,559,641,580,672,588,703,588,735,584,765,579,796,579,826,587,855,607,885,610,888,606,891,603,888,582,858,574,826,574,795,578,765,583,734,583,704,575,674,555,644,541,633"/>
<area shape="rect" id="Node000027" href="$class_b_n_o08x_s_h2_h_a_l.html#a96d5b8fa7669f22cd0ecaf1feee13299" title="SPI tx callback for sh2 HAL lib." alt="" coords="615,477,795,504"/>
<area shape="poly" id="edge27_Node000012_Node000027" title=" " alt="" coords="480,601,532,558,567,534,604,514,621,507,623,512,606,518,570,539,536,562,484,605"/>
<area shape="rect" id="Node000020" href="$class_b_n_o08x_s_h2_h_a_l.html#a15b568922a498b988bd8b897b3ae2278" title="SPI wait for HINT sh2 HAL lib callback." alt="" coords="870,520,1046,563"/>
<area shape="poly" id="edge19_Node000019_Node000020" title=" " alt="" coords="796,539,855,539,855,544,796,544"/>
<area shape="rect" id="Node000021" href="$class_b_n_o08x_s_h2_h_a_l.html#a0c4cc938180a997fb94c0c34c0dce07e" title="Hardware reset callback for sh2 HAL lib, toggle RST gpio." alt="" coords="1112,477,1292,520"/>
<area shape="poly" id="edge20_Node000020_Node000021" title=" " alt="" coords="1045,523,1096,514,1097,520,1046,529"/>
<area shape="rect" id="Node000023" href="$class_b_n_o08x.html#a69cf0da11a71f5ea40f9fddd598d06fc" title="Waits for HINT pin assertion or HOST_INT_TIMEOUT_DEFAULT_MS to elapse." alt="" coords="1127,544,1277,571"/>
<area shape="poly" id="edge22_Node000020_Node000023" title=" " alt="" coords="1046,544,1111,549,1111,554,1046,550"/>
<area shape="poly" id="edge21_Node000021_Node000022" title=" " alt="" coords="1292,484,1337,478,1338,484,1292,490"/>
<area shape="poly" id="edge26_Node000024_Node000020" title=" " alt="" coords="785,896,803,885,836,851,864,812,888,770,907,727,934,644,949,577,954,578,939,645,912,729,893,773,869,815,840,854,806,889,788,900"/>
<area shape="rect" id="Node000025" href="$class_b_n_o08x_s_h2_h_a_l.html#a6003e3011b0e8208e2632f729e195922" title="SPI rx packet body (invoked from SPI rx callback.)" alt="" coords="869,924,1047,967"/>
<area shape="poly" id="edge24_Node000024_Node000025" title=" " alt="" coords="795,921,854,929,854,934,794,926"/>
<area shape="rect" id="Node000026" href="$class_b_n_o08x_s_h2_h_a_l.html#ac63619162addd952a2af599cb414783f" title="SPI rx packet header (invoked from SPI rx callback.)" alt="" coords="869,857,1047,900"/>
<area shape="poly" id="edge25_Node000024_Node000026" title=" " alt="" coords="794,898,854,890,854,895,795,903"/>
<area shape="poly" id="edge28_Node000027_Node000020" title=" " alt="" coords="776,502,856,518,855,523,775,507"/>
<area shape="rect" id="Node000030" href="$class_b_n_o08x.html#addf01190119091237ad7a9a1aaea4dcc" title="Static function used to launch cb_task task." alt="" coords="609,157,801,184"/>
<area shape="poly" id="edge32_Node000029_Node000030" title=" " alt="" coords="522,213,632,186,634,191,524,218"/>
<area shape="rect" id="Node000034" href="$class_b_n_o08x.html#a0ae135d7bf7a5f047a1d1aa5cc07e520" title="Static function used to launch data processing task." alt="" coords="621,208,789,251"/>
<area shape="poly" id="edge36_Node000029_Node000034" title=" " alt="" coords="533,227,606,227,606,232,533,232"/>
<area shape="rect" id="Node000037" href="$class_b_n_o08x.html#a888eaf810d6140e2e771c44f5857b7c1" title="Static function used to launch sh2 HAL service task." alt="" coords="616,69,794,112"/>
<area shape="poly" id="edge39_Node000029_Node000037" title=" " alt="" coords="532,214,556,202,571,188,580,174,589,159,604,143,641,118,644,122,607,147,593,163,584,177,575,192,559,206,534,218"/>
<area shape="rect" id="Node000031" href="$class_b_n_o08x.html#a5fb7f6c3e5d1b3478f529644a0f175b7" title="Task responsible for executing callbacks registered with register_cb()." alt="" coords="896,157,1020,184"/>
<area shape="poly" id="edge33_Node000030_Node000031" title=" " alt="" coords="801,168,880,168,880,173,801,173"/>
<area shape="rect" id="Node000032" href="$class_b_n_o08x.html#a86275a93706656dae6af421bc15a4e59" title="Determines the flavor of a passed callback and executes it appropriately." alt="" coords="1133,157,1270,184"/>
<area shape="poly" id="edge34_Node000031_Node000032" title=" " alt="" coords="1021,168,1117,168,1117,173,1021,173"/>
<area shape="rect" id="Node000033" href="$class_b_n_o08x_cb_generic.html#a19f9e8a22d039acf29c98801368ff0bb" title=" " alt="" coords="1340,157,1516,184"/>
<area shape="poly" id="edge35_Node000032_Node000033" title=" " alt="" coords="1271,168,1325,168,1325,173,1271,173"/>
<area shape="rect" id="Node000035" href="$class_b_n_o08x.html#ab4373e9b87837ea9fcbc0b536338c7b8" title="Task responsible for parsing/handling sensor events sent by SH2 HAL and updating data that is returne..." alt="" coords="874,216,1042,243"/>
<area shape="poly" id="edge37_Node000034_Node000035" title=" " alt="" coords="789,227,859,227,859,232,789,232"/>
<area shape="rect" id="Node000036" href="$class_b_n_o08x.html#a7d5250a6017f9e76e3c2ddb00d7103a1" title="Parses receieved report and updates uer data with it." alt="" coords="1121,208,1283,251"/>
<area shape="poly" id="edge38_Node000035_Node000036" title=" " alt="" coords="1042,227,1105,227,1105,232,1042,232"/>
<area shape="rect" id="Node000038" href="$class_b_n_o08x.html#a7c7a9a0b81f9c8762fc927efea68bf23" title="Task responsible for calling shtp_service() when HINT is asserted to dispatch any sh2 HAL lib callbac..." alt="" coords="853,67,1063,93"/>
<area shape="poly" id="edge40_Node000037_Node000038" title=" " alt="" coords="794,84,837,82,838,88,795,90"/>
<area shape="rect" id="Node000039" href="$class_b_n_o08x.html#a8e43dd50140f326cfb58e00399923e8c" title="Locks sh2 HAL lib to only allow the calling task to call its APIs." alt="" coords="1121,107,1283,133"/>
<area shape="poly" id="edge41_Node000038_Node000039" title=" " alt="" coords="1044,91,1106,102,1105,107,1043,97"/>
<area shape="rect" id="Node000040" href="$class_b_n_o08x.html#ac732c968f8d639c81f5d423aad004e95" title="Re&#45;enables all reports enabled by user (called when BNO08x reset is detected by sh2 HAL lib)." alt="" coords="1111,5,1292,32"/>
<area shape="poly" id="edge42_Node000038_Node000040" title=" " alt="" coords="1013,63,1130,34,1131,39,1015,69"/>
<area shape="rect" id="Node000041" href="$class_b_n_o08x.html#a2dbce689245a1b9968e3ea627d2b9a42" title="Unlocks sh2 HAL lib to allow other tasks to call its APIs." alt="" coords="1114,56,1290,83"/>
<area shape="poly" id="edge43_Node000038_Node000041" title=" " alt="" coords="1063,73,1098,71,1098,77,1064,78"/>
</map>