2024-12-06 04:09:30 +00:00
\doxysection { BNO08x\+ Test\+ Helper Class Reference}
\hypertarget { class_ b_ n_ o08x_ test_ helper} { } \label { class_ b_ n_ o08x_ test_ helper} \index { BNO08xTestHelper@{ BNO08xTestHelper} }
\doxylink { class_ b_ n_ o08x} { BNO08x} unit test helper class.
{ \ttfamily \# include $ < $ BNO08x\+ Test\+ Helper.\+ hpp$ > $ }
Collaboration diagram for BNO08x\+ Test\+ Helper\+ :
\nopagebreak
\begin { figure} [H]
\begin { center}
\leavevmode
\includegraphics [width=350pt] { class_ b_ n_ o08x_ test_ helper_ _ coll_ _ graph}
\end { center}
\end { figure}
\doxysubsubsection * { Static Public Member Functions}
\begin { DoxyCompactItemize}
\item
static void \mbox { \hyperlink { class_ b_ n_ o08x_ test_ helper_ a066f8389fd1c682ec9565ebc3060d885} { print\+ \_ \+ test\+ \_ \+ start\+ \_ \+ banner} } (const char \texorpdfstring { $ \ast $ } { *} TEST\+ \_ \+ \+ TAG)
\begin { DoxyCompactList} \small \item \em Prints test begin banner. \end { DoxyCompactList} \item
static void \mbox { \hyperlink { class_ b_ n_ o08x_ test_ helper_ a16423fc3250e88eb5392800022f82919} { print\+ \_ \+ test\+ \_ \+ end\+ \_ \+ banner} } (const char \texorpdfstring { $ \ast $ } { *} TEST\+ \_ \+ \+ TAG)
\begin { DoxyCompactList} \small \item \em Prints end begin banner. \end { DoxyCompactList} \item
static void \mbox { \hyperlink { class_ b_ n_ o08x_ test_ helper_ a23593453a05f7cac26fd341371197a8c} { print\+ \_ \+ test\+ \_ \+ msg} } (const char \texorpdfstring { $ \ast $ } { *} TEST\+ \_ \+ \+ TAG, const char \texorpdfstring { $ \ast $ } { *} msg)
\begin { DoxyCompactList} \small \item \em Prints a message during a test. \end { DoxyCompactList} \item
static void \mbox { \hyperlink { class_ b_ n_ o08x_ test_ helper_ a9e2f9bf13f28f1a6ba87e86bc5947cf1} { set\+ \_ \+ test\+ \_ \+ imu\+ \_ \+ cfg} } (\mbox { \hyperlink { structbno08x_ _ config_ _ t} { bno08x\+ \_ \+ config\+ \_ \+ t} } cfg)
\begin { DoxyCompactList} \small \item \em Set test imu configuration used with \doxylink { class_ b_ n_ o08x_ test_ helper_ a6bd040c7d670a9713f2ab8a8a3913518} { create\+ \_ \+ test\+ \_ \+ imu()} \end { DoxyCompactList} \item
static void \mbox { \hyperlink { class_ b_ n_ o08x_ test_ helper_ a6bd040c7d670a9713f2ab8a8a3913518} { create\+ \_ \+ test\+ \_ \+ imu} } ()
\begin { DoxyCompactList} \small \item \em Calls \doxylink { class_ b_ n_ o08x} { BNO08x} constructor and creates new test IMU on heap. \end { DoxyCompactList} \item
static void \mbox { \hyperlink { class_ b_ n_ o08x_ test_ helper_ ae2d6df7dcfdbd106c2247803461bbc40} { destroy\+ \_ \+ test\+ \_ \+ imu} } ()
\begin { DoxyCompactList} \small \item \em Deletes test IMU calling deconstructor and releases heap allocated memory. \end { DoxyCompactList} \item
static \mbox { \hyperlink { class_ b_ n_ o08x} { BNO08x} } \texorpdfstring { $ \ast $ } { *} \mbox { \hyperlink { class_ b_ n_ o08x_ test_ helper_ a41a432a3fe288e45b6ab139a00bd7d6b} { get\+ \_ \+ test\+ \_ \+ imu} } ()
\begin { DoxyCompactList} \small \item \em Deletes test IMU calling deconstructor and releases heap allocated memory. \end { DoxyCompactList} \item
static esp\+ \_ \+ err\+ \_ \+ t \mbox { \hyperlink { class_ b_ n_ o08x_ test_ helper_ a71d9fd7d459a98a7e9089a8587a21f8d} { call\+ \_ \+ init\+ \_ \+ config\+ \_ \+ args} } ()
\begin { DoxyCompactList} \small \item \em Used to call private \doxylink { class_ b_ n_ o08x_ a589eb9780f5bf613bbd447ef5b9ade3d} { BNO08x\+ ::init\+ \_ \+ config\+ \_ \+ args()} member for tests. \end { DoxyCompactList} \item
static esp\+ \_ \+ err\+ \_ \+ t \mbox { \hyperlink { class_ b_ n_ o08x_ test_ helper_ a504749533ccd91890d73440809d38161} { call\+ \_ \+ init\+ \_ \+ gpio} } ()
\begin { DoxyCompactList} \small \item \em Used to call private \doxylink { class_ b_ n_ o08x_ ae0dab25557befcf62bf384fdc241ef10} { BNO08x\+ ::init\+ \_ \+ gpio()} member for tests. \end { DoxyCompactList} \item
static esp\+ \_ \+ err\+ \_ \+ t \mbox { \hyperlink { class_ b_ n_ o08x_ test_ helper_ a836c928981ac85d34668c9b97af17a15} { call\+ \_ \+ init\+ \_ \+ hint\+ \_ \+ isr} } ()
\begin { DoxyCompactList} \small \item \em Used to call private \doxylink { class_ b_ n_ o08x_ aa27026da2c52b4aca49b78863f10ec61} { BNO08x\+ ::init\+ \_ \+ hint\+ \_ \+ isr()} member for tests. \end { DoxyCompactList} \item
static esp\+ \_ \+ err\+ \_ \+ t \mbox { \hyperlink { class_ b_ n_ o08x_ test_ helper_ a7d2d784da1e850dab41154b35d7cdab5} { call\+ \_ \+ init\+ \_ \+ spi} } ()
\begin { DoxyCompactList} \small \item \em Used to call private \doxylink { class_ b_ n_ o08x_ a58f43c8bb1e7fe8560ce442d46240e81} { BNO08x\+ ::init\+ \_ \+ spi()} member for tests. \end { DoxyCompactList} \item
static esp\+ \_ \+ err\+ \_ \+ t \mbox { \hyperlink { class_ b_ n_ o08x_ test_ helper_ a935a69784981caf90b4e135e3e257db4} { call\+ \_ \+ init\+ \_ \+ tasks} } ()
\begin { DoxyCompactList} \small \item \em Used to call private \doxylink { class_ b_ n_ o08x_ a90d959312e6f7f8151b8a38218492ead} { BNO08x\+ ::init\+ \_ \+ tasks()} member for tests. \end { DoxyCompactList} \item
static esp\+ \_ \+ err\+ \_ \+ t \mbox { \hyperlink { class_ b_ n_ o08x_ test_ helper_ a854c60f602fe6d9af1da1a07eee0a449} { call\+ \_ \+ init\+ \_ \+ sh2\+ \_ \+ \+ HAL} } ()
\begin { DoxyCompactList} \small \item \em Used to call private \doxylink { class_ b_ n_ o08x_ a90d959312e6f7f8151b8a38218492ead} { BNO08x\+ ::init\+ \_ \+ tasks()} member for tests. \end { DoxyCompactList} \item
static esp\+ \_ \+ err\+ \_ \+ t \mbox { \hyperlink { class_ b_ n_ o08x_ test_ helper_ a347b8ca2697388394b7cb68c8895494b} { call\+ \_ \+ deinit\+ \_ \+ gpio} } ()
\begin { DoxyCompactList} \small \item \em Used to call private \doxylink { class_ b_ n_ o08x_ a4f007dd431f10e741414d197bb4926c3} { BNO08x\+ ::deinit\+ \_ \+ gpio()} member for tests. \end { DoxyCompactList} \item
static esp\+ \_ \+ err\+ \_ \+ t \mbox { \hyperlink { class_ b_ n_ o08x_ test_ helper_ ac15a216ea5561b190f25f83caa749261} { call\+ \_ \+ deinit\+ \_ \+ hint\+ \_ \+ isr} } ()
\begin { DoxyCompactList} \small \item \em Used to call private \doxylink { class_ b_ n_ o08x_ a9d96108b0f5b1e1e1ac431bc993ca758} { BNO08x\+ ::deinit\+ \_ \+ hint\+ \_ \+ isr()} member for tests. \end { DoxyCompactList} \item
static esp\+ \_ \+ err\+ \_ \+ t \mbox { \hyperlink { class_ b_ n_ o08x_ test_ helper_ a56ec98df9439461469bf0d2c23bb3868} { call\+ \_ \+ deinit\+ \_ \+ spi} } ()
\begin { DoxyCompactList} \small \item \em Used to call private \doxylink { class_ b_ n_ o08x_ a233920ce97f685fbdabecccacf471d85} { BNO08x\+ ::deinit\+ \_ \+ spi()} member for tests. \end { DoxyCompactList} \item
static esp\+ \_ \+ err\+ \_ \+ t \mbox { \hyperlink { class_ b_ n_ o08x_ test_ helper_ a3be103abfab70eef3c1b1609a0c46bec} { call\+ \_ \+ deinit\+ \_ \+ tasks} } ()
\begin { DoxyCompactList} \small \item \em Used to call private \doxylink { class_ b_ n_ o08x_ a968144efd5100ccce0e453c40a63592b} { BNO08x\+ ::deinit\+ \_ \+ tasks()} member for tests. \end { DoxyCompactList} \item
static esp\+ \_ \+ err\+ \_ \+ t \mbox { \hyperlink { class_ b_ n_ o08x_ test_ helper_ ab1f8d61956fbceecf0baf08cb878397d} { call\+ \_ \+ deinit\+ \_ \+ sh2\+ \_ \+ \+ HAL} } ()
\begin { DoxyCompactList} \small \item \em Used to call private \doxylink { class_ b_ n_ o08x_ a968144efd5100ccce0e453c40a63592b} { BNO08x\+ ::deinit\+ \_ \+ tasks()} member for tests. \end { DoxyCompactList} \end { DoxyCompactItemize}
\doxysubsubsection * { Static Private Attributes}
\begin { DoxyCompactItemize}
\item
static \mbox { \hyperlink { class_ b_ n_ o08x} { BNO08x} } \texorpdfstring { $ \ast $ } { *} \mbox { \hyperlink { class_ b_ n_ o08x_ test_ helper_ a2da34e5d5e353cd37fa458fcfe7cf243} { test\+ \_ \+ imu} } = nullptr
\item
static \mbox { \hyperlink { structbno08x_ _ config_ _ t} { bno08x\+ \_ \+ config\+ \_ \+ t} } \mbox { \hyperlink { class_ b_ n_ o08x_ test_ helper_ a008b268f705b9d2925230cb8193c9f28} { imu\+ \_ \+ cfg} }
\item
static const constexpr char \texorpdfstring { $ \ast $ } { *} \mbox { \hyperlink { class_ b_ n_ o08x_ test_ helper_ aa09d388a5da3a925ac25125b9c5c3a90} { TAG} } = "{ } BNO08x\+ Test\+ Helper"{ }
\end { DoxyCompactItemize}
\doxysubsection { Detailed Description}
\doxylink { class_ b_ n_ o08x} { BNO08x} unit test helper class.
\doxysubsection { Member Function Documentation}
\Hypertarget { class_ b_ n_ o08x_ test_ helper_ a347b8ca2697388394b7cb68c8895494b} \label { class_ b_ n_ o08x_ test_ helper_ a347b8ca2697388394b7cb68c8895494b}
\index { BNO08xTestHelper@{ BNO08xTestHelper} !call\_ deinit\_ gpio@{ call\_ deinit\_ gpio} }
\index { call\_ deinit\_ gpio@{ call\_ deinit\_ gpio} !BNO08xTestHelper@{ BNO08xTestHelper} }
\doxysubsubsection { \texorpdfstring { call\_ deinit\_ gpio()} { call\_ deinit\_ gpio()} }
{ \footnotesize \ttfamily static esp\+ \_ \+ err\+ \_ \+ t BNO08x\+ Test\+ Helper\+ ::call\+ \_ \+ deinit\+ \_ \+ gpio (\begin { DoxyParamCaption} { } \end { DoxyParamCaption} )\hspace { 0.3cm} { \ttfamily [inline]} , { \ttfamily [static]} }
Used to call private \doxylink { class_ b_ n_ o08x_ a4f007dd431f10e741414d197bb4926c3} { BNO08x\+ ::deinit\+ \_ \+ gpio()} member for tests.
\begin { DoxyReturn} { Returns}
ESP\+ \_ \+ \+ OK if deinit 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_ test_ helper_ a347b8ca2697388394b7cb68c8895494b_ 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_ test_ helper_ a347b8ca2697388394b7cb68c8895494b_ icgraph}
\end { center}
\end { figure}
\Hypertarget { class_ b_ n_ o08x_ test_ helper_ ac15a216ea5561b190f25f83caa749261} \label { class_ b_ n_ o08x_ test_ helper_ ac15a216ea5561b190f25f83caa749261}
\index { BNO08xTestHelper@{ BNO08xTestHelper} !call\_ deinit\_ hint\_ isr@{ call\_ deinit\_ hint\_ isr} }
\index { call\_ deinit\_ hint\_ isr@{ call\_ deinit\_ hint\_ isr} !BNO08xTestHelper@{ BNO08xTestHelper} }
\doxysubsubsection { \texorpdfstring { call\_ deinit\_ hint\_ isr()} { call\_ deinit\_ hint\_ isr()} }
{ \footnotesize \ttfamily static esp\+ \_ \+ err\+ \_ \+ t BNO08x\+ Test\+ Helper\+ ::call\+ \_ \+ deinit\+ \_ \+ hint\+ \_ \+ isr (\begin { DoxyParamCaption} { } \end { DoxyParamCaption} )\hspace { 0.3cm} { \ttfamily [inline]} , { \ttfamily [static]} }
Used to call private \doxylink { class_ b_ n_ o08x_ a9d96108b0f5b1e1e1ac431bc993ca758} { BNO08x\+ ::deinit\+ \_ \+ hint\+ \_ \+ isr()} member for tests.
\begin { DoxyReturn} { Returns}
ESP\+ \_ \+ \+ OK if deinit 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_ test_ helper_ ac15a216ea5561b190f25f83caa749261_ 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_ test_ helper_ ac15a216ea5561b190f25f83caa749261_ icgraph}
\end { center}
\end { figure}
\Hypertarget { class_ b_ n_ o08x_ test_ helper_ ab1f8d61956fbceecf0baf08cb878397d} \label { class_ b_ n_ o08x_ test_ helper_ ab1f8d61956fbceecf0baf08cb878397d}
\index { BNO08xTestHelper@{ BNO08xTestHelper} !call\_ deinit\_ sh2\_ HAL@{ call\_ deinit\_ sh2\_ HAL} }
\index { call\_ deinit\_ sh2\_ HAL@{ call\_ deinit\_ sh2\_ HAL} !BNO08xTestHelper@{ BNO08xTestHelper} }
\doxysubsubsection { \texorpdfstring { call\_ deinit\_ sh2\_ HAL()} { call\_ deinit\_ sh2\_ HAL()} }
{ \footnotesize \ttfamily static esp\+ \_ \+ err\+ \_ \+ t BNO08x\+ Test\+ Helper\+ ::call\+ \_ \+ deinit\+ \_ \+ sh2\+ \_ \+ \+ HAL (\begin { DoxyParamCaption} { } \end { DoxyParamCaption} )\hspace { 0.3cm} { \ttfamily [inline]} , { \ttfamily [static]} }
Used to call private \doxylink { class_ b_ n_ o08x_ a968144efd5100ccce0e453c40a63592b} { BNO08x\+ ::deinit\+ \_ \+ tasks()} member for tests.
\begin { DoxyReturn} { Returns}
ESP\+ \_ \+ \+ OK if deinit 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_ test_ helper_ ab1f8d61956fbceecf0baf08cb878397d_ 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_ test_ helper_ ab1f8d61956fbceecf0baf08cb878397d_ icgraph}
\end { center}
\end { figure}
\Hypertarget { class_ b_ n_ o08x_ test_ helper_ a56ec98df9439461469bf0d2c23bb3868} \label { class_ b_ n_ o08x_ test_ helper_ a56ec98df9439461469bf0d2c23bb3868}
\index { BNO08xTestHelper@{ BNO08xTestHelper} !call\_ deinit\_ spi@{ call\_ deinit\_ spi} }
\index { call\_ deinit\_ spi@{ call\_ deinit\_ spi} !BNO08xTestHelper@{ BNO08xTestHelper} }
\doxysubsubsection { \texorpdfstring { call\_ deinit\_ spi()} { call\_ deinit\_ spi()} }
{ \footnotesize \ttfamily static esp\+ \_ \+ err\+ \_ \+ t BNO08x\+ Test\+ Helper\+ ::call\+ \_ \+ deinit\+ \_ \+ spi (\begin { DoxyParamCaption} { } \end { DoxyParamCaption} )\hspace { 0.3cm} { \ttfamily [inline]} , { \ttfamily [static]} }
Used to call private \doxylink { class_ b_ n_ o08x_ a233920ce97f685fbdabecccacf471d85} { BNO08x\+ ::deinit\+ \_ \+ spi()} member for tests.
\begin { DoxyReturn} { Returns}
ESP\+ \_ \+ \+ OK if deinit 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_ test_ helper_ a56ec98df9439461469bf0d2c23bb3868_ 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_ test_ helper_ a56ec98df9439461469bf0d2c23bb3868_ icgraph}
\end { center}
\end { figure}
\Hypertarget { class_ b_ n_ o08x_ test_ helper_ a3be103abfab70eef3c1b1609a0c46bec} \label { class_ b_ n_ o08x_ test_ helper_ a3be103abfab70eef3c1b1609a0c46bec}
\index { BNO08xTestHelper@{ BNO08xTestHelper} !call\_ deinit\_ tasks@{ call\_ deinit\_ tasks} }
\index { call\_ deinit\_ tasks@{ call\_ deinit\_ tasks} !BNO08xTestHelper@{ BNO08xTestHelper} }
\doxysubsubsection { \texorpdfstring { call\_ deinit\_ tasks()} { call\_ deinit\_ tasks()} }
{ \footnotesize \ttfamily static esp\+ \_ \+ err\+ \_ \+ t BNO08x\+ Test\+ Helper\+ ::call\+ \_ \+ deinit\+ \_ \+ tasks (\begin { DoxyParamCaption} { } \end { DoxyParamCaption} )\hspace { 0.3cm} { \ttfamily [inline]} , { \ttfamily [static]} }
Used to call private \doxylink { class_ b_ n_ o08x_ a968144efd5100ccce0e453c40a63592b} { BNO08x\+ ::deinit\+ \_ \+ tasks()} member for tests.
\begin { DoxyReturn} { Returns}
ESP\+ \_ \+ \+ OK if deinit succeeded.
\end { DoxyReturn}
Here is the call graph for this function\+ :
\nopagebreak
\begin { figure} [H]
\begin { center}
\leavevmode
\includegraphics [width=348pt] { class_ b_ n_ o08x_ test_ helper_ a3be103abfab70eef3c1b1609a0c46bec_ 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_ test_ helper_ a3be103abfab70eef3c1b1609a0c46bec_ icgraph}
\end { center}
\end { figure}
\Hypertarget { class_ b_ n_ o08x_ test_ helper_ a71d9fd7d459a98a7e9089a8587a21f8d} \label { class_ b_ n_ o08x_ test_ helper_ a71d9fd7d459a98a7e9089a8587a21f8d}
\index { BNO08xTestHelper@{ BNO08xTestHelper} !call\_ init\_ config\_ args@{ call\_ init\_ config\_ args} }
\index { call\_ init\_ config\_ args@{ call\_ init\_ config\_ args} !BNO08xTestHelper@{ BNO08xTestHelper} }
\doxysubsubsection { \texorpdfstring { call\_ init\_ config\_ args()} { call\_ init\_ config\_ args()} }
{ \footnotesize \ttfamily static esp\+ \_ \+ err\+ \_ \+ t BNO08x\+ Test\+ Helper\+ ::call\+ \_ \+ init\+ \_ \+ config\+ \_ \+ args (\begin { DoxyParamCaption} { } \end { DoxyParamCaption} )\hspace { 0.3cm} { \ttfamily [inline]} , { \ttfamily [static]} }
Used to call private \doxylink { class_ b_ n_ o08x_ a589eb9780f5bf613bbd447ef5b9ade3d} { BNO08x\+ ::init\+ \_ \+ config\+ \_ \+ args()} member for tests.
\begin { DoxyReturn} { Returns}
ESP\+ \_ \+ \+ OK if init 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_ test_ helper_ a71d9fd7d459a98a7e9089a8587a21f8d_ 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_ test_ helper_ a71d9fd7d459a98a7e9089a8587a21f8d_ icgraph}
\end { center}
\end { figure}
\Hypertarget { class_ b_ n_ o08x_ test_ helper_ a504749533ccd91890d73440809d38161} \label { class_ b_ n_ o08x_ test_ helper_ a504749533ccd91890d73440809d38161}
\index { BNO08xTestHelper@{ BNO08xTestHelper} !call\_ init\_ gpio@{ call\_ init\_ gpio} }
\index { call\_ init\_ gpio@{ call\_ init\_ gpio} !BNO08xTestHelper@{ BNO08xTestHelper} }
\doxysubsubsection { \texorpdfstring { call\_ init\_ gpio()} { call\_ init\_ gpio()} }
{ \footnotesize \ttfamily static esp\+ \_ \+ err\+ \_ \+ t BNO08x\+ Test\+ Helper\+ ::call\+ \_ \+ init\+ \_ \+ gpio (\begin { DoxyParamCaption} { } \end { DoxyParamCaption} )\hspace { 0.3cm} { \ttfamily [inline]} , { \ttfamily [static]} }
Used to call private \doxylink { class_ b_ n_ o08x_ ae0dab25557befcf62bf384fdc241ef10} { BNO08x\+ ::init\+ \_ \+ gpio()} member for tests.
\begin { DoxyReturn} { Returns}
ESP\+ \_ \+ \+ OK if init 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_ test_ helper_ a504749533ccd91890d73440809d38161_ 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_ test_ helper_ a504749533ccd91890d73440809d38161_ icgraph}
\end { center}
\end { figure}
\Hypertarget { class_ b_ n_ o08x_ test_ helper_ a836c928981ac85d34668c9b97af17a15} \label { class_ b_ n_ o08x_ test_ helper_ a836c928981ac85d34668c9b97af17a15}
\index { BNO08xTestHelper@{ BNO08xTestHelper} !call\_ init\_ hint\_ isr@{ call\_ init\_ hint\_ isr} }
\index { call\_ init\_ hint\_ isr@{ call\_ init\_ hint\_ isr} !BNO08xTestHelper@{ BNO08xTestHelper} }
\doxysubsubsection { \texorpdfstring { call\_ init\_ hint\_ isr()} { call\_ init\_ hint\_ isr()} }
{ \footnotesize \ttfamily static esp\+ \_ \+ err\+ \_ \+ t BNO08x\+ Test\+ Helper\+ ::call\+ \_ \+ init\+ \_ \+ hint\+ \_ \+ isr (\begin { DoxyParamCaption} { } \end { DoxyParamCaption} )\hspace { 0.3cm} { \ttfamily [inline]} , { \ttfamily [static]} }
Used to call private \doxylink { class_ b_ n_ o08x_ aa27026da2c52b4aca49b78863f10ec61} { BNO08x\+ ::init\+ \_ \+ hint\+ \_ \+ isr()} member for tests.
\begin { DoxyReturn} { Returns}
ESP\+ \_ \+ \+ OK if init 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_ test_ helper_ a836c928981ac85d34668c9b97af17a15_ 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_ test_ helper_ a836c928981ac85d34668c9b97af17a15_ icgraph}
\end { center}
\end { figure}
\Hypertarget { class_ b_ n_ o08x_ test_ helper_ a854c60f602fe6d9af1da1a07eee0a449} \label { class_ b_ n_ o08x_ test_ helper_ a854c60f602fe6d9af1da1a07eee0a449}
\index { BNO08xTestHelper@{ BNO08xTestHelper} !call\_ init\_ sh2\_ HAL@{ call\_ init\_ sh2\_ HAL} }
\index { call\_ init\_ sh2\_ HAL@{ call\_ init\_ sh2\_ HAL} !BNO08xTestHelper@{ BNO08xTestHelper} }
\doxysubsubsection { \texorpdfstring { call\_ init\_ sh2\_ HAL()} { call\_ init\_ sh2\_ HAL()} }
{ \footnotesize \ttfamily static esp\+ \_ \+ err\+ \_ \+ t BNO08x\+ Test\+ Helper\+ ::call\+ \_ \+ init\+ \_ \+ sh2\+ \_ \+ \+ HAL (\begin { DoxyParamCaption} { } \end { DoxyParamCaption} )\hspace { 0.3cm} { \ttfamily [inline]} , { \ttfamily [static]} }
Used to call private \doxylink { class_ b_ n_ o08x_ a90d959312e6f7f8151b8a38218492ead} { BNO08x\+ ::init\+ \_ \+ tasks()} member for tests.
\begin { DoxyReturn} { Returns}
ESP\+ \_ \+ \+ OK if init 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_ test_ helper_ a854c60f602fe6d9af1da1a07eee0a449_ 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_ test_ helper_ a854c60f602fe6d9af1da1a07eee0a449_ icgraph}
\end { center}
\end { figure}
\Hypertarget { class_ b_ n_ o08x_ test_ helper_ a7d2d784da1e850dab41154b35d7cdab5} \label { class_ b_ n_ o08x_ test_ helper_ a7d2d784da1e850dab41154b35d7cdab5}
\index { BNO08xTestHelper@{ BNO08xTestHelper} !call\_ init\_ spi@{ call\_ init\_ spi} }
\index { call\_ init\_ spi@{ call\_ init\_ spi} !BNO08xTestHelper@{ BNO08xTestHelper} }
\doxysubsubsection { \texorpdfstring { call\_ init\_ spi()} { call\_ init\_ spi()} }
{ \footnotesize \ttfamily static esp\+ \_ \+ err\+ \_ \+ t BNO08x\+ Test\+ Helper\+ ::call\+ \_ \+ init\+ \_ \+ spi (\begin { DoxyParamCaption} { } \end { DoxyParamCaption} )\hspace { 0.3cm} { \ttfamily [inline]} , { \ttfamily [static]} }
Used to call private \doxylink { class_ b_ n_ o08x_ a58f43c8bb1e7fe8560ce442d46240e81} { BNO08x\+ ::init\+ \_ \+ spi()} member for tests.
\begin { DoxyReturn} { Returns}
ESP\+ \_ \+ \+ OK if init succeeded.
\end { DoxyReturn}
Here is the call graph for this function\+ :
\nopagebreak
\begin { figure} [H]
\begin { center}
\leavevmode
\includegraphics [width=326pt] { class_ b_ n_ o08x_ test_ helper_ a7d2d784da1e850dab41154b35d7cdab5_ 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_ test_ helper_ a7d2d784da1e850dab41154b35d7cdab5_ icgraph}
\end { center}
\end { figure}
\Hypertarget { class_ b_ n_ o08x_ test_ helper_ a935a69784981caf90b4e135e3e257db4} \label { class_ b_ n_ o08x_ test_ helper_ a935a69784981caf90b4e135e3e257db4}
\index { BNO08xTestHelper@{ BNO08xTestHelper} !call\_ init\_ tasks@{ call\_ init\_ tasks} }
\index { call\_ init\_ tasks@{ call\_ init\_ tasks} !BNO08xTestHelper@{ BNO08xTestHelper} }
\doxysubsubsection { \texorpdfstring { call\_ init\_ tasks()} { call\_ init\_ tasks()} }
{ \footnotesize \ttfamily static esp\+ \_ \+ err\+ \_ \+ t BNO08x\+ Test\+ Helper\+ ::call\+ \_ \+ init\+ \_ \+ tasks (\begin { DoxyParamCaption} { } \end { DoxyParamCaption} )\hspace { 0.3cm} { \ttfamily [inline]} , { \ttfamily [static]} }
Used to call private \doxylink { class_ b_ n_ o08x_ a90d959312e6f7f8151b8a38218492ead} { BNO08x\+ ::init\+ \_ \+ tasks()} member for tests.
\begin { DoxyReturn} { Returns}
ESP\+ \_ \+ \+ OK if init 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_ test_ helper_ a935a69784981caf90b4e135e3e257db4_ 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_ test_ helper_ a935a69784981caf90b4e135e3e257db4_ icgraph}
\end { center}
\end { figure}
\Hypertarget { class_ b_ n_ o08x_ test_ helper_ a6bd040c7d670a9713f2ab8a8a3913518} \label { class_ b_ n_ o08x_ test_ helper_ a6bd040c7d670a9713f2ab8a8a3913518}
\index { BNO08xTestHelper@{ BNO08xTestHelper} !create\_ test\_ imu@{ create\_ test\_ imu} }
\index { create\_ test\_ imu@{ create\_ test\_ imu} !BNO08xTestHelper@{ BNO08xTestHelper} }
\doxysubsubsection { \texorpdfstring { create\_ test\_ imu()} { create\_ test\_ imu()} }
{ \footnotesize \ttfamily static void BNO08x\+ Test\+ Helper\+ ::create\+ \_ \+ test\+ \_ \+ imu (\begin { DoxyParamCaption} { } \end { DoxyParamCaption} )\hspace { 0.3cm} { \ttfamily [inline]} , { \ttfamily [static]} }
Calls \doxylink { class_ b_ n_ o08x} { BNO08x} constructor and creates new test IMU on heap.
\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_ test_ helper_ a6bd040c7d670a9713f2ab8a8a3913518_ cgraph}
\end { center}
\end { figure}
Here is the caller graph for this function\+ :
\nopagebreak
\begin { figure} [H]
\begin { center}
\leavevmode
\includegraphics [width=321pt] { class_ b_ n_ o08x_ test_ helper_ a6bd040c7d670a9713f2ab8a8a3913518_ icgraph}
\end { center}
\end { figure}
\Hypertarget { class_ b_ n_ o08x_ test_ helper_ ae2d6df7dcfdbd106c2247803461bbc40} \label { class_ b_ n_ o08x_ test_ helper_ ae2d6df7dcfdbd106c2247803461bbc40}
\index { BNO08xTestHelper@{ BNO08xTestHelper} !destroy\_ test\_ imu@{ destroy\_ test\_ imu} }
\index { destroy\_ test\_ imu@{ destroy\_ test\_ imu} !BNO08xTestHelper@{ BNO08xTestHelper} }
\doxysubsubsection { \texorpdfstring { destroy\_ test\_ imu()} { destroy\_ test\_ imu()} }
{ \footnotesize \ttfamily static void BNO08x\+ Test\+ Helper\+ ::destroy\+ \_ \+ test\+ \_ \+ imu (\begin { DoxyParamCaption} { } \end { DoxyParamCaption} )\hspace { 0.3cm} { \ttfamily [inline]} , { \ttfamily [static]} }
Deletes test IMU calling deconstructor and releases heap allocated memory.
\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_ test_ helper_ ae2d6df7dcfdbd106c2247803461bbc40_ icgraph}
\end { center}
\end { figure}
\Hypertarget { class_ b_ n_ o08x_ test_ helper_ a41a432a3fe288e45b6ab139a00bd7d6b} \label { class_ b_ n_ o08x_ test_ helper_ a41a432a3fe288e45b6ab139a00bd7d6b}
\index { BNO08xTestHelper@{ BNO08xTestHelper} !get\_ test\_ imu@{ get\_ test\_ imu} }
\index { get\_ test\_ imu@{ get\_ test\_ imu} !BNO08xTestHelper@{ BNO08xTestHelper} }
\doxysubsubsection { \texorpdfstring { get\_ test\_ imu()} { get\_ test\_ imu()} }
{ \footnotesize \ttfamily static \mbox { \hyperlink { class_ b_ n_ o08x} { BNO08x} } \texorpdfstring { $ \ast $ } { *} BNO08x\+ Test\+ Helper\+ ::get\+ \_ \+ test\+ \_ \+ imu (\begin { DoxyParamCaption} { } \end { DoxyParamCaption} )\hspace { 0.3cm} { \ttfamily [inline]} , { \ttfamily [static]} }
Deletes test IMU calling deconstructor and releases heap allocated memory.
\begin { DoxyReturn} { Returns}
Pointer to \doxylink { class_ b_ n_ o08x} { BNO08x} IMU object to test.
\end { DoxyReturn}
Here is the caller graph for this function\+ :
\nopagebreak
\begin { figure} [H]
\begin { center}
\leavevmode
\includegraphics [height=550pt] { class_ b_ n_ o08x_ test_ helper_ a41a432a3fe288e45b6ab139a00bd7d6b_ icgraph}
\end { center}
\end { figure}
\Hypertarget { class_ b_ n_ o08x_ test_ helper_ a16423fc3250e88eb5392800022f82919} \label { class_ b_ n_ o08x_ test_ helper_ a16423fc3250e88eb5392800022f82919}
\index { BNO08xTestHelper@{ BNO08xTestHelper} !print\_ test\_ end\_ banner@{ print\_ test\_ end\_ banner} }
\index { print\_ test\_ end\_ banner@{ print\_ test\_ end\_ banner} !BNO08xTestHelper@{ BNO08xTestHelper} }
\doxysubsubsection { \texorpdfstring { print\_ test\_ end\_ banner()} { print\_ test\_ end\_ banner()} }
{ \footnotesize \ttfamily static void BNO08x\+ Test\+ Helper\+ ::print\+ \_ \+ test\+ \_ \+ end\+ \_ \+ banner (\begin { DoxyParamCaption} \item [{const char \texorpdfstring{$\ast$}{*}}] { TEST\+ \_ \+ \+ TAG } \end { DoxyParamCaption} )\hspace { 0.3cm} { \ttfamily [inline]} , { \ttfamily [static]} }
Prints end begin banner.
\begin { DoxyParams} { Parameters}
{ \em TEST\+ \_ \+ \+ TAG} & String containing test name.\\
\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 [height=550pt] { class_ b_ n_ o08x_ test_ helper_ a16423fc3250e88eb5392800022f82919_ icgraph}
\end { center}
\end { figure}
\Hypertarget { class_ b_ n_ o08x_ test_ helper_ a23593453a05f7cac26fd341371197a8c} \label { class_ b_ n_ o08x_ test_ helper_ a23593453a05f7cac26fd341371197a8c}
\index { BNO08xTestHelper@{ BNO08xTestHelper} !print\_ test\_ msg@{ print\_ test\_ msg} }
\index { print\_ test\_ msg@{ print\_ test\_ msg} !BNO08xTestHelper@{ BNO08xTestHelper} }
\doxysubsubsection { \texorpdfstring { print\_ test\_ msg()} { print\_ test\_ msg()} }
{ \footnotesize \ttfamily static void BNO08x\+ Test\+ Helper\+ ::print\+ \_ \+ test\+ \_ \+ msg (\begin { DoxyParamCaption} \item [{const char \texorpdfstring{$\ast$}{*}}] { TEST\+ \_ \+ \+ TAG, } \item [{const char \texorpdfstring{$\ast$}{*}}] { msg } \end { DoxyParamCaption} )\hspace { 0.3cm} { \ttfamily [inline]} , { \ttfamily [static]} }
Prints a message during a test.
\begin { DoxyParams} { Parameters}
{ \em TEST\+ \_ \+ \+ TAG} & String containing test name. \\
\hline
{ \em msg} & String containing message to print.\\
\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 [height=550pt] { class_ b_ n_ o08x_ test_ helper_ a23593453a05f7cac26fd341371197a8c_ icgraph}
\end { center}
\end { figure}
\Hypertarget { class_ b_ n_ o08x_ test_ helper_ a066f8389fd1c682ec9565ebc3060d885} \label { class_ b_ n_ o08x_ test_ helper_ a066f8389fd1c682ec9565ebc3060d885}
\index { BNO08xTestHelper@{ BNO08xTestHelper} !print\_ test\_ start\_ banner@{ print\_ test\_ start\_ banner} }
\index { print\_ test\_ start\_ banner@{ print\_ test\_ start\_ banner} !BNO08xTestHelper@{ BNO08xTestHelper} }
\doxysubsubsection { \texorpdfstring { print\_ test\_ start\_ banner()} { print\_ test\_ start\_ banner()} }
{ \footnotesize \ttfamily static void BNO08x\+ Test\+ Helper\+ ::print\+ \_ \+ test\+ \_ \+ start\+ \_ \+ banner (\begin { DoxyParamCaption} \item [{const char \texorpdfstring{$\ast$}{*}}] { TEST\+ \_ \+ \+ TAG } \end { DoxyParamCaption} )\hspace { 0.3cm} { \ttfamily [inline]} , { \ttfamily [static]} }
Prints test begin banner.
\begin { DoxyParams} { Parameters}
{ \em TEST\+ \_ \+ \+ TAG} & String containing test name.\\
\hline
\end { DoxyParams}
\begin { DoxyReturn} { Returns}
void, nothing to return
\end { DoxyReturn}
\Hypertarget { class_ b_ n_ o08x_ test_ helper_ a9e2f9bf13f28f1a6ba87e86bc5947cf1} \label { class_ b_ n_ o08x_ test_ helper_ a9e2f9bf13f28f1a6ba87e86bc5947cf1}
\index { BNO08xTestHelper@{ BNO08xTestHelper} !set\_ test\_ imu\_ cfg@{ set\_ test\_ imu\_ cfg} }
\index { set\_ test\_ imu\_ cfg@{ set\_ test\_ imu\_ cfg} !BNO08xTestHelper@{ BNO08xTestHelper} }
\doxysubsubsection { \texorpdfstring { set\_ test\_ imu\_ cfg()} { set\_ test\_ imu\_ cfg()} }
{ \footnotesize \ttfamily static void BNO08x\+ Test\+ Helper\+ ::set\+ \_ \+ test\+ \_ \+ imu\+ \_ \+ cfg (\begin { DoxyParamCaption} \item [{\mbox{\hyperlink{structbno08x__config__t}{bno08x\+\_\+config\+\_\+t}}}] { cfg } \end { DoxyParamCaption} )\hspace { 0.3cm} { \ttfamily [inline]} , { \ttfamily [static]} }
Set test imu configuration used with \doxylink { class_ b_ n_ o08x_ test_ helper_ a6bd040c7d670a9713f2ab8a8a3913518} { create\+ \_ \+ test\+ \_ \+ imu()}
\begin { DoxyParams} { Parameters}
{ \em cfg} & String containing test name.\\
\hline
\end { DoxyParams}
\begin { DoxyReturn} { Returns}
void, nothing to return
\end { DoxyReturn}
\doxysubsection { Member Data Documentation}
\Hypertarget { class_ b_ n_ o08x_ test_ helper_ a008b268f705b9d2925230cb8193c9f28} \label { class_ b_ n_ o08x_ test_ helper_ a008b268f705b9d2925230cb8193c9f28}
\index { BNO08xTestHelper@{ BNO08xTestHelper} !imu\_ cfg@{ imu\_ cfg} }
\index { imu\_ cfg@{ imu\_ cfg} !BNO08xTestHelper@{ BNO08xTestHelper} }
\doxysubsubsection { \texorpdfstring { imu\_ cfg} { imu\_ cfg} }
{ \footnotesize \ttfamily \mbox { \hyperlink { structbno08x_ _ config_ _ t} { bno08x\+ \_ \+ config\+ \_ \+ t} } BNO08x\+ Test\+ Helper\+ ::imu\+ \_ \+ cfg\hspace { 0.3cm} { \ttfamily [inline]} , { \ttfamily [static]} , { \ttfamily [private]} }
\Hypertarget { class_ b_ n_ o08x_ test_ helper_ aa09d388a5da3a925ac25125b9c5c3a90} \label { class_ b_ n_ o08x_ test_ helper_ aa09d388a5da3a925ac25125b9c5c3a90}
\index { BNO08xTestHelper@{ BNO08xTestHelper} !TAG@{ TAG} }
\index { TAG@{ TAG} !BNO08xTestHelper@{ BNO08xTestHelper} }
\doxysubsubsection { \texorpdfstring { TAG} { TAG} }
{ \footnotesize \ttfamily const constexpr char\texorpdfstring { $ \ast $ } { *} BNO08x\+ Test\+ Helper\+ ::\+ TAG = "{ } BNO08x\+ Test\+ Helper"{ } \hspace { 0.3cm} { \ttfamily [static]} , { \ttfamily [constexpr]} , { \ttfamily [private]} }
\Hypertarget { class_ b_ n_ o08x_ test_ helper_ a2da34e5d5e353cd37fa458fcfe7cf243} \label { class_ b_ n_ o08x_ test_ helper_ a2da34e5d5e353cd37fa458fcfe7cf243}
\index { BNO08xTestHelper@{ BNO08xTestHelper} !test\_ imu@{ test\_ imu} }
\index { test\_ imu@{ test\_ imu} !BNO08xTestHelper@{ BNO08xTestHelper} }
\doxysubsubsection { \texorpdfstring { test\_ imu} { test\_ imu} }
{ \footnotesize \ttfamily \mbox { \hyperlink { class_ b_ n_ o08x} { BNO08x} } \texorpdfstring { $ \ast $ } { *} BNO08x\+ Test\+ Helper\+ ::test\+ \_ \+ imu = nullptr\hspace { 0.3cm} { \ttfamily [inline]} , { \ttfamily [static]} , { \ttfamily [private]} }
The documentation for this class was generated from the following file\+ :\begin { DoxyCompactItemize}
\item
2024-12-27 02:02:09 +00:00
include/\mbox { \hyperlink { _ b_ n_ o08x_ test_ helper_ 8hpp} { BNO08x\+ Test\+ Helper.\+ hpp} } \end { DoxyCompactItemize}