2024-12-06 04:09:30 +00:00
\doxysection { BNO08x Class Reference}
\hypertarget { class_ b_ n_ o08x} { } \label { class_ b_ n_ o08x} \index { BNO08x@{ BNO08x} }
\doxylink { class_ b_ n_ o08x} { BNO08x} IMU driver class.
{ \ttfamily \# include $ < $ BNO08x.\+ hpp$ > $ }
Collaboration diagram for BNO08x\+ :
\nopagebreak
\begin { figure} [H]
\begin { center}
\leavevmode
\includegraphics [width=350pt] { class_ b_ n_ o08x_ _ coll_ _ graph}
\end { center}
\end { figure}
\doxysubsubsection * { Classes}
\begin { DoxyCompactItemize}
\item
struct \mbox { \hyperlink { struct_ b_ n_ o08x_ 1_ 1bno08x_ _ reports_ _ t} { bno08x\+ \_ \+ reports\+ \_ \+ t} }
\begin { DoxyCompactList} \small \item \em Contains report implementations. \end { DoxyCompactList} \end { DoxyCompactItemize}
\doxysubsubsection * { Public Types}
\begin { DoxyCompactItemize}
\item
typedef struct BNO08x\+ ::bno08x\+ \_ \+ reports\+ \_ \+ t \mbox { \hyperlink { class_ b_ n_ o08x_ ae08bdaff01ecacf0f399ab289fdf0b99} { bno08x\+ \_ \+ reports\+ \_ \+ t} }
\begin { DoxyCompactList} \small \item \em Contains report implementations. \end { DoxyCompactList} \end { DoxyCompactItemize}
\doxysubsubsection * { Public Member Functions}
\begin { DoxyCompactItemize}
\item
\mbox { \hyperlink { class_ b_ n_ o08x_ ad12fb6cf310ad7a04a4e53809833bd61} { BNO08x} } (\mbox { \hyperlink { structbno08x_ _ config_ _ t} { bno08x\+ \_ \+ config\+ \_ \+ t} } \mbox { \hyperlink { class_ b_ n_ o08x_ aeda443e9f608fccfec0e6770edc90c82} { imu\+ \_ \+ config} } =\mbox { \hyperlink { structbno08x_ _ config_ _ t} { bno08x\+ \_ \+ config\+ \_ \+ t} } ())
\begin { DoxyCompactList} \small \item \em \doxylink { class_ b_ n_ o08x} { BNO08x} imu constructor. \end { DoxyCompactList} \item
\mbox { \hyperlink { class_ b_ n_ o08x_ a687eee44d68e1bcabce04780d7eb5fb9} { \texorpdfstring { $ \sim $ } { \string ~} \+ BNO08x} } ()
\begin { DoxyCompactList} \small \item \em \doxylink { class_ b_ n_ o08x} { BNO08x} imu deconstructor. \end { DoxyCompactList} \item
bool \mbox { \hyperlink { class_ b_ n_ o08x_ aea8e2c6dd7a2c9899479a7f39fe94798} { initialize} } ()
\begin { DoxyCompactList} \small \item \em Initializes \doxylink { class_ b_ n_ o08x} { BNO08x} sensor. \end { DoxyCompactList} \item
bool \mbox { \hyperlink { class_ b_ n_ o08x_ a28cd1c0b3477571d87133234e6358503} { hard\+ \_ \+ reset} } ()
\begin { DoxyCompactList} \small \item \em Hard resets \doxylink { class_ b_ n_ o08x} { BNO08x} device. \end { DoxyCompactList} \item
bool \mbox { \hyperlink { class_ b_ n_ o08x_ a973a1b1785f3302ee1b2702c6a27646e} { soft\+ \_ \+ reset} } ()
\begin { DoxyCompactList} \small \item \em Soft resets \doxylink { class_ b_ n_ o08x} { BNO08x} device by sending RESET (1) command on "{ } device"{ } channel. \end { DoxyCompactList} \item
2024-12-27 02:02:09 +00:00
bool \mbox { \hyperlink { class_ b_ n_ o08x_ aebacbe092615cd083cf996b14402bba6} { disable\+ \_ \+ all\+ \_ \+ reports} } ()
\begin { DoxyCompactList} \small \item \em Disables all currently enabled reports. \end { DoxyCompactList} \item
2024-12-06 04:09:30 +00:00
\mbox { \hyperlink { _ b_ n_ o08x_ global_ types_ 8hpp_ ab2a2ace42f7f438d6a799dfcbc243147} { BNO08x\+ Reset\+ Reason} } \mbox { \hyperlink { class_ b_ n_ o08x_ a96d47dd0f9aedfbe3f731f8ae76b2e85} { get\+ \_ \+ reset\+ \_ \+ reason} } ()
\begin { DoxyCompactList} \small \item \em Returns reason for previous reset via product ID report. \end { DoxyCompactList} \item
bool \mbox { \hyperlink { class_ b_ n_ o08x_ aaaa15b21ad98a3b161065c3d03ff62b5} { on} } ()
\begin { DoxyCompactList} \small \item \em Places \doxylink { class_ b_ n_ o08x} { BNO08x} device in on state by sending ON (2) command on "{ } device"{ } channel. \end { DoxyCompactList} \item
bool \mbox { \hyperlink { class_ b_ n_ o08x_ a7c5774a48227e8e3346fa5df7dfa420c} { sleep} } ()
\begin { DoxyCompactList} \small \item \em Places \doxylink { class_ b_ n_ o08x} { BNO08x} device in sleep state by sending SLEEP (3) command on "{ } device"{ } channel. \end { DoxyCompactList} \item
bool \mbox { \hyperlink { class_ b_ n_ o08x_ af0dd28db9e331312e45937b12295ca94} { calibration\+ \_ \+ start} } (uint32\+ \_ \+ t period\+ \_ \+ us)
\begin { DoxyCompactList} \small \item \em Starts simple calibration, see ref. manual 6.\+ 4.\+ 10.\+ 1. \end { DoxyCompactList} \item
bool \mbox { \hyperlink { class_ b_ n_ o08x_ a817ec9ad9d51a1515f658374de48f483} { calibration\+ \_ \+ end} } (sh2\+ \_ \+ \+ Cal\+ Status\+ \_ \+ t \& status)
\begin { DoxyCompactList} \small \item \em Ends turn-\/ table calibration, see ref. manual 6.\+ 4.\+ 10.\+ 2. \end { DoxyCompactList} \item
bool \mbox { \hyperlink { class_ b_ n_ o08x_ a90ea8e811d4bea28a356290d6f5caac5} { dynamic\+ \_ \+ calibration\+ \_ \+ enable} } (\mbox { \hyperlink { _ b_ n_ o08x_ global_ types_ 8hpp_ aeeb4f49593c062357c3b7037bc2de850} { BNO08x\+ Cal\+ Sel} } sensor)
\begin { DoxyCompactList} \small \item \em Enables dynamic/motion engine calibration for specified sensor(s), see ref. manual 6.\+ 4.\+ 6.\+ 1. \end { DoxyCompactList} \item
bool \mbox { \hyperlink { class_ b_ n_ o08x_ a5c7498f6fa4bd43280dff1d322233b95} { dynamic\+ \_ \+ calibration\+ \_ \+ disable} } (\mbox { \hyperlink { _ b_ n_ o08x_ global_ types_ 8hpp_ aeeb4f49593c062357c3b7037bc2de850} { BNO08x\+ Cal\+ Sel} } sensor)
\begin { DoxyCompactList} \small \item \em Disables dynamic/motion engine calibration for specified sensor(s), see ref. manual 6.\+ 4.\+ 6.\+ 1. \end { DoxyCompactList} \item
bool \mbox { \hyperlink { class_ b_ n_ o08x_ a4e8b49abd33e6e11f23b2ae345058b9b} { dynamic\+ \_ \+ calibration\+ \_ \+ autosave\+ \_ \+ enable} } ()
\begin { DoxyCompactList} \small \item \em Enables the automatic saving of dynamic/\+ ME calibration data to \doxylink { class_ b_ n_ o08x} { BNO08x} internal flash See ref manual 6.\+ 4.\+ 7.\+ 1. \end { DoxyCompactList} \item
bool \mbox { \hyperlink { class_ b_ n_ o08x_ a9387728c276734da27388dbea38b6b32} { dynamic\+ \_ \+ calibration\+ \_ \+ autosave\+ \_ \+ disable} } ()
\begin { DoxyCompactList} \small \item \em Disables the automatic saving of dynamic/\+ ME calibration data to \doxylink { class_ b_ n_ o08x} { BNO08x} internal flash See ref manual 6.\+ 4.\+ 7.\+ 1. \end { DoxyCompactList} \item
bool \mbox { \hyperlink { class_ b_ n_ o08x_ a1c703a1fb79ce777dc73a83f02bfdb85} { save\+ \_ \+ dynamic\+ \_ \+ calibration} } ()
\begin { DoxyCompactList} \small \item \em Saves dynamic/motion engine calibration data to \doxylink { class_ b_ n_ o08x} { BNO08x} internal flash immediately. See ref manual 6.\+ 4.\+ 5.\+ 1. \end { DoxyCompactList} \item
bool \mbox { \hyperlink { class_ b_ n_ o08x_ a84a19cd1564f8d427394f137df54477d} { clear\+ \_ \+ dynamic\+ \_ \+ calibration} } ()
\begin { DoxyCompactList} \small \item \em Clears dynamic/motion engine calibration data and resets \doxylink { class_ b_ n_ o08x} { BNO08x} device. See ref manual 6.\+ 4.\+ 9.\+ 1. \end { DoxyCompactList} \item
bool \mbox { \hyperlink { class_ b_ n_ o08x_ aee6ce74b95c1e1651cb93a60d723c16c} { get\+ \_ \+ frs} } (uint16\+ \_ \+ t frs\+ \_ \+ \+ ID, uint32\+ \_ \+ t(\& data)\mbox { [} 16\mbox { ]} , uint16\+ \_ \+ t \& rx\+ \_ \+ data\+ \_ \+ sz)
\begin { DoxyCompactList} \small \item \em Retrieves a record from flash record system (if your goal is to retrieve meta data use the \doxylink { class_ b_ n_ o08x_ rpt} { BNO08x\+ Rpt} \+ :get\+ \_ \+ meta\+ \_ \+ data() method instead) \end { DoxyCompactList} \item
sh2\+ \_ \+ \+ Product\+ Ids\+ \_ \+ t \mbox { \hyperlink { class_ b_ n_ o08x_ aa8fd64f60de86ff6b8562f90f3b09690} { get\+ \_ \+ product\+ \_ \+ \+ IDs} } ()
\begin { DoxyCompactList} \small \item \em Returns product ID info sent by IMU at initialization. \end { DoxyCompactList} \item
bool \mbox { \hyperlink { class_ b_ n_ o08x_ a367d525d1c0ba119b3dca3067bb5bccc} { data\+ \_ \+ available} } ()
\begin { DoxyCompactList} \small \item \em Polls for new data/report to become available. \end { DoxyCompactList} \item
bool \mbox { \hyperlink { class_ b_ n_ o08x_ aadd44524e6d22c48916acd9518b63ec3} { register\+ \_ \+ cb} } (std\+ ::function$ < $ void(void)$ > $ cb\+ \_ \+ fxn)
\begin { DoxyCompactList} \small \item \em Registers a callback to execute when new data from a report is received. \end { DoxyCompactList} \item
bool \mbox { \hyperlink { class_ b_ n_ o08x_ a082c79d9951ac32ea5fa25de90255a41} { register\+ \_ \+ cb} } (std\+ ::function$ < $ void(uint8\+ \_ \+ t report\+ \_ \+ \+ ID)$ > $ cb\+ \_ \+ fxn)
\begin { DoxyCompactList} \small \item \em Registers a callback to execute when new data from a report is received, overloaded with callback param for most recent report ID. \end { DoxyCompactList} \item
void \mbox { \hyperlink { class_ b_ n_ o08x_ a7441f7f2477c152deca17054041bf3e6} { print\+ \_ \+ product\+ \_ \+ ids} } ()
\begin { DoxyCompactList} \small \item \em Prints product IDs received at initialization. \end { DoxyCompactList} \end { DoxyCompactItemize}
\doxysubsubsection * { Static Public Member Functions}
\begin { DoxyCompactItemize}
\item
static const char \texorpdfstring { $ \ast $ } { *} \mbox { \hyperlink { class_ b_ n_ o08x_ a0559c3f2f49d287e7c400a780975f850} { activity\+ \_ \+ to\+ \_ \+ str} } (\mbox { \hyperlink { _ b_ n_ o08x_ global_ types_ 8hpp_ abcc5d57e21ea6ed79e792deafcb62187} { BNO08x\+ Activity} } activity)
\begin { DoxyCompactList} \small \item \em Converts a BNO08x\+ Activity enum to string. \end { DoxyCompactList} \item
static const char \texorpdfstring { $ \ast $ } { *} \mbox { \hyperlink { class_ b_ n_ o08x_ aa8347555e37a185bef4a834b04231123} { stability\+ \_ \+ to\+ \_ \+ str} } (\mbox { \hyperlink { _ b_ n_ o08x_ global_ types_ 8hpp_ a498b35f9e00b24e51f8f60b029751ab5} { BNO08x\+ Stability} } stability)
\begin { DoxyCompactList} \small \item \em Converts a BNO08x\+ Stability enum to string. \end { DoxyCompactList} \item
static const char \texorpdfstring { $ \ast $ } { *} \mbox { \hyperlink { class_ b_ n_ o08x_ a41d65567bb316971f68718ca69039ace} { accuracy\+ \_ \+ to\+ \_ \+ str} } (\mbox { \hyperlink { _ b_ n_ o08x_ global_ types_ 8hpp_ aed7bab8e55be415938e078ebe72562a0} { BNO08x\+ Accuracy} } accuracy)
\end { DoxyCompactItemize}
\doxysubsubsection * { Public Attributes}
\begin { DoxyCompactItemize}
\item
\mbox { \hyperlink { struct_ b_ n_ o08x_ 1_ 1bno08x_ _ reports_ _ t} { bno08x\+ \_ \+ reports\+ \_ \+ t} } \mbox { \hyperlink { class_ b_ n_ o08x_ ae1db7422ee9c2cac77382cc0a7aa430e} { rpt} }
\end { DoxyCompactItemize}
\doxysubsubsection * { Private Member Functions}
\begin { DoxyCompactItemize}
\item
void \mbox { \hyperlink { class_ b_ n_ o08x_ ab4373e9b87837ea9fcbc0b536338c7b8} { data\+ \_ \+ proc\+ \_ \+ task} } ()
\begin { DoxyCompactList} \small \item \em Task responsible for parsing/handling sensor events sent by SH2 HAL and updating data that is returned to user. \end { DoxyCompactList} \item
void \mbox { \hyperlink { class_ b_ n_ o08x_ a7c7a9a0b81f9c8762fc927efea68bf23} { sh2\+ \_ \+ \+ HAL\+ \_ \+ service\+ \_ \+ task} } ()
\begin { DoxyCompactList} \small \item \em Task responsible for calling shtp\+ \_ \+ service() when HINT is asserted to dispatch any sh2 HAL lib callbacks. \end { DoxyCompactList} \item
void \mbox { \hyperlink { class_ b_ n_ o08x_ a5fb7f6c3e5d1b3478f529644a0f175b7} { cb\+ \_ \+ task} } ()
\begin { DoxyCompactList} \small \item \em Task responsible for executing callbacks registered with \doxylink { class_ b_ n_ o08x_ aadd44524e6d22c48916acd9518b63ec3} { register\+ \_ \+ cb()} . \end { DoxyCompactList} \item
void \mbox { \hyperlink { class_ b_ n_ o08x_ a8e43dd50140f326cfb58e00399923e8c} { lock\+ \_ \+ sh2\+ \_ \+ \+ HAL} } ()
\begin { DoxyCompactList} \small \item \em Locks sh2 HAL lib to only allow the calling task to call its APIs. \end { DoxyCompactList} \item
void \mbox { \hyperlink { class_ b_ n_ o08x_ a2dbce689245a1b9968e3ea627d2b9a42} { unlock\+ \_ \+ sh2\+ \_ \+ \+ HAL} } ()
\begin { DoxyCompactList} \small \item \em Unlocks sh2 HAL lib to allow other tasks to call its APIs. \end { DoxyCompactList} \item
void \mbox { \hyperlink { class_ b_ n_ o08x_ a37e7c18232f47694d5e55bacc109189c} { lock\+ \_ \+ user\+ \_ \+ data} } ()
\begin { DoxyCompactList} \small \item \em Locks locks user data to only allow the calling task to read/modify it. \end { DoxyCompactList} \item
void \mbox { \hyperlink { class_ b_ n_ o08x_ a171b4f380b145e295a11219a8e2a961a} { unlock\+ \_ \+ user\+ \_ \+ data} } ()
\begin { DoxyCompactList} \small \item \em Unlocks user data to allow other tasks to read/modify it. \end { DoxyCompactList} \item
void \mbox { \hyperlink { class_ b_ n_ o08x_ a7d5250a6017f9e76e3c2ddb00d7103a1} { handle\+ \_ \+ sensor\+ \_ \+ report} } (sh2\+ \_ \+ \+ Sensor\+ Value\+ \_ \+ t \texorpdfstring { $ \ast $ } { *} sensor\+ \_ \+ val)
\begin { DoxyCompactList} \small \item \em Parses receieved report and updates uer data with it. \end { DoxyCompactList} \item
void \mbox { \hyperlink { class_ b_ n_ o08x_ a86275a93706656dae6af421bc15a4e59} { handle\+ \_ \+ cb} } (uint8\+ \_ \+ t rpt\+ \_ \+ \+ ID, \mbox { \hyperlink { class_ b_ n_ o08x_ cb_ generic} { BNO08x\+ Cb\+ Generic} } \texorpdfstring { $ \ast $ } { *} cb\+ \_ \+ entry)
\begin { DoxyCompactList} \small \item \em Determines the flavor of a passed callback and executes it appropriately. \end { DoxyCompactList} \item
esp\+ \_ \+ err\+ \_ \+ t \mbox { \hyperlink { class_ b_ n_ o08x_ a589eb9780f5bf613bbd447ef5b9ade3d} { init\+ \_ \+ config\+ \_ \+ args} } ()
\begin { DoxyCompactList} \small \item \em Initializes required esp-\/ idf SPI data structures with values from user passed \doxylink { structbno08x_ _ config_ _ t} { bno08x\+ \_ \+ config\+ \_ \+ t} struct. \end { DoxyCompactList} \item
esp\+ \_ \+ err\+ \_ \+ t \mbox { \hyperlink { class_ b_ n_ o08x_ ae0dab25557befcf62bf384fdc241ef10} { init\+ \_ \+ gpio} } ()
\begin { DoxyCompactList} \small \item \em Initializes required gpio. \end { DoxyCompactList} \item
esp\+ \_ \+ err\+ \_ \+ t \mbox { \hyperlink { class_ b_ n_ o08x_ a8f34d5475474f00ae6a92f73c1fe14e4} { init\+ \_ \+ gpio\+ \_ \+ inputs} } ()
\begin { DoxyCompactList} \small \item \em Initializes required gpio inputs. \end { DoxyCompactList} \item
esp\+ \_ \+ err\+ \_ \+ t \mbox { \hyperlink { class_ b_ n_ o08x_ ad0b9e8f8d051798bb1da9b19598dbd64} { init\+ \_ \+ gpio\+ \_ \+ outputs} } ()
\begin { DoxyCompactList} \small \item \em Initializes required gpio outputs. \end { DoxyCompactList} \item
esp\+ \_ \+ err\+ \_ \+ t \mbox { \hyperlink { class_ b_ n_ o08x_ aa27026da2c52b4aca49b78863f10ec61} { init\+ \_ \+ hint\+ \_ \+ isr} } ()
\begin { DoxyCompactList} \small \item \em Initializes host interrupt ISR. \end { DoxyCompactList} \item
esp\+ \_ \+ err\+ \_ \+ t \mbox { \hyperlink { class_ b_ n_ o08x_ a58f43c8bb1e7fe8560ce442d46240e81} { init\+ \_ \+ spi} } ()
\begin { DoxyCompactList} \small \item \em Initializes SPI. \end { DoxyCompactList} \item
esp\+ \_ \+ err\+ \_ \+ t \mbox { \hyperlink { class_ b_ n_ o08x_ a90d959312e6f7f8151b8a38218492ead} { init\+ \_ \+ tasks} } ()
\begin { DoxyCompactList} \small \item \em Initializes data\+ \_ \+ proc\+ \_ \+ task. \end { DoxyCompactList} \item
esp\+ \_ \+ err\+ \_ \+ t \mbox { \hyperlink { class_ b_ n_ o08x_ ae2fc9a0fe63a927c015a267621316a80} { init\+ \_ \+ sh2\+ \_ \+ \+ HAL} } ()
\begin { DoxyCompactList} \small \item \em Initializes sh2 HAL. \end { DoxyCompactList} \item
esp\+ \_ \+ err\+ \_ \+ t \mbox { \hyperlink { class_ b_ n_ o08x_ a4f007dd431f10e741414d197bb4926c3} { deinit\+ \_ \+ gpio} } ()
\begin { DoxyCompactList} \small \item \em Deinitializes GPIO, called from deconstructor. \end { DoxyCompactList} \item
esp\+ \_ \+ err\+ \_ \+ t \mbox { \hyperlink { class_ b_ n_ o08x_ a1f0f4cd8dc7d38448e2198ea47d0018c} { deinit\+ \_ \+ gpio\+ \_ \+ inputs} } ()
\begin { DoxyCompactList} \small \item \em Deinitializes GPIO inputs, called from deconstructor. \end { DoxyCompactList} \item
esp\+ \_ \+ err\+ \_ \+ t \mbox { \hyperlink { class_ b_ n_ o08x_ ab132a061bd437fd109225446aa1f6010} { deinit\+ \_ \+ gpio\+ \_ \+ outputs} } ()
\begin { DoxyCompactList} \small \item \em Deinitializes GPIO outputs, called from deconstructor. \end { DoxyCompactList} \item
esp\+ \_ \+ err\+ \_ \+ t \mbox { \hyperlink { class_ b_ n_ o08x_ a9d96108b0f5b1e1e1ac431bc993ca758} { deinit\+ \_ \+ hint\+ \_ \+ isr} } ()
\begin { DoxyCompactList} \small \item \em Deinitializes host interrupt ISR, called from deconstructor. \end { DoxyCompactList} \item
esp\+ \_ \+ err\+ \_ \+ t \mbox { \hyperlink { class_ b_ n_ o08x_ a233920ce97f685fbdabecccacf471d85} { deinit\+ \_ \+ spi} } ()
\begin { DoxyCompactList} \small \item \em Deinitializes SPI. \end { DoxyCompactList} \item
esp\+ \_ \+ err\+ \_ \+ t \mbox { \hyperlink { class_ b_ n_ o08x_ a968144efd5100ccce0e453c40a63592b} { deinit\+ \_ \+ tasks} } ()
\begin { DoxyCompactList} \small \item \em Deinitializes tasks used by \doxylink { class_ b_ n_ o08x} { BNO08x} driver. \end { DoxyCompactList} \item
esp\+ \_ \+ err\+ \_ \+ t \mbox { \hyperlink { class_ b_ n_ o08x_ a75c7226ea4626862a5039aa053116861} { deinit\+ \_ \+ sh2\+ \_ \+ \+ HAL} } ()
\begin { DoxyCompactList} \small \item \em Deinitializes sh2 HAL. \end { DoxyCompactList} \item
esp\+ \_ \+ err\+ \_ \+ t \mbox { \hyperlink { class_ b_ n_ o08x_ a69cf0da11a71f5ea40f9fddd598d06fc} { wait\+ \_ \+ for\+ \_ \+ hint} } ()
\begin { DoxyCompactList} \small \item \em Waits for HINT pin assertion or HOST\+ \_ \+ \+ INT\+ \_ \+ \+ TIMEOUT\+ \_ \+ \+ DEFAULT\+ \_ \+ \+ MS to elapse. \end { DoxyCompactList} \item
esp\+ \_ \+ err\+ \_ \+ t \mbox { \hyperlink { class_ b_ n_ o08x_ a6602374314c07e9f707c0a6d2234bf7e} { wait\+ \_ \+ for\+ \_ \+ reset} } ()
\begin { DoxyCompactList} \small \item \em Waits for SH2 HAL lib to detect reset or HOST\+ \_ \+ \+ INT\+ \_ \+ \+ TIMEOUT\+ \_ \+ \+ DEFAULT\+ \_ \+ \+ MS to elapse. \end { DoxyCompactList} \item
void \mbox { \hyperlink { class_ b_ n_ o08x_ a6711a624f7229f2eee51ee0a5bc87e67} { toggle\+ \_ \+ reset} } ()
\begin { DoxyCompactList} \small \item \em Toggles reset gpio pin for hard reset of \doxylink { class_ b_ n_ o08x} { BNO08x} device. \end { DoxyCompactList} \item
esp\+ \_ \+ err\+ \_ \+ t \mbox { \hyperlink { class_ b_ n_ o08x_ ac732c968f8d639c81f5d423aad004e95} { re\+ \_ \+ enable\+ \_ \+ reports} } ()
\begin { DoxyCompactList} \small \item \em Re-\/ enables all reports enabled by user (called when \doxylink { class_ b_ n_ o08x} { BNO08x} reset is detected by sh2 HAL lib). \end { DoxyCompactList} \end { DoxyCompactItemize}
\doxysubsubsection * { Static Private Member Functions}
\begin { DoxyCompactItemize}
\item
static void \mbox { \hyperlink { class_ b_ n_ o08x_ a0ae135d7bf7a5f047a1d1aa5cc07e520} { data\+ \_ \+ proc\+ \_ \+ task\+ \_ \+ trampoline} } (void \texorpdfstring { $ \ast $ } { *} arg)
\begin { DoxyCompactList} \small \item \em Static function used to launch data processing task. \end { DoxyCompactList} \item
static void \mbox { \hyperlink { class_ b_ n_ o08x_ a888eaf810d6140e2e771c44f5857b7c1} { sh2\+ \_ \+ \+ HAL\+ \_ \+ service\+ \_ \+ task\+ \_ \+ trampoline} } (void \texorpdfstring { $ \ast $ } { *} arg)
\begin { DoxyCompactList} \small \item \em Static function used to launch sh2 HAL service task. \end { DoxyCompactList} \item
static void \mbox { \hyperlink { class_ b_ n_ o08x_ addf01190119091237ad7a9a1aaea4dcc} { cb\+ \_ \+ task\+ \_ \+ trampoline} } (void \texorpdfstring { $ \ast $ } { *} arg)
\begin { DoxyCompactList} \small \item \em Static function used to launch cb\+ \_ \+ task task. \end { DoxyCompactList} \item
static void IRAM\+ \_ \+ \+ ATTR \mbox { \hyperlink { class_ b_ n_ o08x_ a804b95c58c30d36933fd251626b85bf7} { hint\+ \_ \+ handler} } (void \texorpdfstring { $ \ast $ } { *} arg)
\begin { DoxyCompactList} \small \item \em HINT interrupt service routine, handles falling edge of \doxylink { class_ b_ n_ o08x} { BNO08x} HINT pin. \end { DoxyCompactList} \end { DoxyCompactItemize}
\doxysubsubsection * { Private Attributes}
\begin { DoxyCompactItemize}
\item
Task\+ Handle\+ \_ \+ t \mbox { \hyperlink { class_ b_ n_ o08x_ af9b6fbf35e7cd55d517d30c6429a21a4} { data\+ \_ \+ proc\+ \_ \+ task\+ \_ \+ hdl} }
\begin { DoxyCompactList} \small \item \em \doxylink { class_ b_ n_ o08x_ ab4373e9b87837ea9fcbc0b536338c7b8} { data\+ \_ \+ proc\+ \_ \+ task()} task handle \end { DoxyCompactList} \item
Task\+ Handle\+ \_ \+ t \mbox { \hyperlink { class_ b_ n_ o08x_ afb288b912294ac6a568c1aab8bb382f6} { sh2\+ \_ \+ \+ HAL\+ \_ \+ service\+ \_ \+ task\+ \_ \+ hdl} }
\begin { DoxyCompactList} \small \item \em \doxylink { class_ b_ n_ o08x_ a7c7a9a0b81f9c8762fc927efea68bf23} { sh2\+ \_ \+ \+ HAL\+ \_ \+ service\+ \_ \+ task()} task handle \end { DoxyCompactList} \item
Task\+ Handle\+ \_ \+ t \mbox { \hyperlink { class_ b_ n_ o08x_ a6931b6544788f268a9441a9f9d4a5e33} { cb\+ \_ \+ task\+ \_ \+ hdl} }
\begin { DoxyCompactList} \small \item \em \doxylink { class_ b_ n_ o08x_ a7c7a9a0b81f9c8762fc927efea68bf23} { sh2\+ \_ \+ \+ HAL\+ \_ \+ service\+ \_ \+ task()} task handle \end { DoxyCompactList} \item
Semaphore\+ Handle\+ \_ \+ t \mbox { \hyperlink { class_ b_ n_ o08x_ aa92ff86d82a097a565ed2a2b9000b571} { sem\+ \_ \+ kill\+ \_ \+ tasks} }
\begin { DoxyCompactList} \small \item \em Counting Semaphore to count amount of killed tasks. \end { DoxyCompactList} \item
sh2\+ \_ \+ \+ Hal\+ \_ \+ t \mbox { \hyperlink { class_ b_ n_ o08x_ abae123678dc62f139749f13a3b6d1baa} { sh2\+ \_ \+ \+ HAL} }
\begin { DoxyCompactList} \small \item \em sh2 hardware abstraction layer struct for use with sh2 HAL lib. \end { DoxyCompactList} \item
Queue\+ Handle\+ \_ \+ t \mbox { \hyperlink { class_ b_ n_ o08x_ aefd6d59af9f8cf73be017db55f8b2e6a} { queue\+ \_ \+ rx\+ \_ \+ sensor\+ \_ \+ event} }
\begin { DoxyCompactList} \small \item \em Queue to send sensor events from sh2 HAL sensor event callback (\doxylink { class_ b_ n_ o08x_ s_ h2_ h_ a_ l_ a19c041ef614d7eda85b94b10202a3997} { BNO08x\+ SH2\+ HAL\+ ::sensor\+ \_ \+ event\+ \_ \+ cb()} ) to \doxylink { class_ b_ n_ o08x_ ab4373e9b87837ea9fcbc0b536338c7b8} { data\+ \_ \+ proc\+ \_ \+ task()} \end { DoxyCompactList} \item
Queue\+ Handle\+ \_ \+ t \mbox { \hyperlink { class_ b_ n_ o08x_ a8b45106ee35e8d2ddc9709b7f788212e} { queue\+ \_ \+ cb\+ \_ \+ report\+ \_ \+ id} }
\begin { DoxyCompactList} \small \item \em Queue to send report ID of most recent report to \doxylink { class_ b_ n_ o08x_ a5fb7f6c3e5d1b3478f529644a0f175b7} { cb\+ \_ \+ task()} \end { DoxyCompactList} \item
\mbox { \hyperlink { structbno08x_ _ config_ _ t} { bno08x\+ \_ \+ config\+ \_ \+ t} } \mbox { \hyperlink { class_ b_ n_ o08x_ aeda443e9f608fccfec0e6770edc90c82} { imu\+ \_ \+ config} } \{ \}
\begin { DoxyCompactList} \small \item \em IMU configuration settings. \end { DoxyCompactList} \item
spi\+ \_ \+ bus\+ \_ \+ config\+ \_ \+ t \mbox { \hyperlink { class_ b_ n_ o08x_ a982f065df42f00e53fd87c840efdb0f1} { bus\+ \_ \+ config} } \{ \}
\begin { DoxyCompactList} \small \item \em SPI bus GPIO configuration settings. \end { DoxyCompactList} \item
spi\+ \_ \+ device\+ \_ \+ interface\+ \_ \+ config\+ \_ \+ t \mbox { \hyperlink { class_ b_ n_ o08x_ a425a1f5a9f3232aadc685caaf4c2f82e} { imu\+ \_ \+ spi\+ \_ \+ config} } \{ \}
\begin { DoxyCompactList} \small \item \em SPI slave device settings. \end { DoxyCompactList} \item
spi\+ \_ \+ device\+ \_ \+ handle\+ \_ \+ t \mbox { \hyperlink { class_ b_ n_ o08x_ acc0ea091465fc9a5736f5e0c6a0ce8ef} { spi\+ \_ \+ hdl} } \{ \}
\begin { DoxyCompactList} \small \item \em SPI device handle. \end { DoxyCompactList} \item
spi\+ \_ \+ transaction\+ \_ \+ t \mbox { \hyperlink { class_ b_ n_ o08x_ ac16adc5f00b0039c98a4921f13895026} { spi\+ \_ \+ transaction} } \{ \}
\begin { DoxyCompactList} \small \item \em SPI transaction handle. \end { DoxyCompactList} \item
\mbox { \hyperlink { struct_ b_ n_ o08x_ private_ types_ 1_ 1bno08x_ _ init_ _ status_ _ t} { BNO08x\+ Private\+ Types\+ ::bno08x\+ \_ \+ init\+ \_ \+ status\+ \_ \+ t} } \mbox { \hyperlink { class_ b_ n_ o08x_ a0a2d157afc0da144536d8d6927cc63f1} { init\+ \_ \+ status} }
\begin { DoxyCompactList} \small \item \em Initialization status of various functionality, used by deconstructor during cleanup, set during initialization. \end { DoxyCompactList} \item
\mbox { \hyperlink { struct_ b_ n_ o08x_ private_ types_ 1_ 1bno08x_ _ sync_ _ ctx_ _ t} { BNO08x\+ Private\+ Types\+ ::bno08x\+ \_ \+ sync\+ \_ \+ ctx\+ \_ \+ t} } \mbox { \hyperlink { class_ b_ n_ o08x_ a22bb1bdc1153a455ec8f549d9389406e} { sync\+ \_ \+ ctx} }
\begin { DoxyCompactList} \small \item \em Holds context used to synchronize tasks and callback execution. \end { DoxyCompactList} \item
sh2\+ \_ \+ \+ Product\+ Ids\+ \_ \+ t \mbox { \hyperlink { class_ b_ n_ o08x_ ac8f6fc515923ffc820a7cfafc0c2830f} { product\+ \_ \+ \+ IDs} }
\begin { DoxyCompactList} \small \item \em Product ID info returned IMU at initialization, can be viewed with \doxylink { class_ b_ n_ o08x_ a7441f7f2477c152deca17054041bf3e6} { print\+ \_ \+ product\+ \_ \+ ids()} \end { DoxyCompactList} \item
etl\+ ::map$ < $ uint8\+ \_ \+ t, \mbox { \hyperlink { class_ b_ n_ o08x_ rpt} { BNO08x\+ Rpt} } \texorpdfstring { $ \ast $ } { *} , \mbox { \hyperlink { _ b_ n_ o08x_ global_ types_ 8hpp_ a9808babb45af9b32fc51cef8d50341be} { TOTAL\+ \_ \+ \+ RPT\+ \_ \+ \+ COUNT} } , etl\+ ::less$ < $ uint8\+ \_ \+ t $ > $ $ > $ \mbox { \hyperlink { class_ b_ n_ o08x_ a58b4949a61a784d09df3e7ecda175b39} { usr\+ \_ \+ reports} }
\end { DoxyCompactItemize}
\doxysubsubsection * { Static Private Attributes}
\begin { DoxyCompactItemize}
\item
static const constexpr config\+ STACK\+ \_ \+ \+ DEPTH\+ \_ \+ \+ TYPE \mbox { \hyperlink { class_ b_ n_ o08x_ a876ef3f899989de83ee6a9d6b218f8e1} { DATA\+ \_ \+ \+ PROC\+ \_ \+ \+ TASK\+ \_ \+ \+ SZ} }
\begin { DoxyCompactList} \small \item \em Size of \doxylink { class_ b_ n_ o08x_ ab4373e9b87837ea9fcbc0b536338c7b8} { data\+ \_ \+ proc\+ \_ \+ task()} stack in bytes. \end { DoxyCompactList} \item
static const constexpr config\+ STACK\+ \_ \+ \+ DEPTH\+ \_ \+ \+ TYPE \mbox { \hyperlink { class_ b_ n_ o08x_ aac1f772772db2d5fd14d51e44649d8eb} { SH2\+ \_ \+ \+ HAL\+ \_ \+ \+ SERVICE\+ \_ \+ \+ TASK\+ \_ \+ \+ SZ} }
\begin { DoxyCompactList} \small \item \em Size of \doxylink { class_ b_ n_ o08x_ a7c7a9a0b81f9c8762fc927efea68bf23} { sh2\+ \_ \+ \+ HAL\+ \_ \+ service\+ \_ \+ task()} stack in bytes. \end { DoxyCompactList} \item
static const constexpr config\+ STACK\+ \_ \+ \+ DEPTH\+ \_ \+ \+ TYPE \mbox { \hyperlink { class_ b_ n_ o08x_ a63002547e309412846c3967c9d068ee3} { CB\+ \_ \+ \+ TASK\+ \_ \+ \+ SZ} }
\begin { DoxyCompactList} \small \item \em Size of \doxylink { class_ b_ n_ o08x_ a7c7a9a0b81f9c8762fc927efea68bf23} { sh2\+ \_ \+ \+ HAL\+ \_ \+ service\+ \_ \+ task()} stack in bytes. \end { DoxyCompactList} \item
static const constexpr uint16\+ \_ \+ t \mbox { \hyperlink { class_ b_ n_ o08x_ a1a037bda37493cde56732cc6fdc7884b} { RX\+ \_ \+ \+ DATA\+ \_ \+ \+ LENGTH} } = 300U
\begin { DoxyCompactList} \small \item \em length buffer containing data received over spi \end { DoxyCompactList} \item
static const constexpr Tick\+ Type\+ \_ \+ t \mbox { \hyperlink { class_ b_ n_ o08x_ ae51d4e3228a91ee407d5866e604804c4} { HOST\+ \_ \+ \+ INT\+ \_ \+ \+ TIMEOUT\+ \_ \+ \+ DEFAULT\+ \_ \+ \+ MS} }
\begin { DoxyCompactList} \small \item \em Max wait between HINT being asserted by \doxylink { class_ b_ n_ o08x} { BNO08x} before transaction is considered failed (in miliseconds). \end { DoxyCompactList} \item
static const constexpr Tick\+ Type\+ \_ \+ t \mbox { \hyperlink { class_ b_ n_ o08x_ ae32ce16c51a93b9d53058bf3b6f0d94b} { DATA\+ \_ \+ \+ AVAILABLE\+ \_ \+ \+ TIMEOUT\+ \_ \+ \+ MS} }
\begin { DoxyCompactList} \small \item \em Max wait between \doxylink { class_ b_ n_ o08x_ a367d525d1c0ba119b3dca3067bb5bccc} { data\+ \_ \+ available()} being called and no new data/report being detected. \end { DoxyCompactList} \item
static const constexpr Tick\+ Type\+ \_ \+ t \mbox { \hyperlink { class_ b_ n_ o08x_ aa07e329d693eb8d9270a7f9ad6f1d94b} { HARD\+ \_ \+ \+ RESET\+ \_ \+ \+ DELAY\+ \_ \+ \+ MS} }
\begin { DoxyCompactList} \small \item \em How long RST pin is held low during hard reset (min 10ns according to datasheet, but should be longer for stable operation) \end { DoxyCompactList} \item
static const constexpr uint32\+ \_ \+ t \mbox { \hyperlink { class_ b_ n_ o08x_ a031976dacd97917d9d72edccb607160c} { SCLK\+ \_ \+ \+ MAX\+ \_ \+ \+ SPEED} } = 3000000\+ UL
\begin { DoxyCompactList} \small \item \em Max SPI SCLK speed \doxylink { class_ b_ n_ o08x} { BNO08x} is capable of. \end { DoxyCompactList} \item
static const constexpr char \texorpdfstring { $ \ast $ } { *} \mbox { \hyperlink { class_ b_ n_ o08x_ a2c98d5f2c406a3efd0b48c5666fa8c46} { TAG} } = "{ } BNO08x"{ }
\begin { DoxyCompactList} \small \item \em Class tag used for serial print statements. \end { DoxyCompactList} \end { DoxyCompactItemize}
\doxysubsubsection * { Friends}
\begin { DoxyCompactItemize}
\item
class \mbox { \hyperlink { class_ b_ n_ o08x_ a6dd0081dc9eb0cfb019bfdca3aa31802} { BNO08x\+ SH2\+ HAL} }
\item
class \mbox { \hyperlink { class_ b_ n_ o08x_ a190775b71c35d8007faae7dd6a9f1030} { BNO08x\+ Test\+ Helper} }
\end { DoxyCompactItemize}
\doxysubsection { Detailed Description}
\doxylink { class_ b_ n_ o08x} { BNO08x} IMU driver class.
\doxysubsection { Member Typedef Documentation}
\Hypertarget { class_ b_ n_ o08x_ ae08bdaff01ecacf0f399ab289fdf0b99} \label { class_ b_ n_ o08x_ ae08bdaff01ecacf0f399ab289fdf0b99}
\index { BNO08x@{ BNO08x} !bno08x\_ reports\_ t@{ bno08x\_ reports\_ t} }
\index { bno08x\_ reports\_ t@{ bno08x\_ reports\_ t} !BNO08x@{ BNO08x} }
\doxysubsubsection { \texorpdfstring { bno08x\_ reports\_ t} { bno08x\_ reports\_ t} }
{ \footnotesize \ttfamily typedef struct BNO08x\+ ::bno08x\+ \_ \+ reports\+ \_ \+ t BNO08x\+ ::bno08x\+ \_ \+ reports\+ \_ \+ t}
Contains report implementations.
\doxysubsection { Constructor \& Destructor Documentation}
\Hypertarget { class_ b_ n_ o08x_ ad12fb6cf310ad7a04a4e53809833bd61} \label { class_ b_ n_ o08x_ ad12fb6cf310ad7a04a4e53809833bd61}
\index { BNO08x@{ BNO08x} !BNO08x@{ BNO08x} }
\index { BNO08x@{ BNO08x} !BNO08x@{ BNO08x} }
\doxysubsubsection { \texorpdfstring { BNO08x()} { BNO08x()} }
{ \footnotesize \ttfamily BNO08x\+ ::\+ BNO08x (\begin { DoxyParamCaption} \item [{\mbox{\hyperlink{structbno08x__config__t}{bno08x\+\_\+config\+\_\+t}}}] { imu\+ \_ \+ config = { \ttfamily \mbox { \hyperlink { structbno08x_ _ config_ _ t} { bno08x\+ \_ \+ config\+ \_ \+ t} } ()} } \end { DoxyParamCaption} )}
\doxylink { class_ b_ n_ o08x} { BNO08x} imu constructor.
Construct a \doxylink { class_ b_ n_ o08x} { BNO08x} object for managing a \doxylink { class_ b_ n_ o08x} { BNO08x} sensor.
\begin { DoxyParams} { Parameters}
{ \em imu\+ \_ \+ config} & Configuration settings (optional), default settings can be seen in \doxylink { structbno08x_ _ config_ _ t} { bno08x\+ \_ \+ config\+ \_ \+ t} \\
\hline
\end { DoxyParams}
\begin { DoxyReturn} { Returns}
void, nothing to return
\end { DoxyReturn}
\Hypertarget { class_ b_ n_ o08x_ a687eee44d68e1bcabce04780d7eb5fb9} \label { class_ b_ n_ o08x_ a687eee44d68e1bcabce04780d7eb5fb9}
\index { BNO08x@{ BNO08x} !````~BNO08x@{ \texorpdfstring { $ \sim $ } { \string ~} BNO08x} }
\index { ````~BNO08x@{ \texorpdfstring { $ \sim $ } { \string ~} BNO08x} !BNO08x@{ BNO08x} }
\doxysubsubsection { \texorpdfstring { \texorpdfstring { $ \sim $ } { \string ~} BNO08x()} { \string ~BNO08x()} }
{ \footnotesize \ttfamily BNO08x\+ ::\texorpdfstring { $ \sim $ } { \string ~} \+ BNO08x (\begin { DoxyParamCaption} { } \end { DoxyParamCaption} )}
\doxylink { class_ b_ n_ o08x} { BNO08x} imu deconstructor.
Deconstructs a \doxylink { class_ b_ n_ o08x} { BNO08x} object and releases any utilized resources.
\begin { DoxyReturn} { Returns}
void, nothing to return.
\end { DoxyReturn}
Here is the call graph for this function\+ :
\nopagebreak
\begin { figure} [H]
\begin { center}
\leavevmode
\includegraphics [width=350pt] { class_ b_ n_ o08x_ a687eee44d68e1bcabce04780d7eb5fb9_ cgraph}
\end { center}
\end { figure}
\doxysubsection { Member Function Documentation}
\Hypertarget { class_ b_ n_ o08x_ a41d65567bb316971f68718ca69039ace} \label { class_ b_ n_ o08x_ a41d65567bb316971f68718ca69039ace}
\index { BNO08x@{ BNO08x} !accuracy\_ to\_ str@{ accuracy\_ to\_ str} }
\index { accuracy\_ to\_ str@{ accuracy\_ to\_ str} !BNO08x@{ BNO08x} }
\doxysubsubsection { \texorpdfstring { accuracy\_ to\_ str()} { accuracy\_ to\_ str()} }
{ \footnotesize \ttfamily const char \texorpdfstring { $ \ast $ } { *} BNO08x\+ ::accuracy\+ \_ \+ to\+ \_ \+ str (\begin { DoxyParamCaption} \item [{\mbox{\hyperlink{_b_n_o08x_global_types_8hpp_aed7bab8e55be415938e078ebe72562a0}{BNO08x\+Accuracy}}}] { accuracy } \end { DoxyParamCaption} )\hspace { 0.3cm} { \ttfamily [static]} }
Here is the caller graph for this function\+ :
\nopagebreak
\begin { figure} [H]
\begin { center}
\leavevmode
\includegraphics [height=550pt] { class_ b_ n_ o08x_ a41d65567bb316971f68718ca69039ace_ icgraph}
\end { center}
\end { figure}
\Hypertarget { class_ b_ n_ o08x_ a0559c3f2f49d287e7c400a780975f850} \label { class_ b_ n_ o08x_ a0559c3f2f49d287e7c400a780975f850}
\index { BNO08x@{ BNO08x} !activity\_ to\_ str@{ activity\_ to\_ str} }
\index { activity\_ to\_ str@{ activity\_ to\_ str} !BNO08x@{ BNO08x} }
\doxysubsubsection { \texorpdfstring { activity\_ to\_ str()} { activity\_ to\_ str()} }
{ \footnotesize \ttfamily const char \texorpdfstring { $ \ast $ } { *} BNO08x\+ ::activity\+ \_ \+ to\+ \_ \+ str (\begin { DoxyParamCaption} \item [{\mbox{\hyperlink{_b_n_o08x_global_types_8hpp_abcc5d57e21ea6ed79e792deafcb62187}{BNO08x\+Activity}}}] { activity } \end { DoxyParamCaption} )\hspace { 0.3cm} { \ttfamily [static]} }
Converts a BNO08x\+ Activity enum to string.
\begin { DoxyReturn} { Returns}
The resulting string conversion of the enum.
\end { DoxyReturn}
\Hypertarget { class_ b_ n_ o08x_ a817ec9ad9d51a1515f658374de48f483} \label { class_ b_ n_ o08x_ a817ec9ad9d51a1515f658374de48f483}
\index { BNO08x@{ BNO08x} !calibration\_ end@{ calibration\_ end} }
\index { calibration\_ end@{ calibration\_ end} !BNO08x@{ BNO08x} }
\doxysubsubsection { \texorpdfstring { calibration\_ end()} { calibration\_ end()} }
{ \footnotesize \ttfamily bool BNO08x\+ ::calibration\+ \_ \+ end (\begin { DoxyParamCaption} \item [{sh2\+\_\+\+Cal\+Status\+\_\+t \&}] { status } \end { DoxyParamCaption} )}
Ends turn-\/ table calibration, see ref. manual 6.\+ 4.\+ 10.\+ 2.
\begin { DoxyParams} { Parameters}
{ \em status} & Returned status bits indicating result of turntable calibration.\\
\hline
\end { DoxyParams}
\begin { DoxyReturn} { Returns}
True if enable start turn-\/ table calibration operation succeeded.
\end { DoxyReturn}
Here is the call graph for this function\+ :
\nopagebreak
\begin { figure} [H]
\begin { center}
\leavevmode
\includegraphics [width=350pt] { class_ b_ n_ o08x_ a817ec9ad9d51a1515f658374de48f483_ cgraph}
\end { center}
\end { figure}
\Hypertarget { class_ b_ n_ o08x_ af0dd28db9e331312e45937b12295ca94} \label { class_ b_ n_ o08x_ af0dd28db9e331312e45937b12295ca94}
\index { BNO08x@{ BNO08x} !calibration\_ start@{ calibration\_ start} }
\index { calibration\_ start@{ calibration\_ start} !BNO08x@{ BNO08x} }
\doxysubsubsection { \texorpdfstring { calibration\_ start()} { calibration\_ start()} }
{ \footnotesize \ttfamily bool BNO08x\+ ::calibration\+ \_ \+ start (\begin { DoxyParamCaption} \item [{uint32\+\_\+t}] { period\+ \_ \+ us } \end { DoxyParamCaption} )}
Starts simple calibration, see ref. manual 6.\+ 4.\+ 10.\+ 1.
\begin { DoxyParams} { Parameters}
{ \em period\+ \_ \+ us} & This interval should be set to whatever rate the sensor hub is expected to run at after calibration.\\
\hline
\end { DoxyParams}
After the calibration is started, the IMU should be rotated 180 degrees. After the IMU has been rotated call \doxylink { class_ b_ n_ o08x_ a817ec9ad9d51a1515f658374de48f483} { calibration\+ \_ \+ end()} . See ref. manual 6.\+ 4.\+ 10 for more detailed instructions.
\begin { DoxyReturn} { Returns}
True if start simple calibration operation succeeded.
\end { DoxyReturn}
Here is the call graph for this function\+ :
\nopagebreak
\begin { figure} [H]
\begin { center}
\leavevmode
\includegraphics [width=350pt] { class_ b_ n_ o08x_ af0dd28db9e331312e45937b12295ca94_ cgraph}
\end { center}
\end { figure}
\Hypertarget { class_ b_ n_ o08x_ a5fb7f6c3e5d1b3478f529644a0f175b7} \label { class_ b_ n_ o08x_ a5fb7f6c3e5d1b3478f529644a0f175b7}
\index { BNO08x@{ BNO08x} !cb\_ task@{ cb\_ task} }
\index { cb\_ task@{ cb\_ task} !BNO08x@{ BNO08x} }
\doxysubsubsection { \texorpdfstring { cb\_ task()} { cb\_ task()} }
{ \footnotesize \ttfamily void BNO08x\+ ::cb\+ \_ \+ task (\begin { DoxyParamCaption} { } \end { DoxyParamCaption} )\hspace { 0.3cm} { \ttfamily [private]} }
Task responsible for executing callbacks registered with \doxylink { class_ b_ n_ o08x_ aadd44524e6d22c48916acd9518b63ec3} { register\+ \_ \+ cb()} .
\begin { DoxyReturn} { Returns}
void, nothing to return
\end { DoxyReturn}
Here is the call graph for this function\+ :
\nopagebreak
\begin { figure} [H]
\begin { center}
\leavevmode
\includegraphics [width=350pt] { class_ b_ n_ o08x_ a5fb7f6c3e5d1b3478f529644a0f175b7_ cgraph}
\end { center}
\end { figure}
Here is the caller graph for this function\+ :
\nopagebreak
\begin { figure} [H]
\begin { center}
\leavevmode
\includegraphics [width=350pt] { class_ b_ n_ o08x_ a5fb7f6c3e5d1b3478f529644a0f175b7_ icgraph}
\end { center}
\end { figure}
\Hypertarget { class_ b_ n_ o08x_ addf01190119091237ad7a9a1aaea4dcc} \label { class_ b_ n_ o08x_ addf01190119091237ad7a9a1aaea4dcc}
\index { BNO08x@{ BNO08x} !cb\_ task\_ trampoline@{ cb\_ task\_ trampoline} }
\index { cb\_ task\_ trampoline@{ cb\_ task\_ trampoline} !BNO08x@{ BNO08x} }
\doxysubsubsection { \texorpdfstring { cb\_ task\_ trampoline()} { cb\_ task\_ trampoline()} }
{ \footnotesize \ttfamily void BNO08x\+ ::cb\+ \_ \+ task\+ \_ \+ trampoline (\begin { DoxyParamCaption} \item [{void \texorpdfstring{$\ast$}{*}}] { arg } \end { DoxyParamCaption} )\hspace { 0.3cm} { \ttfamily [static]} , { \ttfamily [private]} }
Static function used to launch cb\+ \_ \+ task task.
Used such that \doxylink { class_ b_ n_ o08x_ a5fb7f6c3e5d1b3478f529644a0f175b7} { cb\+ \_ \+ task()} can be non-\/ static class member.
\begin { DoxyParams} { Parameters}
{ \em arg} & void pointer to \doxylink { class_ b_ n_ o08x} { BNO08x} imu object \\
\hline
\end { DoxyParams}
\begin { DoxyReturn} { Returns}
void, nothing to return
\end { DoxyReturn}
Here is the call graph for this function\+ :
\nopagebreak
\begin { figure} [H]
\begin { center}
\leavevmode
\includegraphics [width=350pt] { class_ b_ n_ o08x_ addf01190119091237ad7a9a1aaea4dcc_ cgraph}
\end { center}
\end { figure}
Here is the caller graph for this function\+ :
\nopagebreak
\begin { figure} [H]
\begin { center}
\leavevmode
\includegraphics [width=350pt] { class_ b_ n_ o08x_ addf01190119091237ad7a9a1aaea4dcc_ icgraph}
\end { center}
\end { figure}
\Hypertarget { class_ b_ n_ o08x_ a84a19cd1564f8d427394f137df54477d} \label { class_ b_ n_ o08x_ a84a19cd1564f8d427394f137df54477d}
\index { BNO08x@{ BNO08x} !clear\_ dynamic\_ calibration@{ clear\_ dynamic\_ calibration} }
\index { clear\_ dynamic\_ calibration@{ clear\_ dynamic\_ calibration} !BNO08x@{ BNO08x} }
\doxysubsubsection { \texorpdfstring { clear\_ dynamic\_ calibration()} { clear\_ dynamic\_ calibration()} }
{ \footnotesize \ttfamily bool BNO08x\+ ::clear\+ \_ \+ dynamic\+ \_ \+ calibration (\begin { DoxyParamCaption} { } \end { DoxyParamCaption} )}
Clears dynamic/motion engine calibration data and resets \doxylink { class_ b_ n_ o08x} { BNO08x} device. See ref manual 6.\+ 4.\+ 9.\+ 1.
\begin { DoxyReturn} { Returns}
True if save dynamic/\+ ME calibration data succeeded.
\end { DoxyReturn}
Here is the call graph for this function\+ :
\nopagebreak
\begin { figure} [H]
\begin { center}
\leavevmode
\includegraphics [width=350pt] { class_ b_ n_ o08x_ a84a19cd1564f8d427394f137df54477d_ cgraph}
\end { center}
\end { figure}
Here is the caller graph for this function\+ :
\nopagebreak
\begin { figure} [H]
\begin { center}
\leavevmode
\includegraphics [width=310pt] { class_ b_ n_ o08x_ a84a19cd1564f8d427394f137df54477d_ icgraph}
\end { center}
\end { figure}
\Hypertarget { class_ b_ n_ o08x_ a367d525d1c0ba119b3dca3067bb5bccc} \label { class_ b_ n_ o08x_ a367d525d1c0ba119b3dca3067bb5bccc}
\index { BNO08x@{ BNO08x} !data\_ available@{ data\_ available} }
\index { data\_ available@{ data\_ available} !BNO08x@{ BNO08x} }
\doxysubsubsection { \texorpdfstring { data\_ available()} { data\_ available()} }
{ \footnotesize \ttfamily bool BNO08x\+ ::data\+ \_ \+ available (\begin { DoxyParamCaption} { } \end { DoxyParamCaption} )}
Polls for new data/report to become available.
\begin { DoxyReturn} { Returns}
True if new data/report became available before DATA\+ \_ \+ \+ AVAILABLE\+ \_ \+ \+ TIMEOUT\+ \_ \+ \+ MS.
\end { DoxyReturn}
Here is the caller graph for this function\+ :
\nopagebreak
\begin { figure} [H]
\begin { center}
\leavevmode
\includegraphics [height=550pt] { class_ b_ n_ o08x_ a367d525d1c0ba119b3dca3067bb5bccc_ icgraph}
\end { center}
\end { figure}
\Hypertarget { class_ b_ n_ o08x_ ab4373e9b87837ea9fcbc0b536338c7b8} \label { class_ b_ n_ o08x_ ab4373e9b87837ea9fcbc0b536338c7b8}
\index { BNO08x@{ BNO08x} !data\_ proc\_ task@{ data\_ proc\_ task} }
\index { data\_ proc\_ task@{ data\_ proc\_ task} !BNO08x@{ BNO08x} }
\doxysubsubsection { \texorpdfstring { data\_ proc\_ task()} { data\_ proc\_ task()} }
{ \footnotesize \ttfamily void BNO08x\+ ::data\+ \_ \+ proc\+ \_ \+ task (\begin { DoxyParamCaption} { } \end { DoxyParamCaption} )\hspace { 0.3cm} { \ttfamily [private]} }
Task responsible for parsing/handling sensor events sent by SH2 HAL and updating data that is returned to user.
\begin { DoxyReturn} { Returns}
void, nothing to return
\end { DoxyReturn}
Here is the call graph for this function\+ :
\nopagebreak
\begin { figure} [H]
\begin { center}
\leavevmode
\includegraphics [width=350pt] { class_ b_ n_ o08x_ ab4373e9b87837ea9fcbc0b536338c7b8_ cgraph}
\end { center}
\end { figure}
Here is the caller graph for this function\+ :
\nopagebreak
\begin { figure} [H]
\begin { center}
\leavevmode
\includegraphics [width=350pt] { class_ b_ n_ o08x_ ab4373e9b87837ea9fcbc0b536338c7b8_ icgraph}
\end { center}
\end { figure}
\Hypertarget { class_ b_ n_ o08x_ a0ae135d7bf7a5f047a1d1aa5cc07e520} \label { class_ b_ n_ o08x_ a0ae135d7bf7a5f047a1d1aa5cc07e520}
\index { BNO08x@{ BNO08x} !data\_ proc\_ task\_ trampoline@{ data\_ proc\_ task\_ trampoline} }
\index { data\_ proc\_ task\_ trampoline@{ data\_ proc\_ task\_ trampoline} !BNO08x@{ BNO08x} }
\doxysubsubsection { \texorpdfstring { data\_ proc\_ task\_ trampoline()} { data\_ proc\_ task\_ trampoline()} }
{ \footnotesize \ttfamily void BNO08x\+ ::data\+ \_ \+ proc\+ \_ \+ task\+ \_ \+ trampoline (\begin { DoxyParamCaption} \item [{void \texorpdfstring{$\ast$}{*}}] { arg } \end { DoxyParamCaption} )\hspace { 0.3cm} { \ttfamily [static]} , { \ttfamily [private]} }
Static function used to launch data processing task.
Used such that \doxylink { class_ b_ n_ o08x_ ab4373e9b87837ea9fcbc0b536338c7b8} { data\+ \_ \+ proc\+ \_ \+ task()} can be non-\/ static class member.
\begin { DoxyParams} { Parameters}
{ \em arg} & void pointer to \doxylink { class_ b_ n_ o08x} { BNO08x} imu object \\
\hline
\end { DoxyParams}
\begin { DoxyReturn} { Returns}
void, nothing to return
\end { DoxyReturn}
Here is the call graph for this function\+ :
\nopagebreak
\begin { figure} [H]
\begin { center}
\leavevmode
\includegraphics [width=350pt] { class_ b_ n_ o08x_ a0ae135d7bf7a5f047a1d1aa5cc07e520_ cgraph}
\end { center}
\end { figure}
Here is the caller graph for this function\+ :
\nopagebreak
\begin { figure} [H]
\begin { center}
\leavevmode
\includegraphics [width=350pt] { class_ b_ n_ o08x_ a0ae135d7bf7a5f047a1d1aa5cc07e520_ icgraph}
\end { center}
\end { figure}
\Hypertarget { class_ b_ n_ o08x_ a4f007dd431f10e741414d197bb4926c3} \label { class_ b_ n_ o08x_ a4f007dd431f10e741414d197bb4926c3}
\index { BNO08x@{ BNO08x} !deinit\_ gpio@{ deinit\_ gpio} }
\index { deinit\_ gpio@{ deinit\_ gpio} !BNO08x@{ BNO08x} }
\doxysubsubsection { \texorpdfstring { deinit\_ gpio()} { deinit\_ gpio()} }
{ \footnotesize \ttfamily esp\+ \_ \+ err\+ \_ \+ t BNO08x\+ ::deinit\+ \_ \+ gpio (\begin { DoxyParamCaption} { } \end { DoxyParamCaption} )\hspace { 0.3cm} { \ttfamily [private]} }
Deinitializes GPIO, called from deconstructor.
\begin { DoxyReturn} { Returns}
ESP\+ \_ \+ \+ OK if deinitialization was success.
\end { DoxyReturn}
Here is the call graph for this function\+ :
\nopagebreak
\begin { figure} [H]
\begin { center}
\leavevmode
\includegraphics [width=327pt] { class_ b_ n_ o08x_ a4f007dd431f10e741414d197bb4926c3_ cgraph}
\end { center}
\end { figure}
Here is the caller graph for this function\+ :
\nopagebreak
\begin { figure} [H]
\begin { center}
\leavevmode
\includegraphics [width=350pt] { class_ b_ n_ o08x_ a4f007dd431f10e741414d197bb4926c3_ icgraph}
\end { center}
\end { figure}
\Hypertarget { class_ b_ n_ o08x_ a1f0f4cd8dc7d38448e2198ea47d0018c} \label { class_ b_ n_ o08x_ a1f0f4cd8dc7d38448e2198ea47d0018c}
\index { BNO08x@{ BNO08x} !deinit\_ gpio\_ inputs@{ deinit\_ gpio\_ inputs} }
\index { deinit\_ gpio\_ inputs@{ deinit\_ gpio\_ inputs} !BNO08x@{ BNO08x} }
\doxysubsubsection { \texorpdfstring { deinit\_ gpio\_ inputs()} { deinit\_ gpio\_ inputs()} }
{ \footnotesize \ttfamily esp\+ \_ \+ err\+ \_ \+ t BNO08x\+ ::deinit\+ \_ \+ gpio\+ \_ \+ inputs (\begin { DoxyParamCaption} { } \end { DoxyParamCaption} )\hspace { 0.3cm} { \ttfamily [private]} }
Deinitializes GPIO inputs, called from deconstructor.
\begin { DoxyReturn} { Returns}
ESP\+ \_ \+ \+ OK if deinitialization was success.
\end { DoxyReturn}
Here is the caller graph for this function\+ :
\nopagebreak
\begin { figure} [H]
\begin { center}
\leavevmode
\includegraphics [width=350pt] { class_ b_ n_ o08x_ a1f0f4cd8dc7d38448e2198ea47d0018c_ icgraph}
\end { center}
\end { figure}
\Hypertarget { class_ b_ n_ o08x_ ab132a061bd437fd109225446aa1f6010} \label { class_ b_ n_ o08x_ ab132a061bd437fd109225446aa1f6010}
\index { BNO08x@{ BNO08x} !deinit\_ gpio\_ outputs@{ deinit\_ gpio\_ outputs} }
\index { deinit\_ gpio\_ outputs@{ deinit\_ gpio\_ outputs} !BNO08x@{ BNO08x} }
\doxysubsubsection { \texorpdfstring { deinit\_ gpio\_ outputs()} { deinit\_ gpio\_ outputs()} }
{ \footnotesize \ttfamily esp\+ \_ \+ err\+ \_ \+ t BNO08x\+ ::deinit\+ \_ \+ gpio\+ \_ \+ outputs (\begin { DoxyParamCaption} { } \end { DoxyParamCaption} )\hspace { 0.3cm} { \ttfamily [private]} }
Deinitializes GPIO outputs, called from deconstructor.
\begin { DoxyReturn} { Returns}
ESP\+ \_ \+ \+ OK if deinitialization was success.
\end { DoxyReturn}
Here is the caller graph for this function\+ :
\nopagebreak
\begin { figure} [H]
\begin { center}
\leavevmode
\includegraphics [width=350pt] { class_ b_ n_ o08x_ ab132a061bd437fd109225446aa1f6010_ icgraph}
\end { center}
\end { figure}
\Hypertarget { class_ b_ n_ o08x_ a9d96108b0f5b1e1e1ac431bc993ca758} \label { class_ b_ n_ o08x_ a9d96108b0f5b1e1e1ac431bc993ca758}
\index { BNO08x@{ BNO08x} !deinit\_ hint\_ isr@{ deinit\_ hint\_ isr} }
\index { deinit\_ hint\_ isr@{ deinit\_ hint\_ isr} !BNO08x@{ BNO08x} }
\doxysubsubsection { \texorpdfstring { deinit\_ hint\_ isr()} { deinit\_ hint\_ isr()} }
{ \footnotesize \ttfamily esp\+ \_ \+ err\+ \_ \+ t BNO08x\+ ::deinit\+ \_ \+ hint\+ \_ \+ isr (\begin { DoxyParamCaption} { } \end { DoxyParamCaption} )\hspace { 0.3cm} { \ttfamily [private]} }
Deinitializes host interrupt ISR, called from deconstructor.
\begin { DoxyReturn} { Returns}
ESP\+ \_ \+ \+ OK if deinitialization was success.
\end { DoxyReturn}
Here is the caller graph for this function\+ :
\nopagebreak
\begin { figure} [H]
\begin { center}
\leavevmode
\includegraphics [width=350pt] { class_ b_ n_ o08x_ a9d96108b0f5b1e1e1ac431bc993ca758_ icgraph}
\end { center}
\end { figure}
\Hypertarget { class_ b_ n_ o08x_ a75c7226ea4626862a5039aa053116861} \label { class_ b_ n_ o08x_ a75c7226ea4626862a5039aa053116861}
\index { BNO08x@{ BNO08x} !deinit\_ sh2\_ HAL@{ deinit\_ sh2\_ HAL} }
\index { deinit\_ sh2\_ HAL@{ deinit\_ sh2\_ HAL} !BNO08x@{ BNO08x} }
\doxysubsubsection { \texorpdfstring { deinit\_ sh2\_ HAL()} { deinit\_ sh2\_ HAL()} }
{ \footnotesize \ttfamily esp\+ \_ \+ err\+ \_ \+ t BNO08x\+ ::deinit\+ \_ \+ sh2\+ \_ \+ \+ HAL (\begin { DoxyParamCaption} { } \end { DoxyParamCaption} )\hspace { 0.3cm} { \ttfamily [private]} }
Deinitializes sh2 HAL.
\begin { DoxyReturn} { Returns}
ESP\+ \_ \+ \+ OK if deinitialization was success.
\end { DoxyReturn}
Here is the caller graph for this function\+ :
\nopagebreak
\begin { figure} [H]
\begin { center}
\leavevmode
\includegraphics [width=350pt] { class_ b_ n_ o08x_ a75c7226ea4626862a5039aa053116861_ icgraph}
\end { center}
\end { figure}
\Hypertarget { class_ b_ n_ o08x_ a233920ce97f685fbdabecccacf471d85} \label { class_ b_ n_ o08x_ a233920ce97f685fbdabecccacf471d85}
\index { BNO08x@{ BNO08x} !deinit\_ spi@{ deinit\_ spi} }
\index { deinit\_ spi@{ deinit\_ spi} !BNO08x@{ BNO08x} }
\doxysubsubsection { \texorpdfstring { deinit\_ spi()} { deinit\_ spi()} }
{ \footnotesize \ttfamily esp\+ \_ \+ err\+ \_ \+ t BNO08x\+ ::deinit\+ \_ \+ spi (\begin { DoxyParamCaption} { } \end { DoxyParamCaption} )\hspace { 0.3cm} { \ttfamily [private]} }
Deinitializes SPI.
\begin { DoxyReturn} { Returns}
ESP\+ \_ \+ \+ OK if deinitialization was success.
\end { DoxyReturn}
Here is the caller graph for this function\+ :
\nopagebreak
\begin { figure} [H]
\begin { center}
\leavevmode
\includegraphics [width=350pt] { class_ b_ n_ o08x_ a233920ce97f685fbdabecccacf471d85_ icgraph}
\end { center}
\end { figure}
\Hypertarget { class_ b_ n_ o08x_ a968144efd5100ccce0e453c40a63592b} \label { class_ b_ n_ o08x_ a968144efd5100ccce0e453c40a63592b}
\index { BNO08x@{ BNO08x} !deinit\_ tasks@{ deinit\_ tasks} }
\index { deinit\_ tasks@{ deinit\_ tasks} !BNO08x@{ BNO08x} }
\doxysubsubsection { \texorpdfstring { deinit\_ tasks()} { deinit\_ tasks()} }
{ \footnotesize \ttfamily esp\+ \_ \+ err\+ \_ \+ t BNO08x\+ ::deinit\+ \_ \+ tasks (\begin { DoxyParamCaption} { } \end { DoxyParamCaption} )\hspace { 0.3cm} { \ttfamily [private]} }
Deinitializes tasks used by \doxylink { class_ b_ n_ o08x} { BNO08x} driver.
\begin { DoxyReturn} { Returns}
ESP\+ \_ \+ \+ OK if deinitialization was success.
\end { DoxyReturn}
Here is the caller graph for this function\+ :
\nopagebreak
\begin { figure} [H]
\begin { center}
\leavevmode
\includegraphics [width=350pt] { class_ b_ n_ o08x_ a968144efd5100ccce0e453c40a63592b_ icgraph}
\end { center}
\end { figure}
2024-12-27 02:02:09 +00:00
\Hypertarget { class_ b_ n_ o08x_ aebacbe092615cd083cf996b14402bba6} \label { class_ b_ n_ o08x_ aebacbe092615cd083cf996b14402bba6}
\index { BNO08x@{ BNO08x} !disable\_ all\_ reports@{ disable\_ all\_ reports} }
\index { disable\_ all\_ reports@{ disable\_ all\_ reports} !BNO08x@{ BNO08x} }
\doxysubsubsection { \texorpdfstring { disable\_ all\_ reports()} { disable\_ all\_ reports()} }
{ \footnotesize \ttfamily bool BNO08x\+ ::disable\+ \_ \+ all\+ \_ \+ reports (\begin { DoxyParamCaption} { } \end { DoxyParamCaption} )}
Disables all currently enabled reports.
\begin { DoxyReturn} { Returns}
True if all currently enabled reports were disabled successfully.
\end { DoxyReturn}
Here is the caller graph for this function\+ :
\nopagebreak
\begin { figure} [H]
\begin { center}
\leavevmode
\includegraphics [width=293pt] { class_ b_ n_ o08x_ aebacbe092615cd083cf996b14402bba6_ icgraph}
\end { center}
\end { figure}
2024-12-06 04:09:30 +00:00
\Hypertarget { class_ b_ n_ o08x_ a9387728c276734da27388dbea38b6b32} \label { class_ b_ n_ o08x_ a9387728c276734da27388dbea38b6b32}
\index { BNO08x@{ BNO08x} !dynamic\_ calibration\_ autosave\_ disable@{ dynamic\_ calibration\_ autosave\_ disable} }
\index { dynamic\_ calibration\_ autosave\_ disable@{ dynamic\_ calibration\_ autosave\_ disable} !BNO08x@{ BNO08x} }
\doxysubsubsection { \texorpdfstring { dynamic\_ calibration\_ autosave\_ disable()} { dynamic\_ calibration\_ autosave\_ disable()} }
{ \footnotesize \ttfamily bool BNO08x\+ ::dynamic\+ \_ \+ calibration\+ \_ \+ autosave\+ \_ \+ disable (\begin { DoxyParamCaption} { } \end { DoxyParamCaption} )}
Disables the automatic saving of dynamic/\+ ME calibration data to \doxylink { class_ b_ n_ o08x} { BNO08x} internal flash See ref manual 6.\+ 4.\+ 7.\+ 1.
\begin { DoxyReturn} { Returns}
True if dynamic/\+ ME calibration autosave data enable succeeded.
\end { DoxyReturn}
Here is the call graph for this function\+ :
\nopagebreak
\begin { figure} [H]
\begin { center}
\leavevmode
\includegraphics [width=350pt] { class_ b_ n_ o08x_ a9387728c276734da27388dbea38b6b32_ cgraph}
\end { center}
\end { figure}
Here is the caller graph for this function\+ :
\nopagebreak
\begin { figure} [H]
\begin { center}
\leavevmode
\includegraphics [width=333pt] { class_ b_ n_ o08x_ a9387728c276734da27388dbea38b6b32_ icgraph}
\end { center}
\end { figure}
\Hypertarget { class_ b_ n_ o08x_ a4e8b49abd33e6e11f23b2ae345058b9b} \label { class_ b_ n_ o08x_ a4e8b49abd33e6e11f23b2ae345058b9b}
\index { BNO08x@{ BNO08x} !dynamic\_ calibration\_ autosave\_ enable@{ dynamic\_ calibration\_ autosave\_ enable} }
\index { dynamic\_ calibration\_ autosave\_ enable@{ dynamic\_ calibration\_ autosave\_ enable} !BNO08x@{ BNO08x} }
\doxysubsubsection { \texorpdfstring { dynamic\_ calibration\_ autosave\_ enable()} { dynamic\_ calibration\_ autosave\_ enable()} }
{ \footnotesize \ttfamily bool BNO08x\+ ::dynamic\+ \_ \+ calibration\+ \_ \+ autosave\+ \_ \+ enable (\begin { DoxyParamCaption} { } \end { DoxyParamCaption} )}
Enables the automatic saving of dynamic/\+ ME calibration data to \doxylink { class_ b_ n_ o08x} { BNO08x} internal flash See ref manual 6.\+ 4.\+ 7.\+ 1.
\begin { DoxyReturn} { Returns}
True if dynamic/\+ ME calibration autosave data enable succeeded.
\end { DoxyReturn}
Here is the call graph for this function\+ :
\nopagebreak
\begin { figure} [H]
\begin { center}
\leavevmode
\includegraphics [width=350pt] { class_ b_ n_ o08x_ a4e8b49abd33e6e11f23b2ae345058b9b_ cgraph}
\end { center}
\end { figure}
Here is the caller graph for this function\+ :
\nopagebreak
\begin { figure} [H]
\begin { center}
\leavevmode
\includegraphics [width=333pt] { class_ b_ n_ o08x_ a4e8b49abd33e6e11f23b2ae345058b9b_ icgraph}
\end { center}
\end { figure}
\Hypertarget { class_ b_ n_ o08x_ a5c7498f6fa4bd43280dff1d322233b95} \label { class_ b_ n_ o08x_ a5c7498f6fa4bd43280dff1d322233b95}
\index { BNO08x@{ BNO08x} !dynamic\_ calibration\_ disable@{ dynamic\_ calibration\_ disable} }
\index { dynamic\_ calibration\_ disable@{ dynamic\_ calibration\_ disable} !BNO08x@{ BNO08x} }
\doxysubsubsection { \texorpdfstring { dynamic\_ calibration\_ disable()} { dynamic\_ calibration\_ disable()} }
{ \footnotesize \ttfamily bool BNO08x\+ ::dynamic\+ \_ \+ calibration\+ \_ \+ disable (\begin { DoxyParamCaption} \item [{\mbox{\hyperlink{_b_n_o08x_global_types_8hpp_aeeb4f49593c062357c3b7037bc2de850}{BNO08x\+Cal\+Sel}}}] { sensor } \end { DoxyParamCaption} )}
Disables dynamic/motion engine calibration for specified sensor(s), see ref. manual 6.\+ 4.\+ 6.\+ 1.
\begin { DoxyParams} { Parameters}
{ \em sensor} & The sensor(s) to disable dynamic/\+ ME calibration for.\\
\hline
\end { DoxyParams}
\begin { DoxyReturn} { Returns}
True if disable dynamic/\+ ME calibration succeeded.
\end { DoxyReturn}
Here is the call graph for this function\+ :
\nopagebreak
\begin { figure} [H]
\begin { center}
\leavevmode
\includegraphics [width=350pt] { class_ b_ n_ o08x_ a5c7498f6fa4bd43280dff1d322233b95_ cgraph}
\end { center}
\end { figure}
Here is the caller graph for this function\+ :
\nopagebreak
\begin { figure} [H]
\begin { center}
\leavevmode
\includegraphics [width=333pt] { class_ b_ n_ o08x_ a5c7498f6fa4bd43280dff1d322233b95_ icgraph}
\end { center}
\end { figure}
\Hypertarget { class_ b_ n_ o08x_ a90ea8e811d4bea28a356290d6f5caac5} \label { class_ b_ n_ o08x_ a90ea8e811d4bea28a356290d6f5caac5}
\index { BNO08x@{ BNO08x} !dynamic\_ calibration\_ enable@{ dynamic\_ calibration\_ enable} }
\index { dynamic\_ calibration\_ enable@{ dynamic\_ calibration\_ enable} !BNO08x@{ BNO08x} }
\doxysubsubsection { \texorpdfstring { dynamic\_ calibration\_ enable()} { dynamic\_ calibration\_ enable()} }
{ \footnotesize \ttfamily bool BNO08x\+ ::dynamic\+ \_ \+ calibration\+ \_ \+ enable (\begin { DoxyParamCaption} \item [{\mbox{\hyperlink{_b_n_o08x_global_types_8hpp_aeeb4f49593c062357c3b7037bc2de850}{BNO08x\+Cal\+Sel}}}] { sensor } \end { DoxyParamCaption} )}
Enables dynamic/motion engine calibration for specified sensor(s), see ref. manual 6.\+ 4.\+ 6.\+ 1.
\begin { DoxyParams} { Parameters}
{ \em sensor} & The sensor(s) to enable dynamic/\+ ME calibration for.\\
\hline
\end { DoxyParams}
\begin { DoxyReturn} { Returns}
True if enable dynamic/\+ ME calibration succeeded.
\end { DoxyReturn}
Here is the call graph for this function\+ :
\nopagebreak
\begin { figure} [H]
\begin { center}
\leavevmode
\includegraphics [width=350pt] { class_ b_ n_ o08x_ a90ea8e811d4bea28a356290d6f5caac5_ cgraph}
\end { center}
\end { figure}
Here is the caller graph for this function\+ :
\nopagebreak
\begin { figure} [H]
\begin { center}
\leavevmode
\includegraphics [width=333pt] { class_ b_ n_ o08x_ a90ea8e811d4bea28a356290d6f5caac5_ icgraph}
\end { center}
\end { figure}
\Hypertarget { class_ b_ n_ o08x_ aee6ce74b95c1e1651cb93a60d723c16c} \label { class_ b_ n_ o08x_ aee6ce74b95c1e1651cb93a60d723c16c}
\index { BNO08x@{ BNO08x} !get\_ frs@{ get\_ frs} }
\index { get\_ frs@{ get\_ frs} !BNO08x@{ BNO08x} }
\doxysubsubsection { \texorpdfstring { get\_ frs()} { get\_ frs()} }
{ \footnotesize \ttfamily bool BNO08x\+ ::get\+ \_ \+ frs (\begin { DoxyParamCaption} \item [{uint16\+\_\+t}] { frs\+ \_ \+ \+ ID, } \item [{uint32\+\_\+t(\&)}] { data\mbox { [} 16\mbox { ]} , } \item [{uint16\+\_\+t \&}] { rx\+ \_ \+ data\+ \_ \+ sz } \end { DoxyParamCaption} )}
Retrieves a record from flash record system (if your goal is to retrieve meta data use the \doxylink { class_ b_ n_ o08x_ rpt} { BNO08x\+ Rpt} \+ :get\+ \_ \+ meta\+ \_ \+ data() method instead)
For more details on returned and data and frs\+ \_ \+ \+ ID see ref. manual 6.\+ 3.\+ 7 \& 4.\+ 3
\begin { DoxyParams} { Parameters}
{ \em frs\+ \_ \+ \+ ID} & The ID of the desired record to retrieve from flash. \\
\hline
{ \em data} & Buffer of 16 uint32\+ \_ \+ t to store retrieved data. \\
\hline
{ \em rx\+ \_ \+ data\+ \_ \+ sz} & Reference to store number of 32 bit words retrieved from flash.\\
\hline
\end { DoxyParams}
\begin { DoxyReturn} { Returns}
True if get flash record system operation succeeded.
\end { DoxyReturn}
Here is the call graph for this function\+ :
\nopagebreak
\begin { figure} [H]
\begin { center}
\leavevmode
\includegraphics [width=336pt] { class_ b_ n_ o08x_ aee6ce74b95c1e1651cb93a60d723c16c_ cgraph}
\end { center}
\end { figure}
\Hypertarget { class_ b_ n_ o08x_ aa8fd64f60de86ff6b8562f90f3b09690} \label { class_ b_ n_ o08x_ aa8fd64f60de86ff6b8562f90f3b09690}
\index { BNO08x@{ BNO08x} !get\_ product\_ IDs@{ get\_ product\_ IDs} }
\index { get\_ product\_ IDs@{ get\_ product\_ IDs} !BNO08x@{ BNO08x} }
\doxysubsubsection { \texorpdfstring { get\_ product\_ IDs()} { get\_ product\_ IDs()} }
{ \footnotesize \ttfamily sh2\+ \_ \+ \+ Product\+ Ids\+ \_ \+ t BNO08x\+ ::get\+ \_ \+ product\+ \_ \+ \+ IDs (\begin { DoxyParamCaption} { } \end { DoxyParamCaption} )}
Returns product ID info sent by IMU at initialization.
\begin { DoxyReturn} { Returns}
The product ID info returned at initialization.
\end { DoxyReturn}
\Hypertarget { class_ b_ n_ o08x_ a96d47dd0f9aedfbe3f731f8ae76b2e85} \label { class_ b_ n_ o08x_ a96d47dd0f9aedfbe3f731f8ae76b2e85}
\index { BNO08x@{ BNO08x} !get\_ reset\_ reason@{ get\_ reset\_ reason} }
\index { get\_ reset\_ reason@{ get\_ reset\_ reason} !BNO08x@{ BNO08x} }
\doxysubsubsection { \texorpdfstring { get\_ reset\_ reason()} { get\_ reset\_ reason()} }
{ \footnotesize \ttfamily \mbox { \hyperlink { _ b_ n_ o08x_ global_ types_ 8hpp_ ab2a2ace42f7f438d6a799dfcbc243147} { BNO08x\+ Reset\+ Reason} } BNO08x\+ ::get\+ \_ \+ reset\+ \_ \+ reason (\begin { DoxyParamCaption} { } \end { DoxyParamCaption} )}
Returns reason for previous reset via product ID report.
\begin { DoxyReturn} { Returns}
Enum object containing reset reason, \doxylink { _ b_ n_ o08x_ global_ types_ 8hpp_ ab2a2ace42f7f438d6a799dfcbc243147a0db45d2a4141101bdfe48e3314cfbca3} { BNO08x\+ Reset\+ Reason\+ ::\+ UNDEFINED} if failure.
\end { DoxyReturn}
Here is the call graph for this function\+ :
\nopagebreak
\begin { figure} [H]
\begin { center}
\leavevmode
\includegraphics [width=350pt] { class_ b_ n_ o08x_ a96d47dd0f9aedfbe3f731f8ae76b2e85_ cgraph}
\end { center}
\end { figure}
Here is the caller graph for this function\+ :
\nopagebreak
\begin { figure} [H]
\begin { center}
\leavevmode
\includegraphics [width=350pt] { class_ b_ n_ o08x_ a96d47dd0f9aedfbe3f731f8ae76b2e85_ icgraph}
\end { center}
\end { figure}
\Hypertarget { class_ b_ n_ o08x_ a86275a93706656dae6af421bc15a4e59} \label { class_ b_ n_ o08x_ a86275a93706656dae6af421bc15a4e59}
\index { BNO08x@{ BNO08x} !handle\_ cb@{ handle\_ cb} }
\index { handle\_ cb@{ handle\_ cb} !BNO08x@{ BNO08x} }
\doxysubsubsection { \texorpdfstring { handle\_ cb()} { handle\_ cb()} }
{ \footnotesize \ttfamily void BNO08x\+ ::handle\+ \_ \+ cb (\begin { DoxyParamCaption} \item [{uint8\+\_\+t}] { rpt\+ \_ \+ \+ ID, } \item [{\mbox{\hyperlink{class_b_n_o08x_cb_generic}{BNO08x\+Cb\+Generic}} \texorpdfstring{$\ast$}{*}}] { cb\+ \_ \+ entry } \end { DoxyParamCaption} )\hspace { 0.3cm} { \ttfamily [private]} }
Determines the flavor of a passed callback and executes it appropriately.
\begin { DoxyReturn} { Returns}
void, nothing to return
\end { DoxyReturn}
Here is the call graph for this function\+ :
\nopagebreak
\begin { figure} [H]
\begin { center}
\leavevmode
\includegraphics [width=350pt] { class_ b_ n_ o08x_ a86275a93706656dae6af421bc15a4e59_ cgraph}
\end { center}
\end { figure}
Here is the caller graph for this function\+ :
\nopagebreak
\begin { figure} [H]
\begin { center}
\leavevmode
\includegraphics [width=350pt] { class_ b_ n_ o08x_ a86275a93706656dae6af421bc15a4e59_ icgraph}
\end { center}
\end { figure}
\Hypertarget { class_ b_ n_ o08x_ a7d5250a6017f9e76e3c2ddb00d7103a1} \label { class_ b_ n_ o08x_ a7d5250a6017f9e76e3c2ddb00d7103a1}
\index { BNO08x@{ BNO08x} !handle\_ sensor\_ report@{ handle\_ sensor\_ report} }
\index { handle\_ sensor\_ report@{ handle\_ sensor\_ report} !BNO08x@{ BNO08x} }
\doxysubsubsection { \texorpdfstring { handle\_ sensor\_ report()} { handle\_ sensor\_ report()} }
{ \footnotesize \ttfamily void BNO08x\+ ::handle\+ \_ \+ sensor\+ \_ \+ report (\begin { DoxyParamCaption} \item [{sh2\+\_\+\+Sensor\+Value\+\_\+t \texorpdfstring{$\ast$}{*}}] { sensor\+ \_ \+ val } \end { DoxyParamCaption} )\hspace { 0.3cm} { \ttfamily [private]} }
Parses receieved report and updates uer data with it.
\begin { DoxyReturn} { Returns}
void, nothing to return
\end { DoxyReturn}
Here is the caller graph for this function\+ :
\nopagebreak
\begin { figure} [H]
\begin { center}
\leavevmode
\includegraphics [width=350pt] { class_ b_ n_ o08x_ a7d5250a6017f9e76e3c2ddb00d7103a1_ icgraph}
\end { center}
\end { figure}
\Hypertarget { class_ b_ n_ o08x_ a28cd1c0b3477571d87133234e6358503} \label { class_ b_ n_ o08x_ a28cd1c0b3477571d87133234e6358503}
\index { BNO08x@{ BNO08x} !hard\_ reset@{ hard\_ reset} }
\index { hard\_ reset@{ hard\_ reset} !BNO08x@{ BNO08x} }
\doxysubsubsection { \texorpdfstring { hard\_ reset()} { hard\_ reset()} }
{ \footnotesize \ttfamily bool BNO08x\+ ::hard\+ \_ \+ reset (\begin { DoxyParamCaption} { } \end { DoxyParamCaption} )}
Hard resets \doxylink { class_ b_ n_ o08x} { BNO08x} device.
\begin { DoxyReturn} { Returns}
True if reset was success.
\end { DoxyReturn}
Here is the call graph for this function\+ :
\nopagebreak
\begin { figure} [H]
\begin { center}
\leavevmode
\includegraphics [width=350pt] { class_ b_ n_ o08x_ a28cd1c0b3477571d87133234e6358503_ cgraph}
\end { center}
\end { figure}
Here is the caller graph for this function\+ :
\nopagebreak
\begin { figure} [H]
\begin { center}
\leavevmode
\includegraphics [width=293pt] { class_ b_ n_ o08x_ a28cd1c0b3477571d87133234e6358503_ icgraph}
\end { center}
\end { figure}
\Hypertarget { class_ b_ n_ o08x_ a804b95c58c30d36933fd251626b85bf7} \label { class_ b_ n_ o08x_ a804b95c58c30d36933fd251626b85bf7}
\index { BNO08x@{ BNO08x} !hint\_ handler@{ hint\_ handler} }
\index { hint\_ handler@{ hint\_ handler} !BNO08x@{ BNO08x} }
\doxysubsubsection { \texorpdfstring { hint\_ handler()} { hint\_ handler()} }
{ \footnotesize \ttfamily void IRAM\+ \_ \+ \+ ATTR BNO08x\+ ::hint\+ \_ \+ handler (\begin { DoxyParamCaption} \item [{void \texorpdfstring{$\ast$}{*}}] { arg } \end { DoxyParamCaption} )\hspace { 0.3cm} { \ttfamily [static]} , { \ttfamily [private]} }
HINT interrupt service routine, handles falling edge of \doxylink { class_ b_ n_ o08x} { BNO08x} HINT pin.
ISR that launches SPI task to perform transaction upon assertion of \doxylink { class_ b_ n_ o08x} { BNO08x} interrupt pin.
\begin { DoxyReturn} { Returns}
void, nothing to return
\end { DoxyReturn}
Here is the caller graph for this function\+ :
\nopagebreak
\begin { figure} [H]
\begin { center}
\leavevmode
\includegraphics [width=350pt] { class_ b_ n_ o08x_ a804b95c58c30d36933fd251626b85bf7_ icgraph}
\end { center}
\end { figure}
\Hypertarget { class_ b_ n_ o08x_ a589eb9780f5bf613bbd447ef5b9ade3d} \label { class_ b_ n_ o08x_ a589eb9780f5bf613bbd447ef5b9ade3d}
\index { BNO08x@{ BNO08x} !init\_ config\_ args@{ init\_ config\_ args} }
\index { init\_ config\_ args@{ init\_ config\_ args} !BNO08x@{ BNO08x} }
\doxysubsubsection { \texorpdfstring { init\_ config\_ args()} { init\_ config\_ args()} }
{ \footnotesize \ttfamily esp\+ \_ \+ err\+ \_ \+ t BNO08x\+ ::init\+ \_ \+ config\+ \_ \+ args (\begin { DoxyParamCaption} { } \end { DoxyParamCaption} )\hspace { 0.3cm} { \ttfamily [private]} }
Initializes required esp-\/ idf SPI data structures with values from user passed \doxylink { structbno08x_ _ config_ _ t} { bno08x\+ \_ \+ config\+ \_ \+ t} struct.
\begin { DoxyReturn} { Returns}
ESP\+ \_ \+ \+ OK if initialization was success.
\end { DoxyReturn}
Here is the caller graph for this function\+ :
\nopagebreak
\begin { figure} [H]
\begin { center}
\leavevmode
\includegraphics [width=350pt] { class_ b_ n_ o08x_ a589eb9780f5bf613bbd447ef5b9ade3d_ icgraph}
\end { center}
\end { figure}
\Hypertarget { class_ b_ n_ o08x_ ae0dab25557befcf62bf384fdc241ef10} \label { class_ b_ n_ o08x_ ae0dab25557befcf62bf384fdc241ef10}
\index { BNO08x@{ BNO08x} !init\_ gpio@{ init\_ gpio} }
\index { init\_ gpio@{ init\_ gpio} !BNO08x@{ BNO08x} }
\doxysubsubsection { \texorpdfstring { init\_ gpio()} { init\_ gpio()} }
{ \footnotesize \ttfamily esp\+ \_ \+ err\+ \_ \+ t BNO08x\+ ::init\+ \_ \+ gpio (\begin { DoxyParamCaption} { } \end { DoxyParamCaption} )\hspace { 0.3cm} { \ttfamily [private]} }
Initializes required gpio.
\begin { DoxyReturn} { Returns}
ESP\+ \_ \+ \+ OK if initialization was success.
\end { DoxyReturn}
Here is the call graph for this function\+ :
\nopagebreak
\begin { figure} [H]
\begin { center}
\leavevmode
\includegraphics [width=343pt] { class_ b_ n_ o08x_ ae0dab25557befcf62bf384fdc241ef10_ cgraph}
\end { center}
\end { figure}
Here is the caller graph for this function\+ :
\nopagebreak
\begin { figure} [H]
\begin { center}
\leavevmode
\includegraphics [width=350pt] { class_ b_ n_ o08x_ ae0dab25557befcf62bf384fdc241ef10_ icgraph}
\end { center}
\end { figure}
\Hypertarget { class_ b_ n_ o08x_ a8f34d5475474f00ae6a92f73c1fe14e4} \label { class_ b_ n_ o08x_ a8f34d5475474f00ae6a92f73c1fe14e4}
\index { BNO08x@{ BNO08x} !init\_ gpio\_ inputs@{ init\_ gpio\_ inputs} }
\index { init\_ gpio\_ inputs@{ init\_ gpio\_ inputs} !BNO08x@{ BNO08x} }
\doxysubsubsection { \texorpdfstring { init\_ gpio\_ inputs()} { init\_ gpio\_ inputs()} }
{ \footnotesize \ttfamily esp\+ \_ \+ err\+ \_ \+ t BNO08x\+ ::init\+ \_ \+ gpio\+ \_ \+ inputs (\begin { DoxyParamCaption} { } \end { DoxyParamCaption} )\hspace { 0.3cm} { \ttfamily [private]} }
Initializes required gpio inputs.
\begin { DoxyReturn} { Returns}
ESP\+ \_ \+ \+ OK if initialization was success.
\end { DoxyReturn}
Here is the caller graph for this function\+ :
\nopagebreak
\begin { figure} [H]
\begin { center}
\leavevmode
\includegraphics [width=350pt] { class_ b_ n_ o08x_ a8f34d5475474f00ae6a92f73c1fe14e4_ icgraph}
\end { center}
\end { figure}
\Hypertarget { class_ b_ n_ o08x_ ad0b9e8f8d051798bb1da9b19598dbd64} \label { class_ b_ n_ o08x_ ad0b9e8f8d051798bb1da9b19598dbd64}
\index { BNO08x@{ BNO08x} !init\_ gpio\_ outputs@{ init\_ gpio\_ outputs} }
\index { init\_ gpio\_ outputs@{ init\_ gpio\_ outputs} !BNO08x@{ BNO08x} }
\doxysubsubsection { \texorpdfstring { init\_ gpio\_ outputs()} { init\_ gpio\_ outputs()} }
{ \footnotesize \ttfamily esp\+ \_ \+ err\+ \_ \+ t BNO08x\+ ::init\+ \_ \+ gpio\+ \_ \+ outputs (\begin { DoxyParamCaption} { } \end { DoxyParamCaption} )\hspace { 0.3cm} { \ttfamily [private]} }
Initializes required gpio outputs.
\begin { DoxyReturn} { Returns}
ESP\+ \_ \+ \+ OK if initialization was success.
\end { DoxyReturn}
Here is the caller graph for this function\+ :
\nopagebreak
\begin { figure} [H]
\begin { center}
\leavevmode
\includegraphics [width=350pt] { class_ b_ n_ o08x_ ad0b9e8f8d051798bb1da9b19598dbd64_ icgraph}
\end { center}
\end { figure}
\Hypertarget { class_ b_ n_ o08x_ aa27026da2c52b4aca49b78863f10ec61} \label { class_ b_ n_ o08x_ aa27026da2c52b4aca49b78863f10ec61}
\index { BNO08x@{ BNO08x} !init\_ hint\_ isr@{ init\_ hint\_ isr} }
\index { init\_ hint\_ isr@{ init\_ hint\_ isr} !BNO08x@{ BNO08x} }
\doxysubsubsection { \texorpdfstring { init\_ hint\_ isr()} { init\_ hint\_ isr()} }
{ \footnotesize \ttfamily esp\+ \_ \+ err\+ \_ \+ t BNO08x\+ ::init\+ \_ \+ hint\+ \_ \+ isr (\begin { DoxyParamCaption} { } \end { DoxyParamCaption} )\hspace { 0.3cm} { \ttfamily [private]} }
Initializes host interrupt ISR.
\begin { DoxyReturn} { Returns}
ESP\+ \_ \+ \+ OK if initialization was success.
\end { DoxyReturn}
Here is the call graph for this function\+ :
\nopagebreak
\begin { figure} [H]
\begin { center}
\leavevmode
\includegraphics [width=336pt] { class_ b_ n_ o08x_ aa27026da2c52b4aca49b78863f10ec61_ cgraph}
\end { center}
\end { figure}
Here is the caller graph for this function\+ :
\nopagebreak
\begin { figure} [H]
\begin { center}
\leavevmode
\includegraphics [width=350pt] { class_ b_ n_ o08x_ aa27026da2c52b4aca49b78863f10ec61_ icgraph}
\end { center}
\end { figure}
\Hypertarget { class_ b_ n_ o08x_ ae2fc9a0fe63a927c015a267621316a80} \label { class_ b_ n_ o08x_ ae2fc9a0fe63a927c015a267621316a80}
\index { BNO08x@{ BNO08x} !init\_ sh2\_ HAL@{ init\_ sh2\_ HAL} }
\index { init\_ sh2\_ HAL@{ init\_ sh2\_ HAL} !BNO08x@{ BNO08x} }
\doxysubsubsection { \texorpdfstring { init\_ sh2\_ HAL()} { init\_ sh2\_ HAL()} }
{ \footnotesize \ttfamily esp\+ \_ \+ err\+ \_ \+ t BNO08x\+ ::init\+ \_ \+ sh2\+ \_ \+ \+ HAL (\begin { DoxyParamCaption} { } \end { DoxyParamCaption} )\hspace { 0.3cm} { \ttfamily [private]} }
Initializes sh2 HAL.
\begin { DoxyReturn} { Returns}
ESP\+ \_ \+ \+ OK if initialization was success.
\end { DoxyReturn}
Here is the call graph for this function\+ :
\nopagebreak
\begin { figure} [H]
\begin { center}
\leavevmode
\includegraphics [width=350pt] { class_ b_ n_ o08x_ ae2fc9a0fe63a927c015a267621316a80_ cgraph}
\end { center}
\end { figure}
Here is the caller graph for this function\+ :
\nopagebreak
\begin { figure} [H]
\begin { center}
\leavevmode
\includegraphics [width=350pt] { class_ b_ n_ o08x_ ae2fc9a0fe63a927c015a267621316a80_ icgraph}
\end { center}
\end { figure}
\Hypertarget { class_ b_ n_ o08x_ a58f43c8bb1e7fe8560ce442d46240e81} \label { class_ b_ n_ o08x_ a58f43c8bb1e7fe8560ce442d46240e81}
\index { BNO08x@{ BNO08x} !init\_ spi@{ init\_ spi} }
\index { init\_ spi@{ init\_ spi} !BNO08x@{ BNO08x} }
\doxysubsubsection { \texorpdfstring { init\_ spi()} { init\_ spi()} }
{ \footnotesize \ttfamily esp\+ \_ \+ err\+ \_ \+ t BNO08x\+ ::init\+ \_ \+ spi (\begin { DoxyParamCaption} { } \end { DoxyParamCaption} )\hspace { 0.3cm} { \ttfamily [private]} }
Initializes SPI.
\begin { DoxyReturn} { Returns}
ESP\+ \_ \+ \+ OK if initialization was success.
\end { DoxyReturn}
Here is the caller graph for this function\+ :
\nopagebreak
\begin { figure} [H]
\begin { center}
\leavevmode
\includegraphics [width=350pt] { class_ b_ n_ o08x_ a58f43c8bb1e7fe8560ce442d46240e81_ icgraph}
\end { center}
\end { figure}
\Hypertarget { class_ b_ n_ o08x_ a90d959312e6f7f8151b8a38218492ead} \label { class_ b_ n_ o08x_ a90d959312e6f7f8151b8a38218492ead}
\index { BNO08x@{ BNO08x} !init\_ tasks@{ init\_ tasks} }
\index { init\_ tasks@{ init\_ tasks} !BNO08x@{ BNO08x} }
\doxysubsubsection { \texorpdfstring { init\_ tasks()} { init\_ tasks()} }
{ \footnotesize \ttfamily esp\+ \_ \+ err\+ \_ \+ t BNO08x\+ ::init\+ \_ \+ tasks (\begin { DoxyParamCaption} { } \end { DoxyParamCaption} )\hspace { 0.3cm} { \ttfamily [private]} }
Initializes data\+ \_ \+ proc\+ \_ \+ task.
\begin { DoxyReturn} { Returns}
ESP\+ \_ \+ \+ OK if initialization was success.
\end { DoxyReturn}
Here is the call graph for this function\+ :
\nopagebreak
\begin { figure} [H]
\begin { center}
\leavevmode
\includegraphics [width=350pt] { class_ b_ n_ o08x_ a90d959312e6f7f8151b8a38218492ead_ cgraph}
\end { center}
\end { figure}
Here is the caller graph for this function\+ :
\nopagebreak
\begin { figure} [H]
\begin { center}
\leavevmode
\includegraphics [width=350pt] { class_ b_ n_ o08x_ a90d959312e6f7f8151b8a38218492ead_ icgraph}
\end { center}
\end { figure}
\Hypertarget { class_ b_ n_ o08x_ aea8e2c6dd7a2c9899479a7f39fe94798} \label { class_ b_ n_ o08x_ aea8e2c6dd7a2c9899479a7f39fe94798}
\index { BNO08x@{ BNO08x} !initialize@{ initialize} }
\index { initialize@{ initialize} !BNO08x@{ BNO08x} }
\doxysubsubsection { \texorpdfstring { initialize()} { initialize()} }
{ \footnotesize \ttfamily bool BNO08x\+ ::initialize (\begin { DoxyParamCaption} { } \end { DoxyParamCaption} )}
Initializes \doxylink { class_ b_ n_ o08x} { BNO08x} sensor.
Resets sensor and goes through initialization process. Configures GPIO, required ISRs, and launches two tasks, one to manage SPI transactions, another to process any received data.
\begin { DoxyReturn} { Returns}
True if initialization was success, false if otherwise.
\end { DoxyReturn}
Here is the call graph for this function\+ :
\nopagebreak
\begin { figure} [H]
\begin { center}
\leavevmode
\includegraphics [width=350pt] { class_ b_ n_ o08x_ aea8e2c6dd7a2c9899479a7f39fe94798_ cgraph}
\end { center}
\end { figure}
Here is the caller graph for this function\+ :
\nopagebreak
\begin { figure} [H]
\begin { center}
\leavevmode
\includegraphics [width=282pt] { class_ b_ n_ o08x_ aea8e2c6dd7a2c9899479a7f39fe94798_ icgraph}
\end { center}
\end { figure}
\Hypertarget { class_ b_ n_ o08x_ a8e43dd50140f326cfb58e00399923e8c} \label { class_ b_ n_ o08x_ a8e43dd50140f326cfb58e00399923e8c}
\index { BNO08x@{ BNO08x} !lock\_ sh2\_ HAL@{ lock\_ sh2\_ HAL} }
\index { lock\_ sh2\_ HAL@{ lock\_ sh2\_ HAL} !BNO08x@{ BNO08x} }
\doxysubsubsection { \texorpdfstring { lock\_ sh2\_ HAL()} { lock\_ sh2\_ HAL()} }
{ \footnotesize \ttfamily void BNO08x\+ ::lock\+ \_ \+ sh2\+ \_ \+ \+ HAL (\begin { DoxyParamCaption} { } \end { DoxyParamCaption} )\hspace { 0.3cm} { \ttfamily [private]} }
Locks sh2 HAL lib to only allow the calling task to call its APIs.
\begin { DoxyReturn} { Returns}
void, nothing to return
\end { DoxyReturn}
Here is the caller graph for this function\+ :
\nopagebreak
\begin { figure} [H]
\begin { center}
\leavevmode
\includegraphics [width=350pt] { class_ b_ n_ o08x_ a8e43dd50140f326cfb58e00399923e8c_ icgraph}
\end { center}
\end { figure}
\Hypertarget { class_ b_ n_ o08x_ a37e7c18232f47694d5e55bacc109189c} \label { class_ b_ n_ o08x_ a37e7c18232f47694d5e55bacc109189c}
\index { BNO08x@{ BNO08x} !lock\_ user\_ data@{ lock\_ user\_ data} }
\index { lock\_ user\_ data@{ lock\_ user\_ data} !BNO08x@{ BNO08x} }
\doxysubsubsection { \texorpdfstring { lock\_ user\_ data()} { lock\_ user\_ data()} }
{ \footnotesize \ttfamily void BNO08x\+ ::lock\+ \_ \+ user\+ \_ \+ data (\begin { DoxyParamCaption} { } \end { DoxyParamCaption} )\hspace { 0.3cm} { \ttfamily [private]} }
Locks locks user data to only allow the calling task to read/modify it.
\begin { DoxyReturn} { Returns}
void, nothing to return
\end { DoxyReturn}
\Hypertarget { class_ b_ n_ o08x_ aaaa15b21ad98a3b161065c3d03ff62b5} \label { class_ b_ n_ o08x_ aaaa15b21ad98a3b161065c3d03ff62b5}
\index { BNO08x@{ BNO08x} !on@{ on} }
\index { on@{ on} !BNO08x@{ BNO08x} }
\doxysubsubsection { \texorpdfstring { on()} { on()} }
{ \footnotesize \ttfamily bool BNO08x\+ ::on (\begin { DoxyParamCaption} { } \end { DoxyParamCaption} )}
Places \doxylink { class_ b_ n_ o08x} { BNO08x} device in on state by sending ON (2) command on "{ } device"{ } channel.
\begin { DoxyReturn} { Returns}
True if on operation succeeded.
\end { DoxyReturn}
Here is the call graph for this function\+ :
\nopagebreak
\begin { figure} [H]
\begin { center}
\leavevmode
\includegraphics [width=318pt] { class_ b_ n_ o08x_ aaaa15b21ad98a3b161065c3d03ff62b5_ cgraph}
\end { center}
\end { figure}
Here is the caller graph for this function\+ :
\nopagebreak
\begin { figure} [H]
\begin { center}
\leavevmode
\includegraphics [width=258pt] { class_ b_ n_ o08x_ aaaa15b21ad98a3b161065c3d03ff62b5_ icgraph}
\end { center}
\end { figure}
\Hypertarget { class_ b_ n_ o08x_ a7441f7f2477c152deca17054041bf3e6} \label { class_ b_ n_ o08x_ a7441f7f2477c152deca17054041bf3e6}
\index { BNO08x@{ BNO08x} !print\_ product\_ ids@{ print\_ product\_ ids} }
\index { print\_ product\_ ids@{ print\_ product\_ ids} !BNO08x@{ BNO08x} }
\doxysubsubsection { \texorpdfstring { print\_ product\_ ids()} { print\_ product\_ ids()} }
{ \footnotesize \ttfamily void BNO08x\+ ::print\+ \_ \+ product\+ \_ \+ ids (\begin { DoxyParamCaption} { } \end { DoxyParamCaption} )}
Prints product IDs received at initialization.
\begin { DoxyReturn} { Returns}
void, nothing to return
\end { DoxyReturn}
Here is the caller graph for this function\+ :
\nopagebreak
\begin { figure} [H]
\begin { center}
\leavevmode
\includegraphics [width=350pt] { class_ b_ n_ o08x_ a7441f7f2477c152deca17054041bf3e6_ icgraph}
\end { center}
\end { figure}
\Hypertarget { class_ b_ n_ o08x_ ac732c968f8d639c81f5d423aad004e95} \label { class_ b_ n_ o08x_ ac732c968f8d639c81f5d423aad004e95}
\index { BNO08x@{ BNO08x} !re\_ enable\_ reports@{ re\_ enable\_ reports} }
\index { re\_ enable\_ reports@{ re\_ enable\_ reports} !BNO08x@{ BNO08x} }
\doxysubsubsection { \texorpdfstring { re\_ enable\_ reports()} { re\_ enable\_ reports()} }
{ \footnotesize \ttfamily esp\+ \_ \+ err\+ \_ \+ t BNO08x\+ ::re\+ \_ \+ enable\+ \_ \+ reports (\begin { DoxyParamCaption} { } \end { DoxyParamCaption} )\hspace { 0.3cm} { \ttfamily [private]} }
Re-\/ enables all reports enabled by user (called when \doxylink { class_ b_ n_ o08x} { BNO08x} reset is detected by sh2 HAL lib).
\begin { DoxyReturn} { Returns}
ESP\+ \_ \+ \+ OK if enabled reports were successfuly re-\/ enabled.
\end { DoxyReturn}
Here is the caller graph for this function\+ :
\nopagebreak
\begin { figure} [H]
\begin { center}
\leavevmode
\includegraphics [width=350pt] { class_ b_ n_ o08x_ ac732c968f8d639c81f5d423aad004e95_ icgraph}
\end { center}
\end { figure}
\Hypertarget { class_ b_ n_ o08x_ a082c79d9951ac32ea5fa25de90255a41} \label { class_ b_ n_ o08x_ a082c79d9951ac32ea5fa25de90255a41}
\index { BNO08x@{ BNO08x} !register\_ cb@{ register\_ cb} }
\index { register\_ cb@{ register\_ cb} !BNO08x@{ BNO08x} }
\doxysubsubsection { \texorpdfstring { register\_ cb()} { register\_ cb()} \hspace { 0.1cm} { \footnotesize \ttfamily [1/2]} }
{ \footnotesize \ttfamily bool BNO08x\+ ::register\+ \_ \+ cb (\begin { DoxyParamCaption} \item [{std\+::function$<$ void(uint8\+\_\+t report\+\_\+\+ID)$>$}] { cb\+ \_ \+ fxn } \end { DoxyParamCaption} )}
Registers a callback to execute when new data from a report is received, overloaded with callback param for most recent report ID.
\begin { DoxyParams} { Parameters}
{ \em cb\+ \_ \+ fxn} & Pointer to the call-\/ back function should be of void return type with single input param of uint8\+ \_ \+ t for most recent report ID.\\
\hline
\end { DoxyParams}
\begin { DoxyReturn} { Returns}
void, nothing to return
\end { DoxyReturn}
\Hypertarget { class_ b_ n_ o08x_ aadd44524e6d22c48916acd9518b63ec3} \label { class_ b_ n_ o08x_ aadd44524e6d22c48916acd9518b63ec3}
\index { BNO08x@{ BNO08x} !register\_ cb@{ register\_ cb} }
\index { register\_ cb@{ register\_ cb} !BNO08x@{ BNO08x} }
\doxysubsubsection { \texorpdfstring { register\_ cb()} { register\_ cb()} \hspace { 0.1cm} { \footnotesize \ttfamily [2/2]} }
{ \footnotesize \ttfamily bool BNO08x\+ ::register\+ \_ \+ cb (\begin { DoxyParamCaption} \item [{std\+::function$<$ void(void)$>$}] { cb\+ \_ \+ fxn } \end { DoxyParamCaption} )}
Registers a callback to execute when new data from a report is received.
\begin { DoxyParams} { Parameters}
{ \em cb\+ \_ \+ fxn} & Pointer to the call-\/ back function should be of void return type void input param.\\
\hline
\end { DoxyParams}
\begin { DoxyReturn} { Returns}
void, nothing to return
\end { DoxyReturn}
Here is the caller graph for this function\+ :
\nopagebreak
\begin { figure} [H]
\begin { center}
\leavevmode
\includegraphics [width=295pt] { class_ b_ n_ o08x_ aadd44524e6d22c48916acd9518b63ec3_ icgraph}
\end { center}
\end { figure}
\Hypertarget { class_ b_ n_ o08x_ a1c703a1fb79ce777dc73a83f02bfdb85} \label { class_ b_ n_ o08x_ a1c703a1fb79ce777dc73a83f02bfdb85}
\index { BNO08x@{ BNO08x} !save\_ dynamic\_ calibration@{ save\_ dynamic\_ calibration} }
\index { save\_ dynamic\_ calibration@{ save\_ dynamic\_ calibration} !BNO08x@{ BNO08x} }
\doxysubsubsection { \texorpdfstring { save\_ dynamic\_ calibration()} { save\_ dynamic\_ calibration()} }
{ \footnotesize \ttfamily bool BNO08x\+ ::save\+ \_ \+ dynamic\+ \_ \+ calibration (\begin { DoxyParamCaption} { } \end { DoxyParamCaption} )}
Saves dynamic/motion engine calibration data to \doxylink { class_ b_ n_ o08x} { BNO08x} internal flash immediately. See ref manual 6.\+ 4.\+ 5.\+ 1.
\begin { DoxyReturn} { Returns}
True if save dynamic/\+ ME calibration data succeeded.
\end { DoxyReturn}
Here is the call graph for this function\+ :
\nopagebreak
\begin { figure} [H]
\begin { center}
\leavevmode
\includegraphics [width=350pt] { class_ b_ n_ o08x_ a1c703a1fb79ce777dc73a83f02bfdb85_ cgraph}
\end { center}
\end { figure}
Here is the caller graph for this function\+ :
\nopagebreak
\begin { figure} [H]
\begin { center}
\leavevmode
\includegraphics [width=309pt] { class_ b_ n_ o08x_ a1c703a1fb79ce777dc73a83f02bfdb85_ icgraph}
\end { center}
\end { figure}
\Hypertarget { class_ b_ n_ o08x_ a7c7a9a0b81f9c8762fc927efea68bf23} \label { class_ b_ n_ o08x_ a7c7a9a0b81f9c8762fc927efea68bf23}
\index { BNO08x@{ BNO08x} !sh2\_ HAL\_ service\_ task@{ sh2\_ HAL\_ service\_ task} }
\index { sh2\_ HAL\_ service\_ task@{ sh2\_ HAL\_ service\_ task} !BNO08x@{ BNO08x} }
\doxysubsubsection { \texorpdfstring { sh2\_ HAL\_ service\_ task()} { sh2\_ HAL\_ service\_ task()} }
{ \footnotesize \ttfamily void BNO08x\+ ::sh2\+ \_ \+ \+ HAL\+ \_ \+ service\+ \_ \+ task (\begin { DoxyParamCaption} { } \end { DoxyParamCaption} )\hspace { 0.3cm} { \ttfamily [private]} }
Task responsible for calling shtp\+ \_ \+ service() when HINT is asserted to dispatch any sh2 HAL lib callbacks.
\begin { DoxyReturn} { Returns}
void, nothing to return
\end { DoxyReturn}
Here is the call graph for this function\+ :
\nopagebreak
\begin { figure} [H]
\begin { center}
\leavevmode
\includegraphics [width=350pt] { class_ b_ n_ o08x_ a7c7a9a0b81f9c8762fc927efea68bf23_ cgraph}
\end { center}
\end { figure}
Here is the caller graph for this function\+ :
\nopagebreak
\begin { figure} [H]
\begin { center}
\leavevmode
\includegraphics [width=350pt] { class_ b_ n_ o08x_ a7c7a9a0b81f9c8762fc927efea68bf23_ icgraph}
\end { center}
\end { figure}
\Hypertarget { class_ b_ n_ o08x_ a888eaf810d6140e2e771c44f5857b7c1} \label { class_ b_ n_ o08x_ a888eaf810d6140e2e771c44f5857b7c1}
\index { BNO08x@{ BNO08x} !sh2\_ HAL\_ service\_ task\_ trampoline@{ sh2\_ HAL\_ service\_ task\_ trampoline} }
\index { sh2\_ HAL\_ service\_ task\_ trampoline@{ sh2\_ HAL\_ service\_ task\_ trampoline} !BNO08x@{ BNO08x} }
\doxysubsubsection { \texorpdfstring { sh2\_ HAL\_ service\_ task\_ trampoline()} { sh2\_ HAL\_ service\_ task\_ trampoline()} }
{ \footnotesize \ttfamily void BNO08x\+ ::sh2\+ \_ \+ \+ HAL\+ \_ \+ service\+ \_ \+ task\+ \_ \+ trampoline (\begin { DoxyParamCaption} \item [{void \texorpdfstring{$\ast$}{*}}] { arg } \end { DoxyParamCaption} )\hspace { 0.3cm} { \ttfamily [static]} , { \ttfamily [private]} }
Static function used to launch sh2 HAL service task.
Used such that \doxylink { class_ b_ n_ o08x_ a7c7a9a0b81f9c8762fc927efea68bf23} { sh2\+ \_ \+ \+ HAL\+ \_ \+ service\+ \_ \+ task()} can be non-\/ static class member.
\begin { DoxyParams} { Parameters}
{ \em arg} & void pointer to \doxylink { class_ b_ n_ o08x} { BNO08x} imu object \\
\hline
\end { DoxyParams}
\begin { DoxyReturn} { Returns}
void, nothing to return
\end { DoxyReturn}
Here is the call graph for this function\+ :
\nopagebreak
\begin { figure} [H]
\begin { center}
\leavevmode
\includegraphics [width=350pt] { class_ b_ n_ o08x_ a888eaf810d6140e2e771c44f5857b7c1_ cgraph}
\end { center}
\end { figure}
Here is the caller graph for this function\+ :
\nopagebreak
\begin { figure} [H]
\begin { center}
\leavevmode
\includegraphics [width=350pt] { class_ b_ n_ o08x_ a888eaf810d6140e2e771c44f5857b7c1_ icgraph}
\end { center}
\end { figure}
\Hypertarget { class_ b_ n_ o08x_ a7c5774a48227e8e3346fa5df7dfa420c} \label { class_ b_ n_ o08x_ a7c5774a48227e8e3346fa5df7dfa420c}
\index { BNO08x@{ BNO08x} !sleep@{ sleep} }
\index { sleep@{ sleep} !BNO08x@{ BNO08x} }
\doxysubsubsection { \texorpdfstring { sleep()} { sleep()} }
{ \footnotesize \ttfamily bool BNO08x\+ ::sleep (\begin { DoxyParamCaption} { } \end { DoxyParamCaption} )}
Places \doxylink { class_ b_ n_ o08x} { BNO08x} device in sleep state by sending SLEEP (3) command on "{ } device"{ } channel.
\begin { DoxyReturn} { Returns}
True if sleep operation succeeded.
\end { DoxyReturn}
Here is the call graph for this function\+ :
\nopagebreak
\begin { figure} [H]
\begin { center}
\leavevmode
\includegraphics [width=330pt] { class_ b_ n_ o08x_ a7c5774a48227e8e3346fa5df7dfa420c_ cgraph}
\end { center}
\end { figure}
Here is the caller graph for this function\+ :
\nopagebreak
\begin { figure} [H]
\begin { center}
\leavevmode
\includegraphics [width=270pt] { class_ b_ n_ o08x_ a7c5774a48227e8e3346fa5df7dfa420c_ icgraph}
\end { center}
\end { figure}
\Hypertarget { class_ b_ n_ o08x_ a973a1b1785f3302ee1b2702c6a27646e} \label { class_ b_ n_ o08x_ a973a1b1785f3302ee1b2702c6a27646e}
\index { BNO08x@{ BNO08x} !soft\_ reset@{ soft\_ reset} }
\index { soft\_ reset@{ soft\_ reset} !BNO08x@{ BNO08x} }
\doxysubsubsection { \texorpdfstring { soft\_ reset()} { soft\_ reset()} }
{ \footnotesize \ttfamily bool BNO08x\+ ::soft\+ \_ \+ reset (\begin { DoxyParamCaption} { } \end { DoxyParamCaption} )}
Soft resets \doxylink { class_ b_ n_ o08x} { BNO08x} device by sending RESET (1) command on "{ } device"{ } channel.
\begin { DoxyReturn} { Returns}
True if soft reset operation succeeded.
\end { DoxyReturn}
Here is the call graph for this function\+ :
\nopagebreak
\begin { figure} [H]
\begin { center}
\leavevmode
\includegraphics [width=350pt] { class_ b_ n_ o08x_ a973a1b1785f3302ee1b2702c6a27646e_ cgraph}
\end { center}
\end { figure}
Here is the caller graph for this function\+ :
\nopagebreak
\begin { figure} [H]
\begin { center}
\leavevmode
\includegraphics [width=290pt] { class_ b_ n_ o08x_ a973a1b1785f3302ee1b2702c6a27646e_ icgraph}
\end { center}
\end { figure}
\Hypertarget { class_ b_ n_ o08x_ aa8347555e37a185bef4a834b04231123} \label { class_ b_ n_ o08x_ aa8347555e37a185bef4a834b04231123}
\index { BNO08x@{ BNO08x} !stability\_ to\_ str@{ stability\_ to\_ str} }
\index { stability\_ to\_ str@{ stability\_ to\_ str} !BNO08x@{ BNO08x} }
\doxysubsubsection { \texorpdfstring { stability\_ to\_ str()} { stability\_ to\_ str()} }
{ \footnotesize \ttfamily const char \texorpdfstring { $ \ast $ } { *} BNO08x\+ ::stability\+ \_ \+ to\+ \_ \+ str (\begin { DoxyParamCaption} \item [{\mbox{\hyperlink{_b_n_o08x_global_types_8hpp_a498b35f9e00b24e51f8f60b029751ab5}{BNO08x\+Stability}}}] { stability } \end { DoxyParamCaption} )\hspace { 0.3cm} { \ttfamily [static]} }
Converts a BNO08x\+ Stability enum to string.
\begin { DoxyReturn} { Returns}
The resulting string conversion of the enum.
\end { DoxyReturn}
\Hypertarget { class_ b_ n_ o08x_ a6711a624f7229f2eee51ee0a5bc87e67} \label { class_ b_ n_ o08x_ a6711a624f7229f2eee51ee0a5bc87e67}
\index { BNO08x@{ BNO08x} !toggle\_ reset@{ toggle\_ reset} }
\index { toggle\_ reset@{ toggle\_ reset} !BNO08x@{ BNO08x} }
\doxysubsubsection { \texorpdfstring { toggle\_ reset()} { toggle\_ reset()} }
{ \footnotesize \ttfamily void BNO08x\+ ::toggle\+ \_ \+ reset (\begin { DoxyParamCaption} { } \end { DoxyParamCaption} )\hspace { 0.3cm} { \ttfamily [private]} }
Toggles reset gpio pin for hard reset of \doxylink { class_ b_ n_ o08x} { BNO08x} device.
\begin { DoxyReturn} { Returns}
void, nothing to return
\end { DoxyReturn}
Here is the caller graph for this function\+ :
\nopagebreak
\begin { figure} [H]
\begin { center}
\leavevmode
\includegraphics [width=350pt] { class_ b_ n_ o08x_ a6711a624f7229f2eee51ee0a5bc87e67_ icgraph}
\end { center}
\end { figure}
\Hypertarget { class_ b_ n_ o08x_ a2dbce689245a1b9968e3ea627d2b9a42} \label { class_ b_ n_ o08x_ a2dbce689245a1b9968e3ea627d2b9a42}
\index { BNO08x@{ BNO08x} !unlock\_ sh2\_ HAL@{ unlock\_ sh2\_ HAL} }
\index { unlock\_ sh2\_ HAL@{ unlock\_ sh2\_ HAL} !BNO08x@{ BNO08x} }
\doxysubsubsection { \texorpdfstring { unlock\_ sh2\_ HAL()} { unlock\_ sh2\_ HAL()} }
{ \footnotesize \ttfamily void BNO08x\+ ::unlock\+ \_ \+ sh2\+ \_ \+ \+ HAL (\begin { DoxyParamCaption} { } \end { DoxyParamCaption} )\hspace { 0.3cm} { \ttfamily [private]} }
Unlocks sh2 HAL lib to allow other tasks to call its APIs.
\begin { DoxyReturn} { Returns}
void, nothing to return
\end { DoxyReturn}
Here is the caller graph for this function\+ :
\nopagebreak
\begin { figure} [H]
\begin { center}
\leavevmode
\includegraphics [width=350pt] { class_ b_ n_ o08x_ a2dbce689245a1b9968e3ea627d2b9a42_ icgraph}
\end { center}
\end { figure}
\Hypertarget { class_ b_ n_ o08x_ a171b4f380b145e295a11219a8e2a961a} \label { class_ b_ n_ o08x_ a171b4f380b145e295a11219a8e2a961a}
\index { BNO08x@{ BNO08x} !unlock\_ user\_ data@{ unlock\_ user\_ data} }
\index { unlock\_ user\_ data@{ unlock\_ user\_ data} !BNO08x@{ BNO08x} }
\doxysubsubsection { \texorpdfstring { unlock\_ user\_ data()} { unlock\_ user\_ data()} }
{ \footnotesize \ttfamily void BNO08x\+ ::unlock\+ \_ \+ user\+ \_ \+ data (\begin { DoxyParamCaption} { } \end { DoxyParamCaption} )\hspace { 0.3cm} { \ttfamily [private]} }
Unlocks user data to allow other tasks to read/modify it.
\begin { DoxyReturn} { Returns}
void, nothing to return
\end { DoxyReturn}
\Hypertarget { class_ b_ n_ o08x_ a69cf0da11a71f5ea40f9fddd598d06fc} \label { class_ b_ n_ o08x_ a69cf0da11a71f5ea40f9fddd598d06fc}
\index { BNO08x@{ BNO08x} !wait\_ for\_ hint@{ wait\_ for\_ hint} }
\index { wait\_ for\_ hint@{ wait\_ for\_ hint} !BNO08x@{ BNO08x} }
\doxysubsubsection { \texorpdfstring { wait\_ for\_ hint()} { wait\_ for\_ hint()} }
{ \footnotesize \ttfamily esp\+ \_ \+ err\+ \_ \+ t BNO08x\+ ::wait\+ \_ \+ for\+ \_ \+ hint (\begin { DoxyParamCaption} { } \end { DoxyParamCaption} )\hspace { 0.3cm} { \ttfamily [private]} }
Waits for HINT pin assertion or HOST\+ \_ \+ \+ INT\+ \_ \+ \+ TIMEOUT\+ \_ \+ \+ DEFAULT\+ \_ \+ \+ MS to elapse.
\begin { DoxyReturn} { Returns}
ESP\+ \_ \+ \+ OK if HINT was asserted.
\end { DoxyReturn}
Here is the caller graph for this function\+ :
\nopagebreak
\begin { figure} [H]
\begin { center}
\leavevmode
\includegraphics [width=350pt] { class_ b_ n_ o08x_ a69cf0da11a71f5ea40f9fddd598d06fc_ icgraph}
\end { center}
\end { figure}
\Hypertarget { class_ b_ n_ o08x_ a6602374314c07e9f707c0a6d2234bf7e} \label { class_ b_ n_ o08x_ a6602374314c07e9f707c0a6d2234bf7e}
\index { BNO08x@{ BNO08x} !wait\_ for\_ reset@{ wait\_ for\_ reset} }
\index { wait\_ for\_ reset@{ wait\_ for\_ reset} !BNO08x@{ BNO08x} }
\doxysubsubsection { \texorpdfstring { wait\_ for\_ reset()} { wait\_ for\_ reset()} }
{ \footnotesize \ttfamily esp\+ \_ \+ err\+ \_ \+ t BNO08x\+ ::wait\+ \_ \+ for\+ \_ \+ reset (\begin { DoxyParamCaption} { } \end { DoxyParamCaption} )\hspace { 0.3cm} { \ttfamily [private]} }
Waits for SH2 HAL lib to detect reset or HOST\+ \_ \+ \+ INT\+ \_ \+ \+ TIMEOUT\+ \_ \+ \+ DEFAULT\+ \_ \+ \+ MS to elapse.
\begin { DoxyReturn} { Returns}
ESP\+ \_ \+ \+ OK if reset was detected by SH2 HAL lib.
\end { DoxyReturn}
Here is the caller graph for this function\+ :
\nopagebreak
\begin { figure} [H]
\begin { center}
\leavevmode
\includegraphics [width=350pt] { class_ b_ n_ o08x_ a6602374314c07e9f707c0a6d2234bf7e_ icgraph}
\end { center}
\end { figure}
\doxysubsection { Friends And Related Symbol Documentation}
\Hypertarget { class_ b_ n_ o08x_ a6dd0081dc9eb0cfb019bfdca3aa31802} \label { class_ b_ n_ o08x_ a6dd0081dc9eb0cfb019bfdca3aa31802}
\index { BNO08x@{ BNO08x} !BNO08xSH2HAL@{ BNO08xSH2HAL} }
\index { BNO08xSH2HAL@{ BNO08xSH2HAL} !BNO08x@{ BNO08x} }
\doxysubsubsection { \texorpdfstring { BNO08xSH2HAL} { BNO08xSH2HAL} }
{ \footnotesize \ttfamily friend class \mbox { \hyperlink { class_ b_ n_ o08x_ s_ h2_ h_ a_ l} { BNO08x\+ SH2\+ HAL} } \hspace { 0.3cm} { \ttfamily [friend]} }
\Hypertarget { class_ b_ n_ o08x_ a190775b71c35d8007faae7dd6a9f1030} \label { class_ b_ n_ o08x_ a190775b71c35d8007faae7dd6a9f1030}
\index { BNO08x@{ BNO08x} !BNO08xTestHelper@{ BNO08xTestHelper} }
\index { BNO08xTestHelper@{ BNO08xTestHelper} !BNO08x@{ BNO08x} }
\doxysubsubsection { \texorpdfstring { BNO08xTestHelper} { BNO08xTestHelper} }
{ \footnotesize \ttfamily friend class \mbox { \hyperlink { class_ b_ n_ o08x_ test_ helper} { BNO08x\+ Test\+ Helper} } \hspace { 0.3cm} { \ttfamily [friend]} }
\doxysubsection { Member Data Documentation}
\Hypertarget { class_ b_ n_ o08x_ a982f065df42f00e53fd87c840efdb0f1} \label { class_ b_ n_ o08x_ a982f065df42f00e53fd87c840efdb0f1}
\index { BNO08x@{ BNO08x} !bus\_ config@{ bus\_ config} }
\index { bus\_ config@{ bus\_ config} !BNO08x@{ BNO08x} }
\doxysubsubsection { \texorpdfstring { bus\_ config} { bus\_ config} }
{ \footnotesize \ttfamily spi\+ \_ \+ bus\+ \_ \+ config\+ \_ \+ t BNO08x\+ ::bus\+ \_ \+ config \{ \} \hspace { 0.3cm} { \ttfamily [private]} }
SPI bus GPIO configuration settings.
\Hypertarget { class_ b_ n_ o08x_ a6931b6544788f268a9441a9f9d4a5e33} \label { class_ b_ n_ o08x_ a6931b6544788f268a9441a9f9d4a5e33}
\index { BNO08x@{ BNO08x} !cb\_ task\_ hdl@{ cb\_ task\_ hdl} }
\index { cb\_ task\_ hdl@{ cb\_ task\_ hdl} !BNO08x@{ BNO08x} }
\doxysubsubsection { \texorpdfstring { cb\_ task\_ hdl} { cb\_ task\_ hdl} }
{ \footnotesize \ttfamily Task\+ Handle\+ \_ \+ t BNO08x\+ ::cb\+ \_ \+ task\+ \_ \+ hdl\hspace { 0.3cm} { \ttfamily [private]} }
\doxylink { class_ b_ n_ o08x_ a7c7a9a0b81f9c8762fc927efea68bf23} { sh2\+ \_ \+ \+ HAL\+ \_ \+ service\+ \_ \+ task()} task handle
\Hypertarget { class_ b_ n_ o08x_ a63002547e309412846c3967c9d068ee3} \label { class_ b_ n_ o08x_ a63002547e309412846c3967c9d068ee3}
\index { BNO08x@{ BNO08x} !CB\_ TASK\_ SZ@{ CB\_ TASK\_ SZ} }
\index { CB\_ TASK\_ SZ@{ CB\_ TASK\_ SZ} !BNO08x@{ BNO08x} }
\doxysubsubsection { \texorpdfstring { CB\_ TASK\_ SZ} { CB\_ TASK\_ SZ} }
{ \footnotesize \ttfamily const constexpr config\+ STACK\+ \_ \+ \+ DEPTH\+ \_ \+ \+ TYPE BNO08x\+ ::\+ CB\+ \_ \+ \+ TASK\+ \_ \+ \+ SZ\hspace { 0.3cm} { \ttfamily [static]} , { \ttfamily [constexpr]} , { \ttfamily [private]} }
{ \bfseries Initial value\+ :}
\begin { DoxyCode} { 0}
\DoxyCodeLine { =}
\DoxyCodeLine { \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ CONFIG\_ ESP32\_ BNO08X\_ CB\_ TASK\_ SZ}
\end { DoxyCode}
Size of \doxylink { class_ b_ n_ o08x_ a7c7a9a0b81f9c8762fc927efea68bf23} { sh2\+ \_ \+ \+ HAL\+ \_ \+ service\+ \_ \+ task()} stack in bytes.
\Hypertarget { class_ b_ n_ o08x_ ae32ce16c51a93b9d53058bf3b6f0d94b} \label { class_ b_ n_ o08x_ ae32ce16c51a93b9d53058bf3b6f0d94b}
\index { BNO08x@{ BNO08x} !DATA\_ AVAILABLE\_ TIMEOUT\_ MS@{ DATA\_ AVAILABLE\_ TIMEOUT\_ MS} }
\index { DATA\_ AVAILABLE\_ TIMEOUT\_ MS@{ DATA\_ AVAILABLE\_ TIMEOUT\_ MS} !BNO08x@{ BNO08x} }
\doxysubsubsection { \texorpdfstring { DATA\_ AVAILABLE\_ TIMEOUT\_ MS} { DATA\_ AVAILABLE\_ TIMEOUT\_ MS} }
{ \footnotesize \ttfamily const constexpr Tick\+ Type\+ \_ \+ t BNO08x\+ ::\+ DATA\+ \_ \+ \+ AVAILABLE\+ \_ \+ \+ TIMEOUT\+ \_ \+ \+ MS\hspace { 0.3cm} { \ttfamily [static]} , { \ttfamily [constexpr]} , { \ttfamily [private]} }
{ \bfseries Initial value\+ :}
\begin { DoxyCode} { 0}
\DoxyCodeLine { =}
\DoxyCodeLine { \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ CONFIG\_ ESP32\_ BNO08X\_ DATA\_ AVAILABLE\_ TIMEOUT\_ MS\ /}
\DoxyCodeLine { \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ portTICK\_ PERIOD\_ MS}
\end { DoxyCode}
Max wait between \doxylink { class_ b_ n_ o08x_ a367d525d1c0ba119b3dca3067bb5bccc} { data\+ \_ \+ available()} being called and no new data/report being detected.
\Hypertarget { class_ b_ n_ o08x_ af9b6fbf35e7cd55d517d30c6429a21a4} \label { class_ b_ n_ o08x_ af9b6fbf35e7cd55d517d30c6429a21a4}
\index { BNO08x@{ BNO08x} !data\_ proc\_ task\_ hdl@{ data\_ proc\_ task\_ hdl} }
\index { data\_ proc\_ task\_ hdl@{ data\_ proc\_ task\_ hdl} !BNO08x@{ BNO08x} }
\doxysubsubsection { \texorpdfstring { data\_ proc\_ task\_ hdl} { data\_ proc\_ task\_ hdl} }
{ \footnotesize \ttfamily Task\+ Handle\+ \_ \+ t BNO08x\+ ::data\+ \_ \+ proc\+ \_ \+ task\+ \_ \+ hdl\hspace { 0.3cm} { \ttfamily [private]} }
\doxylink { class_ b_ n_ o08x_ ab4373e9b87837ea9fcbc0b536338c7b8} { data\+ \_ \+ proc\+ \_ \+ task()} task handle
\Hypertarget { class_ b_ n_ o08x_ a876ef3f899989de83ee6a9d6b218f8e1} \label { class_ b_ n_ o08x_ a876ef3f899989de83ee6a9d6b218f8e1}
\index { BNO08x@{ BNO08x} !DATA\_ PROC\_ TASK\_ SZ@{ DATA\_ PROC\_ TASK\_ SZ} }
\index { DATA\_ PROC\_ TASK\_ SZ@{ DATA\_ PROC\_ TASK\_ SZ} !BNO08x@{ BNO08x} }
\doxysubsubsection { \texorpdfstring { DATA\_ PROC\_ TASK\_ SZ} { DATA\_ PROC\_ TASK\_ SZ} }
{ \footnotesize \ttfamily const constexpr config\+ STACK\+ \_ \+ \+ DEPTH\+ \_ \+ \+ TYPE BNO08x\+ ::\+ DATA\+ \_ \+ \+ PROC\+ \_ \+ \+ TASK\+ \_ \+ \+ SZ\hspace { 0.3cm} { \ttfamily [static]} , { \ttfamily [constexpr]} , { \ttfamily [private]} }
{ \bfseries Initial value\+ :}
\begin { DoxyCode} { 0}
\DoxyCodeLine { =}
\DoxyCodeLine { \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ CONFIG\_ ESP32\_ BNO08X\_ DATA\_ PROC\_ TASK\_ SZ}
\end { DoxyCode}
Size of \doxylink { class_ b_ n_ o08x_ ab4373e9b87837ea9fcbc0b536338c7b8} { data\+ \_ \+ proc\+ \_ \+ task()} stack in bytes.
\Hypertarget { class_ b_ n_ o08x_ aa07e329d693eb8d9270a7f9ad6f1d94b} \label { class_ b_ n_ o08x_ aa07e329d693eb8d9270a7f9ad6f1d94b}
\index { BNO08x@{ BNO08x} !HARD\_ RESET\_ DELAY\_ MS@{ HARD\_ RESET\_ DELAY\_ MS} }
\index { HARD\_ RESET\_ DELAY\_ MS@{ HARD\_ RESET\_ DELAY\_ MS} !BNO08x@{ BNO08x} }
\doxysubsubsection { \texorpdfstring { HARD\_ RESET\_ DELAY\_ MS} { HARD\_ RESET\_ DELAY\_ MS} }
{ \footnotesize \ttfamily const constexpr Tick\+ Type\+ \_ \+ t BNO08x\+ ::\+ HARD\+ \_ \+ \+ RESET\+ \_ \+ \+ DELAY\+ \_ \+ \+ MS\hspace { 0.3cm} { \ttfamily [static]} , { \ttfamily [constexpr]} , { \ttfamily [private]} }
{ \bfseries Initial value\+ :}
\begin { DoxyCode} { 0}
\DoxyCodeLine { =}
\DoxyCodeLine { \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ CONFIG\_ ESP32\_ BNO08X\_ HARD\_ RESET\_ DELAY\_ MS\ /}
\DoxyCodeLine { \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ portTICK\_ PERIOD\_ MS}
\end { DoxyCode}
How long RST pin is held low during hard reset (min 10ns according to datasheet, but should be longer for stable operation)
\Hypertarget { class_ b_ n_ o08x_ ae51d4e3228a91ee407d5866e604804c4} \label { class_ b_ n_ o08x_ ae51d4e3228a91ee407d5866e604804c4}
\index { BNO08x@{ BNO08x} !HOST\_ INT\_ TIMEOUT\_ DEFAULT\_ MS@{ HOST\_ INT\_ TIMEOUT\_ DEFAULT\_ MS} }
\index { HOST\_ INT\_ TIMEOUT\_ DEFAULT\_ MS@{ HOST\_ INT\_ TIMEOUT\_ DEFAULT\_ MS} !BNO08x@{ BNO08x} }
\doxysubsubsection { \texorpdfstring { HOST\_ INT\_ TIMEOUT\_ DEFAULT\_ MS} { HOST\_ INT\_ TIMEOUT\_ DEFAULT\_ MS} }
{ \footnotesize \ttfamily const constexpr Tick\+ Type\+ \_ \+ t BNO08x\+ ::\+ HOST\+ \_ \+ \+ INT\+ \_ \+ \+ TIMEOUT\+ \_ \+ \+ DEFAULT\+ \_ \+ \+ MS\hspace { 0.3cm} { \ttfamily [static]} , { \ttfamily [constexpr]} , { \ttfamily [private]} }
{ \bfseries Initial value\+ :}
\begin { DoxyCode} { 0}
\DoxyCodeLine { =}
\DoxyCodeLine { \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ CONFIG\_ ESP32\_ BNO08X\_ HINT\_ TIMEOUT\_ MS\ /}
\DoxyCodeLine { \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ portTICK\_ PERIOD\_ MS}
\end { DoxyCode}
Max wait between HINT being asserted by \doxylink { class_ b_ n_ o08x} { BNO08x} before transaction is considered failed (in miliseconds).
\Hypertarget { class_ b_ n_ o08x_ aeda443e9f608fccfec0e6770edc90c82} \label { class_ b_ n_ o08x_ aeda443e9f608fccfec0e6770edc90c82}
\index { BNO08x@{ BNO08x} !imu\_ config@{ imu\_ config} }
\index { imu\_ config@{ imu\_ config} !BNO08x@{ BNO08x} }
\doxysubsubsection { \texorpdfstring { imu\_ config} { imu\_ config} }
{ \footnotesize \ttfamily \mbox { \hyperlink { structbno08x_ _ config_ _ t} { bno08x\+ \_ \+ config\+ \_ \+ t} } BNO08x\+ ::imu\+ \_ \+ config \{ \} \hspace { 0.3cm} { \ttfamily [private]} }
IMU configuration settings.
\Hypertarget { class_ b_ n_ o08x_ a425a1f5a9f3232aadc685caaf4c2f82e} \label { class_ b_ n_ o08x_ a425a1f5a9f3232aadc685caaf4c2f82e}
\index { BNO08x@{ BNO08x} !imu\_ spi\_ config@{ imu\_ spi\_ config} }
\index { imu\_ spi\_ config@{ imu\_ spi\_ config} !BNO08x@{ BNO08x} }
\doxysubsubsection { \texorpdfstring { imu\_ spi\_ config} { imu\_ spi\_ config} }
{ \footnotesize \ttfamily spi\+ \_ \+ device\+ \_ \+ interface\+ \_ \+ config\+ \_ \+ t BNO08x\+ ::imu\+ \_ \+ spi\+ \_ \+ config \{ \} \hspace { 0.3cm} { \ttfamily [private]} }
SPI slave device settings.
\Hypertarget { class_ b_ n_ o08x_ a0a2d157afc0da144536d8d6927cc63f1} \label { class_ b_ n_ o08x_ a0a2d157afc0da144536d8d6927cc63f1}
\index { BNO08x@{ BNO08x} !init\_ status@{ init\_ status} }
\index { init\_ status@{ init\_ status} !BNO08x@{ BNO08x} }
\doxysubsubsection { \texorpdfstring { init\_ status} { init\_ status} }
{ \footnotesize \ttfamily \mbox { \hyperlink { struct_ b_ n_ o08x_ private_ types_ 1_ 1bno08x_ _ init_ _ status_ _ t} { BNO08x\+ Private\+ Types\+ ::bno08x\+ \_ \+ init\+ \_ \+ status\+ \_ \+ t} } BNO08x\+ ::init\+ \_ \+ status\hspace { 0.3cm} { \ttfamily [private]} }
Initialization status of various functionality, used by deconstructor during cleanup, set during initialization.
\Hypertarget { class_ b_ n_ o08x_ ac8f6fc515923ffc820a7cfafc0c2830f} \label { class_ b_ n_ o08x_ ac8f6fc515923ffc820a7cfafc0c2830f}
\index { BNO08x@{ BNO08x} !product\_ IDs@{ product\_ IDs} }
\index { product\_ IDs@{ product\_ IDs} !BNO08x@{ BNO08x} }
\doxysubsubsection { \texorpdfstring { product\_ IDs} { product\_ IDs} }
{ \footnotesize \ttfamily sh2\+ \_ \+ \+ Product\+ Ids\+ \_ \+ t BNO08x\+ ::product\+ \_ \+ \+ IDs\hspace { 0.3cm} { \ttfamily [private]} }
Product ID info returned IMU at initialization, can be viewed with \doxylink { class_ b_ n_ o08x_ a7441f7f2477c152deca17054041bf3e6} { print\+ \_ \+ product\+ \_ \+ ids()}
\Hypertarget { class_ b_ n_ o08x_ a8b45106ee35e8d2ddc9709b7f788212e} \label { class_ b_ n_ o08x_ a8b45106ee35e8d2ddc9709b7f788212e}
\index { BNO08x@{ BNO08x} !queue\_ cb\_ report\_ id@{ queue\_ cb\_ report\_ id} }
\index { queue\_ cb\_ report\_ id@{ queue\_ cb\_ report\_ id} !BNO08x@{ BNO08x} }
\doxysubsubsection { \texorpdfstring { queue\_ cb\_ report\_ id} { queue\_ cb\_ report\_ id} }
{ \footnotesize \ttfamily Queue\+ Handle\+ \_ \+ t BNO08x\+ ::queue\+ \_ \+ cb\+ \_ \+ report\+ \_ \+ id\hspace { 0.3cm} { \ttfamily [private]} }
Queue to send report ID of most recent report to \doxylink { class_ b_ n_ o08x_ a5fb7f6c3e5d1b3478f529644a0f175b7} { cb\+ \_ \+ task()}
\Hypertarget { class_ b_ n_ o08x_ aefd6d59af9f8cf73be017db55f8b2e6a} \label { class_ b_ n_ o08x_ aefd6d59af9f8cf73be017db55f8b2e6a}
\index { BNO08x@{ BNO08x} !queue\_ rx\_ sensor\_ event@{ queue\_ rx\_ sensor\_ event} }
\index { queue\_ rx\_ sensor\_ event@{ queue\_ rx\_ sensor\_ event} !BNO08x@{ BNO08x} }
\doxysubsubsection { \texorpdfstring { queue\_ rx\_ sensor\_ event} { queue\_ rx\_ sensor\_ event} }
{ \footnotesize \ttfamily Queue\+ Handle\+ \_ \+ t BNO08x\+ ::queue\+ \_ \+ rx\+ \_ \+ sensor\+ \_ \+ event\hspace { 0.3cm} { \ttfamily [private]} }
Queue to send sensor events from sh2 HAL sensor event callback (\doxylink { class_ b_ n_ o08x_ s_ h2_ h_ a_ l_ a19c041ef614d7eda85b94b10202a3997} { BNO08x\+ SH2\+ HAL\+ ::sensor\+ \_ \+ event\+ \_ \+ cb()} ) to \doxylink { class_ b_ n_ o08x_ ab4373e9b87837ea9fcbc0b536338c7b8} { data\+ \_ \+ proc\+ \_ \+ task()}
\Hypertarget { class_ b_ n_ o08x_ ae1db7422ee9c2cac77382cc0a7aa430e} \label { class_ b_ n_ o08x_ ae1db7422ee9c2cac77382cc0a7aa430e}
\index { BNO08x@{ BNO08x} !rpt@{ rpt} }
\index { rpt@{ rpt} !BNO08x@{ BNO08x} }
\doxysubsubsection { \texorpdfstring { rpt} { rpt} }
{ \footnotesize \ttfamily \mbox { \hyperlink { struct_ b_ n_ o08x_ 1_ 1bno08x_ _ reports_ _ t} { bno08x\+ \_ \+ reports\+ \_ \+ t} } BNO08x\+ ::rpt}
\Hypertarget { class_ b_ n_ o08x_ a1a037bda37493cde56732cc6fdc7884b} \label { class_ b_ n_ o08x_ a1a037bda37493cde56732cc6fdc7884b}
\index { BNO08x@{ BNO08x} !RX\_ DATA\_ LENGTH@{ RX\_ DATA\_ LENGTH} }
\index { RX\_ DATA\_ LENGTH@{ RX\_ DATA\_ LENGTH} !BNO08x@{ BNO08x} }
\doxysubsubsection { \texorpdfstring { RX\_ DATA\_ LENGTH} { RX\_ DATA\_ LENGTH} }
{ \footnotesize \ttfamily const constexpr uint16\+ \_ \+ t BNO08x\+ ::\+ RX\+ \_ \+ \+ DATA\+ \_ \+ \+ LENGTH = 300U\hspace { 0.3cm} { \ttfamily [static]} , { \ttfamily [constexpr]} , { \ttfamily [private]} }
length buffer containing data received over spi
\Hypertarget { class_ b_ n_ o08x_ a031976dacd97917d9d72edccb607160c} \label { class_ b_ n_ o08x_ a031976dacd97917d9d72edccb607160c}
\index { BNO08x@{ BNO08x} !SCLK\_ MAX\_ SPEED@{ SCLK\_ MAX\_ SPEED} }
\index { SCLK\_ MAX\_ SPEED@{ SCLK\_ MAX\_ SPEED} !BNO08x@{ BNO08x} }
\doxysubsubsection { \texorpdfstring { SCLK\_ MAX\_ SPEED} { SCLK\_ MAX\_ SPEED} }
{ \footnotesize \ttfamily const constexpr uint32\+ \_ \+ t BNO08x\+ ::\+ SCLK\+ \_ \+ \+ MAX\+ \_ \+ \+ SPEED = 3000000\+ UL\hspace { 0.3cm} { \ttfamily [static]} , { \ttfamily [constexpr]} , { \ttfamily [private]} }
Max SPI SCLK speed \doxylink { class_ b_ n_ o08x} { BNO08x} is capable of.
\Hypertarget { class_ b_ n_ o08x_ aa92ff86d82a097a565ed2a2b9000b571} \label { class_ b_ n_ o08x_ aa92ff86d82a097a565ed2a2b9000b571}
\index { BNO08x@{ BNO08x} !sem\_ kill\_ tasks@{ sem\_ kill\_ tasks} }
\index { sem\_ kill\_ tasks@{ sem\_ kill\_ tasks} !BNO08x@{ BNO08x} }
\doxysubsubsection { \texorpdfstring { sem\_ kill\_ tasks} { sem\_ kill\_ tasks} }
{ \footnotesize \ttfamily Semaphore\+ Handle\+ \_ \+ t BNO08x\+ ::sem\+ \_ \+ kill\+ \_ \+ tasks\hspace { 0.3cm} { \ttfamily [private]} }
Counting Semaphore to count amount of killed tasks.
\Hypertarget { class_ b_ n_ o08x_ abae123678dc62f139749f13a3b6d1baa} \label { class_ b_ n_ o08x_ abae123678dc62f139749f13a3b6d1baa}
\index { BNO08x@{ BNO08x} !sh2\_ HAL@{ sh2\_ HAL} }
\index { sh2\_ HAL@{ sh2\_ HAL} !BNO08x@{ BNO08x} }
\doxysubsubsection { \texorpdfstring { sh2\_ HAL} { sh2\_ HAL} }
{ \footnotesize \ttfamily sh2\+ \_ \+ \+ Hal\+ \_ \+ t BNO08x\+ ::sh2\+ \_ \+ \+ HAL\hspace { 0.3cm} { \ttfamily [private]} }
sh2 hardware abstraction layer struct for use with sh2 HAL lib.
\Hypertarget { class_ b_ n_ o08x_ afb288b912294ac6a568c1aab8bb382f6} \label { class_ b_ n_ o08x_ afb288b912294ac6a568c1aab8bb382f6}
\index { BNO08x@{ BNO08x} !sh2\_ HAL\_ service\_ task\_ hdl@{ sh2\_ HAL\_ service\_ task\_ hdl} }
\index { sh2\_ HAL\_ service\_ task\_ hdl@{ sh2\_ HAL\_ service\_ task\_ hdl} !BNO08x@{ BNO08x} }
\doxysubsubsection { \texorpdfstring { sh2\_ HAL\_ service\_ task\_ hdl} { sh2\_ HAL\_ service\_ task\_ hdl} }
{ \footnotesize \ttfamily Task\+ Handle\+ \_ \+ t BNO08x\+ ::sh2\+ \_ \+ \+ HAL\+ \_ \+ service\+ \_ \+ task\+ \_ \+ hdl\hspace { 0.3cm} { \ttfamily [private]} }
\doxylink { class_ b_ n_ o08x_ a7c7a9a0b81f9c8762fc927efea68bf23} { sh2\+ \_ \+ \+ HAL\+ \_ \+ service\+ \_ \+ task()} task handle
\Hypertarget { class_ b_ n_ o08x_ aac1f772772db2d5fd14d51e44649d8eb} \label { class_ b_ n_ o08x_ aac1f772772db2d5fd14d51e44649d8eb}
\index { BNO08x@{ BNO08x} !SH2\_ HAL\_ SERVICE\_ TASK\_ SZ@{ SH2\_ HAL\_ SERVICE\_ TASK\_ SZ} }
\index { SH2\_ HAL\_ SERVICE\_ TASK\_ SZ@{ SH2\_ HAL\_ SERVICE\_ TASK\_ SZ} !BNO08x@{ BNO08x} }
\doxysubsubsection { \texorpdfstring { SH2\_ HAL\_ SERVICE\_ TASK\_ SZ} { SH2\_ HAL\_ SERVICE\_ TASK\_ SZ} }
{ \footnotesize \ttfamily const constexpr config\+ STACK\+ \_ \+ \+ DEPTH\+ \_ \+ \+ TYPE BNO08x\+ ::\+ SH2\+ \_ \+ \+ HAL\+ \_ \+ \+ SERVICE\+ \_ \+ \+ TASK\+ \_ \+ \+ SZ\hspace { 0.3cm} { \ttfamily [static]} , { \ttfamily [constexpr]} , { \ttfamily [private]} }
{ \bfseries Initial value\+ :}
\begin { DoxyCode} { 0}
\DoxyCodeLine { =}
\DoxyCodeLine { \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ CONFIG\_ ESP32\_ BNO08X\_ SH2\_ HAL\_ SERVICE\_ TASK\_ SZ}
\end { DoxyCode}
Size of \doxylink { class_ b_ n_ o08x_ a7c7a9a0b81f9c8762fc927efea68bf23} { sh2\+ \_ \+ \+ HAL\+ \_ \+ service\+ \_ \+ task()} stack in bytes.
\Hypertarget { class_ b_ n_ o08x_ acc0ea091465fc9a5736f5e0c6a0ce8ef} \label { class_ b_ n_ o08x_ acc0ea091465fc9a5736f5e0c6a0ce8ef}
\index { BNO08x@{ BNO08x} !spi\_ hdl@{ spi\_ hdl} }
\index { spi\_ hdl@{ spi\_ hdl} !BNO08x@{ BNO08x} }
\doxysubsubsection { \texorpdfstring { spi\_ hdl} { spi\_ hdl} }
{ \footnotesize \ttfamily spi\+ \_ \+ device\+ \_ \+ handle\+ \_ \+ t BNO08x\+ ::spi\+ \_ \+ hdl \{ \} \hspace { 0.3cm} { \ttfamily [private]} }
SPI device handle.
\Hypertarget { class_ b_ n_ o08x_ ac16adc5f00b0039c98a4921f13895026} \label { class_ b_ n_ o08x_ ac16adc5f00b0039c98a4921f13895026}
\index { BNO08x@{ BNO08x} !spi\_ transaction@{ spi\_ transaction} }
\index { spi\_ transaction@{ spi\_ transaction} !BNO08x@{ BNO08x} }
\doxysubsubsection { \texorpdfstring { spi\_ transaction} { spi\_ transaction} }
{ \footnotesize \ttfamily spi\+ \_ \+ transaction\+ \_ \+ t BNO08x\+ ::spi\+ \_ \+ transaction \{ \} \hspace { 0.3cm} { \ttfamily [private]} }
SPI transaction handle.
\Hypertarget { class_ b_ n_ o08x_ a22bb1bdc1153a455ec8f549d9389406e} \label { class_ b_ n_ o08x_ a22bb1bdc1153a455ec8f549d9389406e}
\index { BNO08x@{ BNO08x} !sync\_ ctx@{ sync\_ ctx} }
\index { sync\_ ctx@{ sync\_ ctx} !BNO08x@{ BNO08x} }
\doxysubsubsection { \texorpdfstring { sync\_ ctx} { sync\_ ctx} }
{ \footnotesize \ttfamily \mbox { \hyperlink { struct_ b_ n_ o08x_ private_ types_ 1_ 1bno08x_ _ sync_ _ ctx_ _ t} { BNO08x\+ Private\+ Types\+ ::bno08x\+ \_ \+ sync\+ \_ \+ ctx\+ \_ \+ t} } BNO08x\+ ::sync\+ \_ \+ ctx\hspace { 0.3cm} { \ttfamily [private]} }
Holds context used to synchronize tasks and callback execution.
\Hypertarget { class_ b_ n_ o08x_ a2c98d5f2c406a3efd0b48c5666fa8c46} \label { class_ b_ n_ o08x_ a2c98d5f2c406a3efd0b48c5666fa8c46}
\index { BNO08x@{ BNO08x} !TAG@{ TAG} }
\index { TAG@{ TAG} !BNO08x@{ BNO08x} }
\doxysubsubsection { \texorpdfstring { TAG} { TAG} }
{ \footnotesize \ttfamily const constexpr char\texorpdfstring { $ \ast $ } { *} BNO08x\+ ::\+ TAG = "{ } BNO08x"{ } \hspace { 0.3cm} { \ttfamily [static]} , { \ttfamily [constexpr]} , { \ttfamily [private]} }
Class tag used for serial print statements.
\Hypertarget { class_ b_ n_ o08x_ a58b4949a61a784d09df3e7ecda175b39} \label { class_ b_ n_ o08x_ a58b4949a61a784d09df3e7ecda175b39}
\index { BNO08x@{ BNO08x} !usr\_ reports@{ usr\_ reports} }
\index { usr\_ reports@{ usr\_ reports} !BNO08x@{ BNO08x} }
\doxysubsubsection { \texorpdfstring { usr\_ reports} { usr\_ reports} }
{ \footnotesize \ttfamily etl\+ ::map$ < $ uint8\+ \_ \+ t, \mbox { \hyperlink { class_ b_ n_ o08x_ rpt} { BNO08x\+ Rpt} } \texorpdfstring { $ \ast $ } { *} , \mbox { \hyperlink { _ b_ n_ o08x_ global_ types_ 8hpp_ a9808babb45af9b32fc51cef8d50341be} { TOTAL\+ \_ \+ \+ RPT\+ \_ \+ \+ COUNT} } , etl\+ ::less$ < $ uint8\+ \_ \+ t$ > $ $ > $ BNO08x\+ ::usr\+ \_ \+ reports\hspace { 0.3cm} { \ttfamily [private]} }
The documentation for this class was generated from the following files\+ :\begin { DoxyCompactItemize}
\item
2024-12-27 02:02:09 +00:00
include/\mbox { \hyperlink { _ b_ n_ o08x_ 8hpp} { BNO08x.\+ hpp} } \item
source/\mbox { \hyperlink { _ b_ n_ o08x_ 8cpp} { BNO08x.\+ cpp} } \end { DoxyCompactItemize}