\doxysection{examples/test2/test2.ino File Reference}
\hypertarget{test2_8ino}{}\label{test2_8ino}\index{examples/test2/test2.ino@{examples/test2/test2.ino}}


Extended accelerometer DLPF, full-\/scale, and averaging sweep.  


{\ttfamily \#include $<$Wire.\+h$>$}\newline
{\ttfamily \#include $<$Dev\+Lab\+\_\+\+ICM20948.\+h$>$}\newline
Include dependency graph for test2.\+ino\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{test2_8ino__incl}
\end{center}
\end{figure}
\doxysubsubsection*{Classes}
\begin{DoxyCompactItemize}
\item 
struct \mbox{\hyperlink{structconfigDLPF}{config\+DLPF}}
\begin{DoxyCompactList}\small\item\em Gyroscope DLPF divider and timing configuration. \end{DoxyCompactList}\end{DoxyCompactItemize}
\doxysubsubsection*{Macros}
\begin{DoxyCompactItemize}
\item 
\#define \mbox{\hyperlink{test2_8ino_a526d580d324bce60a3e964066fae77e3}{SDA\+\_\+\+PIN}}~6
\begin{DoxyCompactList}\small\item\em I2C SDA pin used by the example board. \end{DoxyCompactList}\item 
\#define \mbox{\hyperlink{test2_8ino_a06c967e78bcedcee909a70764f879433}{SCL\+\_\+\+PIN}}~7
\begin{DoxyCompactList}\small\item\em I2C SCL pin used by the example board. \end{DoxyCompactList}\item 
\#define \mbox{\hyperlink{test2_8ino_a8b7500a141450a9df212017430c0df9e}{I2\+C\+\_\+\+FREQ}}~400000\+UL
\begin{DoxyCompactList}\small\item\em I2C bus speed in hertz. \end{DoxyCompactList}\item 
\#define \mbox{\hyperlink{test2_8ino_a8fb98755bd25ab9d5bf8739e15df6eeb}{ICM\+\_\+\+ADDR}}~0x69
\begin{DoxyCompactList}\small\item\em ICM-\/20948 I2C address selected by the AD0 pin. \end{DoxyCompactList}\end{DoxyCompactItemize}
\doxysubsubsection*{Functions}
\begin{DoxyCompactItemize}
\item 
void \mbox{\hyperlink{test2_8ino_a8765c1cf679c82cf73a0a13af44b983b}{print\+Linea}} ()
\begin{DoxyCompactList}\small\item\em Print a separator line to Serial. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{test2_8ino_a42633dcf8fe2689c57c8113825f74c66}{print\+Doble\+Linea}} ()
\begin{DoxyCompactList}\small\item\em Print a double separator line to Serial. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{test2_8ino_a1cf9f29034d9373db6498335da3d661c}{first\+Stage}} ()
\begin{DoxyCompactList}\small\item\em Verify the IMU identity register. \end{DoxyCompactList}\item 
bool \mbox{\hyperlink{test2_8ino_a73c1d2766fc4db839bb9adf5cab93c80}{apply\+Settings}} (uint8\+\_\+t fs\+\_\+idx, const \mbox{\hyperlink{structconfigDLPF}{config\+DLPF}} \&cfg, uint8\+\_\+t avg)
\begin{DoxyCompactList}\small\item\em Apply one accelerometer full-\/scale, DLPF, and averaging configuration. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{test2_8ino_a59a0400232b9ffe7d4395b166f74593a}{run\+Sweep}} ()
\begin{DoxyCompactList}\small\item\em Run the full accelerometer validation matrix and print samples. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{test2_8ino_a4fc01d736fe50cf5b977f755b675f11d}{setup}} ()
\begin{DoxyCompactList}\small\item\em Initialize I2C, reset/wake the IMU, enable sensors, and start sweep. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{test2_8ino_afe461d27b9c48d5921c00d521181f12f}{loop}} ()
\begin{DoxyCompactList}\small\item\em Optional post-\/sweep loop for manual accelerometer reads. \end{DoxyCompactList}\end{DoxyCompactItemize}
\doxysubsubsection*{Variables}
\begin{DoxyCompactItemize}
\item 
const \mbox{\hyperlink{structconfigDLPF}{config\+DLPF}} \mbox{\hyperlink{test2_8ino_a9ef8fe0f793376a22cc3d83386c3b86a}{configs\+DLPF}} \mbox{[}$\,$\mbox{]}
\begin{DoxyCompactList}\small\item\em Accelerometer DLPF configurations exercised by this sweep. \end{DoxyCompactList}\item 
const uint8\+\_\+t \mbox{\hyperlink{test2_8ino_a7a9c77b04f25920366c8b7b1e13d4854}{N\+\_\+\+DLPF}} = sizeof(\mbox{\hyperlink{gyr__test_8ino_a9ef8fe0f793376a22cc3d83386c3b86a}{configs\+DLPF}}) / sizeof(\mbox{\hyperlink{gyr__test_8ino_a9ef8fe0f793376a22cc3d83386c3b86a}{configs\+DLPF}}\mbox{[}0\mbox{]})
\begin{DoxyCompactList}\small\item\em Number of accelerometer DLPF configurations. \end{DoxyCompactList}\item 
const \mbox{\hyperlink{DevLab__ICM20948_8h_a7d56bdd11158e2d05da5c9317fadee05}{ICM20948\+\_\+\+Accel\+\_\+\+Full\+Scale}} \mbox{\hyperlink{test2_8ino_afba242a959acc49646be317c43c4bc51}{accel\+Cfg}} \mbox{[}$\,$\mbox{]}
\begin{DoxyCompactList}\small\item\em Accelerometer full-\/scale ranges exercised by the sweep. \end{DoxyCompactList}\item 
const char \texorpdfstring{$\ast$}{*} \mbox{\hyperlink{test2_8ino_a14ebfda2dc5c37c8a8080f828f9fecf8}{etiquetas\+Accel\+Cfg}} \mbox{[}$\,$\mbox{]} = \{ "{}+-\/2G"{},"{}+-\/4G"{},"{}+-\/8G"{},"{}+-\/16G"{} \}
\begin{DoxyCompactList}\small\item\em Text labels matching accel\+Cfg. \end{DoxyCompactList}\item 
const uint8\+\_\+t \mbox{\hyperlink{test2_8ino_a6e9ca5bda437536b80c2d5b592629088}{N\+\_\+\+FS}} = 4
\begin{DoxyCompactList}\small\item\em Number of accelerometer full-\/scale ranges. \end{DoxyCompactList}\item 
const \mbox{\hyperlink{DevLab__ICM20948_8h_a62506f4660c8cca0e4f2d55cc6cea833}{ICM20948\+\_\+\+Accel\+\_\+\+DLPFCFG}} \mbox{\hyperlink{test2_8ino_a1aaf273f25b97fc05866f455e73b7ba9}{accel\+DLPF}} \mbox{[}$\,$\mbox{]}
\begin{DoxyCompactList}\small\item\em Accelerometer DLPF enum values matching configs\+DLPF. \end{DoxyCompactList}\item 
const \mbox{\hyperlink{DevLab__ICM20948_8h_a792c56c75cabcab23c273bd9a48aefa9}{ICM20948\+\_\+\+Accel\+\_\+\+Average}} \mbox{\hyperlink{test2_8ino_a44172cfd2be3fc4ff6f7b1fb343d2ec4}{accel\+AVG}} \mbox{[}$\,$\mbox{]}
\begin{DoxyCompactList}\small\item\em Accelerometer averaging settings exercised by the sweep. \end{DoxyCompactList}\item 
const char \texorpdfstring{$\ast$}{*} \mbox{\hyperlink{test2_8ino_a1e7d1f7dded2d3dfeb778c3cfcc91dea}{etiquetas\+Accel\+AVG}} \mbox{[}$\,$\mbox{]} = \{ "{}14"{},"{}8"{},"{}16"{},"{}32"{} \}
\begin{DoxyCompactList}\small\item\em Text labels matching accel\+AVG. \end{DoxyCompactList}\item 
const uint8\+\_\+t \mbox{\hyperlink{test2_8ino_a0d5bdf34da5950970f04fcb4d629a48a}{N\+\_\+\+AVG}} = 4
\begin{DoxyCompactList}\small\item\em Number of accelerometer averaging settings. \end{DoxyCompactList}\item 
const uint16\+\_\+t \mbox{\hyperlink{test2_8ino_afa2564ef9650479c8ec39b52d193fbbd}{accel\+SR}} \mbox{[}$\,$\mbox{]}
\begin{DoxyCompactList}\small\item\em Raw accelerometer sample-\/rate divider values for experiments. \end{DoxyCompactList}\item 
const char \texorpdfstring{$\ast$}{*} \mbox{\hyperlink{test2_8ino_aab3a263352ee1fbbca9fe5acf2cd19eb}{etiquetas\+SR}} \mbox{[}$\,$\mbox{]}
\begin{DoxyCompactList}\small\item\em Text labels matching accel\+SR output data rates. \end{DoxyCompactList}\item 
\mbox{\hyperlink{classDevLab__ICM20948}{Dev\+Lab\+\_\+\+ICM20948}} \mbox{\hyperlink{test2_8ino_aa8226278adaa3f7fb2ad8b966f7787a1}{imu}}
\begin{DoxyCompactList}\small\item\em Global ICM-\/20948 driver instance. \end{DoxyCompactList}\item 
uint8\+\_\+t \mbox{\hyperlink{test2_8ino_ac52922d562439e55245447f152baaf1b}{total\+\_\+pass}} = 0
\begin{DoxyCompactList}\small\item\em Count of validation passes reserved for future checks. \end{DoxyCompactList}\item 
uint8\+\_\+t \mbox{\hyperlink{test2_8ino_a1bf762e03a9be2534f36ec8a2611c341}{total\+\_\+fail}} = 0
\begin{DoxyCompactList}\small\item\em Count of validation failures reserved for future checks. \end{DoxyCompactList}\item 
uint8\+\_\+t \mbox{\hyperlink{test2_8ino_ae452872d489cfa87ffe02f8cf8718a43}{total\+\_\+warn}} = 0
\begin{DoxyCompactList}\small\item\em Count of validation warnings reserved for future checks. \end{DoxyCompactList}\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
Extended accelerometer DLPF, full-\/scale, and averaging sweep. 

\begin{DoxyAuthor}{Author}
Jonathan Mejorado Lopez
\end{DoxyAuthor}
Runs a larger I2C validation matrix for the Dev\+Lab ICM-\/20948 accelerometer and prints CSV-\/like samples for later analysis. 

Definition in file \mbox{\hyperlink{test2_8ino_source}{test2.\+ino}}.



\doxysubsection{Macro Definition Documentation}
\Hypertarget{test2_8ino_a8b7500a141450a9df212017430c0df9e}\label{test2_8ino_a8b7500a141450a9df212017430c0df9e} 
\index{test2.ino@{test2.ino}!I2C\_FREQ@{I2C\_FREQ}}
\index{I2C\_FREQ@{I2C\_FREQ}!test2.ino@{test2.ino}}
\doxysubsubsection{\texorpdfstring{I2C\_FREQ}{I2C\_FREQ}}
{\footnotesize\ttfamily \#define I2\+C\+\_\+\+FREQ~400000\+UL}



I2C bus speed in hertz. 



Definition at line \mbox{\hyperlink{test2_8ino_source_l00020}{20}} of file \mbox{\hyperlink{test2_8ino_source}{test2.\+ino}}.

\Hypertarget{test2_8ino_a8fb98755bd25ab9d5bf8739e15df6eeb}\label{test2_8ino_a8fb98755bd25ab9d5bf8739e15df6eeb} 
\index{test2.ino@{test2.ino}!ICM\_ADDR@{ICM\_ADDR}}
\index{ICM\_ADDR@{ICM\_ADDR}!test2.ino@{test2.ino}}
\doxysubsubsection{\texorpdfstring{ICM\_ADDR}{ICM\_ADDR}}
{\footnotesize\ttfamily \#define ICM\+\_\+\+ADDR~0x69}



ICM-\/20948 I2C address selected by the AD0 pin. 



Definition at line \mbox{\hyperlink{test2_8ino_source_l00022}{22}} of file \mbox{\hyperlink{test2_8ino_source}{test2.\+ino}}.

\Hypertarget{test2_8ino_a06c967e78bcedcee909a70764f879433}\label{test2_8ino_a06c967e78bcedcee909a70764f879433} 
\index{test2.ino@{test2.ino}!SCL\_PIN@{SCL\_PIN}}
\index{SCL\_PIN@{SCL\_PIN}!test2.ino@{test2.ino}}
\doxysubsubsection{\texorpdfstring{SCL\_PIN}{SCL\_PIN}}
{\footnotesize\ttfamily \#define SCL\+\_\+\+PIN~7}



I2C SCL pin used by the example board. 



Definition at line \mbox{\hyperlink{test2_8ino_source_l00018}{18}} of file \mbox{\hyperlink{test2_8ino_source}{test2.\+ino}}.

\Hypertarget{test2_8ino_a526d580d324bce60a3e964066fae77e3}\label{test2_8ino_a526d580d324bce60a3e964066fae77e3} 
\index{test2.ino@{test2.ino}!SDA\_PIN@{SDA\_PIN}}
\index{SDA\_PIN@{SDA\_PIN}!test2.ino@{test2.ino}}
\doxysubsubsection{\texorpdfstring{SDA\_PIN}{SDA\_PIN}}
{\footnotesize\ttfamily \#define SDA\+\_\+\+PIN~6}



I2C SDA pin used by the example board. 



Definition at line \mbox{\hyperlink{test2_8ino_source_l00016}{16}} of file \mbox{\hyperlink{test2_8ino_source}{test2.\+ino}}.



\doxysubsection{Function Documentation}
\Hypertarget{test2_8ino_a73c1d2766fc4db839bb9adf5cab93c80}\label{test2_8ino_a73c1d2766fc4db839bb9adf5cab93c80} 
\index{test2.ino@{test2.ino}!applySettings@{applySettings}}
\index{applySettings@{applySettings}!test2.ino@{test2.ino}}
\doxysubsubsection{\texorpdfstring{applySettings()}{applySettings()}}
{\footnotesize\ttfamily bool apply\+Settings (\begin{DoxyParamCaption}\item[{uint8\+\_\+t}]{fs\+\_\+idx,  }\item[{const \mbox{\hyperlink{structconfigDLPF}{config\+DLPF}} \&}]{cfg,  }\item[{uint8\+\_\+t}]{avg }\end{DoxyParamCaption})}



Apply one accelerometer full-\/scale, DLPF, and averaging configuration. 


\begin{DoxyParams}{Parameters}
{\em fs\+\_\+idx} & Index into accel\+Cfg. \\
\hline
{\em cfg} & DLPF timing and divider configuration. \\
\hline
{\em avg} & Index into accel\+AVG. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
true if all configuration writes succeeded, otherwise false. 
\end{DoxyReturn}


Definition at line \mbox{\hyperlink{test2_8ino_source_l00150}{150}} of file \mbox{\hyperlink{test2_8ino_source}{test2.\+ino}}.

Here is the call graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{test2_8ino_a73c1d2766fc4db839bb9adf5cab93c80_cgraph}
\end{center}
\end{figure}
\Hypertarget{test2_8ino_a1cf9f29034d9373db6498335da3d661c}\label{test2_8ino_a1cf9f29034d9373db6498335da3d661c} 
\index{test2.ino@{test2.ino}!firstStage@{firstStage}}
\index{firstStage@{firstStage}!test2.ino@{test2.ino}}
\doxysubsubsection{\texorpdfstring{firstStage()}{firstStage()}}
{\footnotesize\ttfamily void first\+Stage (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}



Verify the IMU identity register. 



Definition at line \mbox{\hyperlink{test2_8ino_source_l00124}{124}} of file \mbox{\hyperlink{test2_8ino_source}{test2.\+ino}}.

Here is the call graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{test2_8ino_a1cf9f29034d9373db6498335da3d661c_cgraph}
\end{center}
\end{figure}
Here is the caller graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=223pt]{test2_8ino_a1cf9f29034d9373db6498335da3d661c_icgraph}
\end{center}
\end{figure}
\Hypertarget{test2_8ino_afe461d27b9c48d5921c00d521181f12f}\label{test2_8ino_afe461d27b9c48d5921c00d521181f12f} 
\index{test2.ino@{test2.ino}!loop@{loop}}
\index{loop@{loop}!test2.ino@{test2.ino}}
\doxysubsubsection{\texorpdfstring{loop()}{loop()}}
{\footnotesize\ttfamily void loop (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}



Optional post-\/sweep loop for manual accelerometer reads. 



Definition at line \mbox{\hyperlink{test2_8ino_source_l00299}{299}} of file \mbox{\hyperlink{test2_8ino_source}{test2.\+ino}}.

\Hypertarget{test2_8ino_a42633dcf8fe2689c57c8113825f74c66}\label{test2_8ino_a42633dcf8fe2689c57c8113825f74c66} 
\index{test2.ino@{test2.ino}!printDobleLinea@{printDobleLinea}}
\index{printDobleLinea@{printDobleLinea}!test2.ino@{test2.ino}}
\doxysubsubsection{\texorpdfstring{printDobleLinea()}{printDobleLinea()}}
{\footnotesize\ttfamily void print\+Doble\+Linea (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}



Print a double separator line to Serial. 



Definition at line \mbox{\hyperlink{test2_8ino_source_l00117}{117}} of file \mbox{\hyperlink{test2_8ino_source}{test2.\+ino}}.

Here is the caller graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{test2_8ino_a42633dcf8fe2689c57c8113825f74c66_icgraph}
\end{center}
\end{figure}
\Hypertarget{test2_8ino_a8765c1cf679c82cf73a0a13af44b983b}\label{test2_8ino_a8765c1cf679c82cf73a0a13af44b983b} 
\index{test2.ino@{test2.ino}!printLinea@{printLinea}}
\index{printLinea@{printLinea}!test2.ino@{test2.ino}}
\doxysubsubsection{\texorpdfstring{printLinea()}{printLinea()}}
{\footnotesize\ttfamily void print\+Linea (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}



Print a separator line to Serial. 



Definition at line \mbox{\hyperlink{test2_8ino_source_l00115}{115}} of file \mbox{\hyperlink{test2_8ino_source}{test2.\+ino}}.

\Hypertarget{test2_8ino_a59a0400232b9ffe7d4395b166f74593a}\label{test2_8ino_a59a0400232b9ffe7d4395b166f74593a} 
\index{test2.ino@{test2.ino}!runSweep@{runSweep}}
\index{runSweep@{runSweep}!test2.ino@{test2.ino}}
\doxysubsubsection{\texorpdfstring{runSweep()}{runSweep()}}
{\footnotesize\ttfamily void run\+Sweep (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}



Run the full accelerometer validation matrix and print samples. 



Definition at line \mbox{\hyperlink{test2_8ino_source_l00184}{184}} of file \mbox{\hyperlink{test2_8ino_source}{test2.\+ino}}.

Here is the call graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{test2_8ino_a59a0400232b9ffe7d4395b166f74593a_cgraph}
\end{center}
\end{figure}
Here is the caller graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=225pt]{test2_8ino_a59a0400232b9ffe7d4395b166f74593a_icgraph}
\end{center}
\end{figure}
\Hypertarget{test2_8ino_a4fc01d736fe50cf5b977f755b675f11d}\label{test2_8ino_a4fc01d736fe50cf5b977f755b675f11d} 
\index{test2.ino@{test2.ino}!setup@{setup}}
\index{setup@{setup}!test2.ino@{test2.ino}}
\doxysubsubsection{\texorpdfstring{setup()}{setup()}}
{\footnotesize\ttfamily void setup (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}



Initialize I2C, reset/wake the IMU, enable sensors, and start sweep. 



Definition at line \mbox{\hyperlink{test2_8ino_source_l00251}{251}} of file \mbox{\hyperlink{test2_8ino_source}{test2.\+ino}}.

Here is the call graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{test2_8ino_a4fc01d736fe50cf5b977f755b675f11d_cgraph}
\end{center}
\end{figure}


\doxysubsection{Variable Documentation}
\Hypertarget{test2_8ino_a44172cfd2be3fc4ff6f7b1fb343d2ec4}\label{test2_8ino_a44172cfd2be3fc4ff6f7b1fb343d2ec4} 
\index{test2.ino@{test2.ino}!accelAVG@{accelAVG}}
\index{accelAVG@{accelAVG}!test2.ino@{test2.ino}}
\doxysubsubsection{\texorpdfstring{accelAVG}{accelAVG}}
{\footnotesize\ttfamily const \mbox{\hyperlink{DevLab__ICM20948_8h_a792c56c75cabcab23c273bd9a48aefa9}{ICM20948\+\_\+\+Accel\+\_\+\+Average}} accel\+AVG\mbox{[}$\,$\mbox{]}}

{\bfseries Initial value\+:}
\begin{DoxyCode}{0}
\DoxyCodeLine{=\ \{}
\DoxyCodeLine{\ \ \mbox{\hyperlink{DevLab__ICM20948_8h_a792c56c75cabcab23c273bd9a48aefa9aebd0ae3f26f35e0266d46e0b767eeadc}{ICM20948\_Accel\_Average::AVG\_1\_OR\_4}},}
\DoxyCodeLine{\ \ \mbox{\hyperlink{DevLab__ICM20948_8h_a792c56c75cabcab23c273bd9a48aefa9a682b1e1305b78c070fc0d38523969924}{ICM20948\_Accel\_Average::AVG\_8}},}
\DoxyCodeLine{\ \ \mbox{\hyperlink{DevLab__ICM20948_8h_a792c56c75cabcab23c273bd9a48aefa9ad52a23a3a06614aefd7b8c55510f95f6}{ICM20948\_Accel\_Average::AVG\_16}},}
\DoxyCodeLine{\ \ \mbox{\hyperlink{DevLab__ICM20948_8h_a792c56c75cabcab23c273bd9a48aefa9a5a625254a69fb541caa23fed503c1e2b}{ICM20948\_Accel\_Average::AVG\_32}}}
\DoxyCodeLine{\}}

\end{DoxyCode}


Accelerometer averaging settings exercised by the sweep. 



Definition at line \mbox{\hyperlink{test2_8ino_source_l00083}{83}} of file \mbox{\hyperlink{test2_8ino_source}{test2.\+ino}}.

\Hypertarget{test2_8ino_afba242a959acc49646be317c43c4bc51}\label{test2_8ino_afba242a959acc49646be317c43c4bc51} 
\index{test2.ino@{test2.ino}!accelCfg@{accelCfg}}
\index{accelCfg@{accelCfg}!test2.ino@{test2.ino}}
\doxysubsubsection{\texorpdfstring{accelCfg}{accelCfg}}
{\footnotesize\ttfamily const \mbox{\hyperlink{DevLab__ICM20948_8h_a7d56bdd11158e2d05da5c9317fadee05}{ICM20948\+\_\+\+Accel\+\_\+\+Full\+Scale}} accel\+Cfg\mbox{[}$\,$\mbox{]}}

{\bfseries Initial value\+:}
\begin{DoxyCode}{0}
\DoxyCodeLine{=\ \{}
\DoxyCodeLine{\ \ \mbox{\hyperlink{DevLab__ICM20948_8h_a7d56bdd11158e2d05da5c9317fadee05aade318cc7367b7f1b4127eddc5f4899f}{ICM20948\_Accel\_FullScale::G\_2}},}
\DoxyCodeLine{\ \ \mbox{\hyperlink{DevLab__ICM20948_8h_a7d56bdd11158e2d05da5c9317fadee05abda3c606e1ce64e3bda86c1fe6232693}{ICM20948\_Accel\_FullScale::G\_4}},}
\DoxyCodeLine{\ \ \mbox{\hyperlink{DevLab__ICM20948_8h_a7d56bdd11158e2d05da5c9317fadee05a7526fbbb8f59b17de642323ac8f156aa}{ICM20948\_Accel\_FullScale::G\_8}},}
\DoxyCodeLine{\ \ \mbox{\hyperlink{DevLab__ICM20948_8h_a7d56bdd11158e2d05da5c9317fadee05a0ab58ba0a5550a73055a08e4c20ee549}{ICM20948\_Accel\_FullScale::G\_16}}}
\DoxyCodeLine{\}}

\end{DoxyCode}


Accelerometer full-\/scale ranges exercised by the sweep. 



Definition at line \mbox{\hyperlink{test2_8ino_source_l00059}{59}} of file \mbox{\hyperlink{test2_8ino_source}{test2.\+ino}}.

\Hypertarget{test2_8ino_a1aaf273f25b97fc05866f455e73b7ba9}\label{test2_8ino_a1aaf273f25b97fc05866f455e73b7ba9} 
\index{test2.ino@{test2.ino}!accelDLPF@{accelDLPF}}
\index{accelDLPF@{accelDLPF}!test2.ino@{test2.ino}}
\doxysubsubsection{\texorpdfstring{accelDLPF}{accelDLPF}}
{\footnotesize\ttfamily const \mbox{\hyperlink{DevLab__ICM20948_8h_a62506f4660c8cca0e4f2d55cc6cea833}{ICM20948\+\_\+\+Accel\+\_\+\+DLPFCFG}} accel\+DLPF\mbox{[}$\,$\mbox{]}}

{\bfseries Initial value\+:}
\begin{DoxyCode}{0}
\DoxyCodeLine{=\ \{}
\DoxyCodeLine{\ \ \mbox{\hyperlink{DevLab__ICM20948_8h_a62506f4660c8cca0e4f2d55cc6cea833a13cbb7979b56e04b08ae1fce52de8920}{ICM20948\_Accel\_DLPFCFG::DLPF0\_246HZ}},}
\DoxyCodeLine{\ \ \mbox{\hyperlink{DevLab__ICM20948_8h_a62506f4660c8cca0e4f2d55cc6cea833aeeb64eacdc3d03767db5a3801123bfb4}{ICM20948\_Accel\_DLPFCFG::DLPF\_246HZ}},}
\DoxyCodeLine{\ \ \mbox{\hyperlink{DevLab__ICM20948_8h_a62506f4660c8cca0e4f2d55cc6cea833afe0dbe8c5c9de890080dc391ebe993c9}{ICM20948\_Accel\_DLPFCFG::DLPF\_111HZ}},}
\DoxyCodeLine{\ \ \mbox{\hyperlink{DevLab__ICM20948_8h_a62506f4660c8cca0e4f2d55cc6cea833a1b0dedc13cdfd5d62bb48c2ad2fa704b}{ICM20948\_Accel\_DLPFCFG::DLPF\_50HZ}},}
\DoxyCodeLine{\ \ \mbox{\hyperlink{DevLab__ICM20948_8h_a62506f4660c8cca0e4f2d55cc6cea833a4b000385ff347b34dfec18d96059bd64}{ICM20948\_Accel\_DLPFCFG::DLPF\_24HZ}},}
\DoxyCodeLine{\ \ \mbox{\hyperlink{DevLab__ICM20948_8h_a62506f4660c8cca0e4f2d55cc6cea833aa94e8735e478a9c88792525ccbcc679a}{ICM20948\_Accel\_DLPFCFG::DLPF\_12HZ}},}
\DoxyCodeLine{\ \ \mbox{\hyperlink{DevLab__ICM20948_8h_a62506f4660c8cca0e4f2d55cc6cea833afc7f83a30afbfee6d61610e4089ac326}{ICM20948\_Accel\_DLPFCFG::DLPF\_6HZ}},}
\DoxyCodeLine{\ \ \mbox{\hyperlink{DevLab__ICM20948_8h_a62506f4660c8cca0e4f2d55cc6cea833af80e05f16aaf83801216cef7d6a5446f}{ICM20948\_Accel\_DLPFCFG::DLPF\_473HZ}}}
\DoxyCodeLine{\}}

\end{DoxyCode}


Accelerometer DLPF enum values matching configs\+DLPF. 



Definition at line \mbox{\hyperlink{test2_8ino_source_l00071}{71}} of file \mbox{\hyperlink{test2_8ino_source}{test2.\+ino}}.

\Hypertarget{test2_8ino_afa2564ef9650479c8ec39b52d193fbbd}\label{test2_8ino_afa2564ef9650479c8ec39b52d193fbbd} 
\index{test2.ino@{test2.ino}!accelSR@{accelSR}}
\index{accelSR@{accelSR}!test2.ino@{test2.ino}}
\doxysubsubsection{\texorpdfstring{accelSR}{accelSR}}
{\footnotesize\ttfamily const uint16\+\_\+t accel\+SR\mbox{[}$\,$\mbox{]}}

{\bfseries Initial value\+:}
\begin{DoxyCode}{0}
\DoxyCodeLine{=\ \{}
\DoxyCodeLine{\ \ 0,\ 1,\ 3,\ 5,\ 7,\ 10,\ 15,\ 22,\ 31,\ 63,\ 127,\ 255,\ 513,\ 1022,\ 2044,\ 4095}
\DoxyCodeLine{\}}

\end{DoxyCode}


Raw accelerometer sample-\/rate divider values for experiments. 



Definition at line \mbox{\hyperlink{test2_8ino_source_l00094}{94}} of file \mbox{\hyperlink{test2_8ino_source}{test2.\+ino}}.

\Hypertarget{test2_8ino_a9ef8fe0f793376a22cc3d83386c3b86a}\label{test2_8ino_a9ef8fe0f793376a22cc3d83386c3b86a} 
\index{test2.ino@{test2.ino}!configsDLPF@{configsDLPF}}
\index{configsDLPF@{configsDLPF}!test2.ino@{test2.ino}}
\doxysubsubsection{\texorpdfstring{configsDLPF}{configsDLPF}}
{\footnotesize\ttfamily const \mbox{\hyperlink{structconfigDLPF}{config\+DLPF}} configs\+DLPF\mbox{[}$\,$\mbox{]}}

{\bfseries Initial value\+:}
\begin{DoxyCode}{0}
\DoxyCodeLine{=\ \{}
\DoxyCodeLine{\ \ \{\ \ 0,\ \ \ 0,\ \ 265.0f,\ 1125.0f,\ \textcolor{stringliteral}{"{}246\ ;\ 265\ ;\ 1125\ "{}}\ \},}
\DoxyCodeLine{\ \ \{\ \ 1,\ \ \ 0,\ \ 265.0f,\ 1125.0f,\ \textcolor{stringliteral}{"{}246\ ;\ 265\ ;\ 1125\ "{}}\ \},}
\DoxyCodeLine{\ \ \{\ \ 2,\ \ \ 1,\ \ 136.0f,\ \ 562.5f,\ \textcolor{stringliteral}{"{}111\ ;\ 136\ ;\ 562\ "{}}\ \},}
\DoxyCodeLine{\ \ \{\ \ 3,\ \ \ 2,\ \ \ 68.8f,\ \ 375.0f,\ \textcolor{stringliteral}{"{}50\ ;\ 69\ ;\ 375\ "{}}\ \},}
\DoxyCodeLine{\ \ \{\ \ 4,\ \ \ 7,\ \ \ 34.4f,\ \ 140.6f,\ \textcolor{stringliteral}{"{}24\ ;\ 34\ ;\ 141\ "{}}\ \},}
\DoxyCodeLine{\ \ \{\ \ 5,\ \ 15,\ \ \ 17.0f,\ \ \ 70.3f,\ \textcolor{stringliteral}{"{}12\ ;\ 17\ ;\ \ 70\ "{}}\ \},}
\DoxyCodeLine{\ \ \{\ \ 6,\ \ 29,\ \ \ \ 8.3f,\ \ \ 37.5f,\ \textcolor{stringliteral}{"{}6\ ;\ 8\ ;\ \ 35\ "{}}\ \},}
\DoxyCodeLine{\ \ \{\ \ 7,\ \ \ 0,\ \ 499.0f,\ 1125.0f,\ \textcolor{stringliteral}{"{}473\ ;\ 499\ ;\ 1125\ "{}}\ \},}
\DoxyCodeLine{\}}

\end{DoxyCode}


Accelerometer DLPF configurations exercised by this sweep. 



Definition at line \mbox{\hyperlink{test2_8ino_source_l00042}{42}} of file \mbox{\hyperlink{test2_8ino_source}{test2.\+ino}}.

\Hypertarget{test2_8ino_a1e7d1f7dded2d3dfeb778c3cfcc91dea}\label{test2_8ino_a1e7d1f7dded2d3dfeb778c3cfcc91dea} 
\index{test2.ino@{test2.ino}!etiquetasAccelAVG@{etiquetasAccelAVG}}
\index{etiquetasAccelAVG@{etiquetasAccelAVG}!test2.ino@{test2.ino}}
\doxysubsubsection{\texorpdfstring{etiquetasAccelAVG}{etiquetasAccelAVG}}
{\footnotesize\ttfamily const char\texorpdfstring{$\ast$}{*} etiquetas\+Accel\+AVG\mbox{[}$\,$\mbox{]} = \{ "{}14"{},"{}8"{},"{}16"{},"{}32"{} \}}



Text labels matching accel\+AVG. 



Definition at line \mbox{\hyperlink{test2_8ino_source_l00090}{90}} of file \mbox{\hyperlink{test2_8ino_source}{test2.\+ino}}.

\Hypertarget{test2_8ino_a14ebfda2dc5c37c8a8080f828f9fecf8}\label{test2_8ino_a14ebfda2dc5c37c8a8080f828f9fecf8} 
\index{test2.ino@{test2.ino}!etiquetasAccelCfg@{etiquetasAccelCfg}}
\index{etiquetasAccelCfg@{etiquetasAccelCfg}!test2.ino@{test2.ino}}
\doxysubsubsection{\texorpdfstring{etiquetasAccelCfg}{etiquetasAccelCfg}}
{\footnotesize\ttfamily const char\texorpdfstring{$\ast$}{*} etiquetas\+Accel\+Cfg\mbox{[}$\,$\mbox{]} = \{ "{}+-\/2G"{},"{}+-\/4G"{},"{}+-\/8G"{},"{}+-\/16G"{} \}}



Text labels matching accel\+Cfg. 



Definition at line \mbox{\hyperlink{test2_8ino_source_l00066}{66}} of file \mbox{\hyperlink{test2_8ino_source}{test2.\+ino}}.

\Hypertarget{test2_8ino_aab3a263352ee1fbbca9fe5acf2cd19eb}\label{test2_8ino_aab3a263352ee1fbbca9fe5acf2cd19eb} 
\index{test2.ino@{test2.ino}!etiquetasSR@{etiquetasSR}}
\index{etiquetasSR@{etiquetasSR}!test2.ino@{test2.ino}}
\doxysubsubsection{\texorpdfstring{etiquetasSR}{etiquetasSR}}
{\footnotesize\ttfamily const char\texorpdfstring{$\ast$}{*} etiquetas\+SR\mbox{[}$\,$\mbox{]}}

{\bfseries Initial value\+:}
\begin{DoxyCode}{0}
\DoxyCodeLine{=\ \{}
\DoxyCodeLine{\ \ \textcolor{stringliteral}{"{}1125.0"{}},\textcolor{stringliteral}{"{}562.5"{}},\textcolor{stringliteral}{"{}281.3"{}},\textcolor{stringliteral}{"{}187.5"{}},\textcolor{stringliteral}{"{}140.6"{}},\textcolor{stringliteral}{"{}102.3"{}},\textcolor{stringliteral}{"{}70.3"{}},}
\DoxyCodeLine{\ \ \textcolor{stringliteral}{"{}48.9"{}},\textcolor{stringliteral}{"{}35.2"{}},\textcolor{stringliteral}{"{}17.6"{}},\textcolor{stringliteral}{"{}8.8"{}},\textcolor{stringliteral}{"{}4.4"{}},\textcolor{stringliteral}{"{}2.2"{}},\textcolor{stringliteral}{"{}1.1"{}},\textcolor{stringliteral}{"{}0.55"{}},\textcolor{stringliteral}{"{}0.27"{}}}
\DoxyCodeLine{\}}

\end{DoxyCode}


Text labels matching accel\+SR output data rates. 



Definition at line \mbox{\hyperlink{test2_8ino_source_l00098}{98}} of file \mbox{\hyperlink{test2_8ino_source}{test2.\+ino}}.

\Hypertarget{test2_8ino_aa8226278adaa3f7fb2ad8b966f7787a1}\label{test2_8ino_aa8226278adaa3f7fb2ad8b966f7787a1} 
\index{test2.ino@{test2.ino}!imu@{imu}}
\index{imu@{imu}!test2.ino@{test2.ino}}
\doxysubsubsection{\texorpdfstring{imu}{imu}}
{\footnotesize\ttfamily \mbox{\hyperlink{classDevLab__ICM20948}{Dev\+Lab\+\_\+\+ICM20948}} imu}



Global ICM-\/20948 driver instance. 



Definition at line \mbox{\hyperlink{test2_8ino_source_l00105}{105}} of file \mbox{\hyperlink{test2_8ino_source}{test2.\+ino}}.

\Hypertarget{test2_8ino_a0d5bdf34da5950970f04fcb4d629a48a}\label{test2_8ino_a0d5bdf34da5950970f04fcb4d629a48a} 
\index{test2.ino@{test2.ino}!N\_AVG@{N\_AVG}}
\index{N\_AVG@{N\_AVG}!test2.ino@{test2.ino}}
\doxysubsubsection{\texorpdfstring{N\_AVG}{N\_AVG}}
{\footnotesize\ttfamily const uint8\+\_\+t N\+\_\+\+AVG = 4}



Number of accelerometer averaging settings. 



Definition at line \mbox{\hyperlink{test2_8ino_source_l00092}{92}} of file \mbox{\hyperlink{test2_8ino_source}{test2.\+ino}}.

\Hypertarget{test2_8ino_a7a9c77b04f25920366c8b7b1e13d4854}\label{test2_8ino_a7a9c77b04f25920366c8b7b1e13d4854} 
\index{test2.ino@{test2.ino}!N\_DLPF@{N\_DLPF}}
\index{N\_DLPF@{N\_DLPF}!test2.ino@{test2.ino}}
\doxysubsubsection{\texorpdfstring{N\_DLPF}{N\_DLPF}}
{\footnotesize\ttfamily const uint8\+\_\+t N\+\_\+\+DLPF = sizeof(\mbox{\hyperlink{gyr__test_8ino_a9ef8fe0f793376a22cc3d83386c3b86a}{configs\+DLPF}}) / sizeof(\mbox{\hyperlink{gyr__test_8ino_a9ef8fe0f793376a22cc3d83386c3b86a}{configs\+DLPF}}\mbox{[}0\mbox{]})}



Number of accelerometer DLPF configurations. 



Definition at line \mbox{\hyperlink{test2_8ino_source_l00053}{53}} of file \mbox{\hyperlink{test2_8ino_source}{test2.\+ino}}.

\Hypertarget{test2_8ino_a6e9ca5bda437536b80c2d5b592629088}\label{test2_8ino_a6e9ca5bda437536b80c2d5b592629088} 
\index{test2.ino@{test2.ino}!N\_FS@{N\_FS}}
\index{N\_FS@{N\_FS}!test2.ino@{test2.ino}}
\doxysubsubsection{\texorpdfstring{N\_FS}{N\_FS}}
{\footnotesize\ttfamily const uint8\+\_\+t N\+\_\+\+FS = 4}



Number of accelerometer full-\/scale ranges. 



Definition at line \mbox{\hyperlink{test2_8ino_source_l00068}{68}} of file \mbox{\hyperlink{test2_8ino_source}{test2.\+ino}}.

\Hypertarget{test2_8ino_a1bf762e03a9be2534f36ec8a2611c341}\label{test2_8ino_a1bf762e03a9be2534f36ec8a2611c341} 
\index{test2.ino@{test2.ino}!total\_fail@{total\_fail}}
\index{total\_fail@{total\_fail}!test2.ino@{test2.ino}}
\doxysubsubsection{\texorpdfstring{total\_fail}{total\_fail}}
{\footnotesize\ttfamily uint8\+\_\+t total\+\_\+fail = 0}



Count of validation failures reserved for future checks. 



Definition at line \mbox{\hyperlink{test2_8ino_source_l00109}{109}} of file \mbox{\hyperlink{test2_8ino_source}{test2.\+ino}}.

\Hypertarget{test2_8ino_ac52922d562439e55245447f152baaf1b}\label{test2_8ino_ac52922d562439e55245447f152baaf1b} 
\index{test2.ino@{test2.ino}!total\_pass@{total\_pass}}
\index{total\_pass@{total\_pass}!test2.ino@{test2.ino}}
\doxysubsubsection{\texorpdfstring{total\_pass}{total\_pass}}
{\footnotesize\ttfamily uint8\+\_\+t total\+\_\+pass = 0}



Count of validation passes reserved for future checks. 



Definition at line \mbox{\hyperlink{test2_8ino_source_l00107}{107}} of file \mbox{\hyperlink{test2_8ino_source}{test2.\+ino}}.

\Hypertarget{test2_8ino_ae452872d489cfa87ffe02f8cf8718a43}\label{test2_8ino_ae452872d489cfa87ffe02f8cf8718a43} 
\index{test2.ino@{test2.ino}!total\_warn@{total\_warn}}
\index{total\_warn@{total\_warn}!test2.ino@{test2.ino}}
\doxysubsubsection{\texorpdfstring{total\_warn}{total\_warn}}
{\footnotesize\ttfamily uint8\+\_\+t total\+\_\+warn = 0}



Count of validation warnings reserved for future checks. 



Definition at line \mbox{\hyperlink{test2_8ino_source_l00111}{111}} of file \mbox{\hyperlink{test2_8ino_source}{test2.\+ino}}.

