\section{examples/Test\-Master\-Micro\-Mod/Test\-Master\-Micro\-Mod.c File Reference}
\label{TestMasterMicroMod_8c}\index{examples/TestMasterMicroMod/TestMasterMicroMod.c@{examples/TestMasterMicroMod/TestMasterMicroMod.c}}
{\tt \#include $<$unistd.h$>$}\par
{\tt \#include $<$stdio.h$>$}\par
{\tt \#include $<$string.h$>$}\par
{\tt \#include $<$stdlib.h$>$}\par
{\tt \#include $<$signal.h$>$}\par
{\tt \#include \char`\"{}canfestival.h\char`\"{}}\par
{\tt \#include \char`\"{}Test\-Master\-Micro\-Mod.h\char`\"{}}\par
{\tt \#include \char`\"{}Test\-Master.h\char`\"{}}\par
\subsection*{Functions}
\begin{CompactItemize}
\item
void {\bf Test\-Master\_\-heartbeat\-Error} (UNS8 heartbeat\-ID)
\item
void {\bf Test\-Master\_\-initialisation} ()
\item
static void {\bf Configure\-Slave\-Node} ({\bf CO\_\-Data} $\ast$d, UNS8 node\-Id)
\item
static void {\bf Check\-SDOAnd\-Continue} ({\bf CO\_\-Data} $\ast$d, UNS8 node\-Id)
\item
void {\bf Test\-Master\_\-pre\-Operational} ()
\item
void {\bf Test\-Master\_\-operational} ()
\item
void {\bf Test\-Master\_\-stopped} ()
\item
void {\bf Test\-Master\_\-post\_\-sync} ()
\item
void {\bf Test\-Master\_\-post\_\-TPDO} ()
\item
void {\bf catch\_\-signal} (int sig)
\item
void {\bf help} ()
\item
void {\bf Init\-Nodes} ({\bf CO\_\-Data} $\ast$d, UNS32 id)
\item
int {\bf main} (int argc, char $\ast$$\ast$argv)
\end{CompactItemize}
\subsection*{Variables}
\begin{CompactItemize}
\item
UNS8 {\bf slavenodeid}
\item
static {\bf init\_\-step} = 0
\item
{\bf s\_\-BOARD} {\bf Master\-Board} = \{\char`\"{}32\char`\"{}, \char`\"{}125K\char`\"{}\}
\end{CompactItemize}
\subsection{Function Documentation}
\index{TestMasterMicroMod.c@{Test\-Master\-Micro\-Mod.c}!catch_signal@{catch\_\-signal}}
\index{catch_signal@{catch\_\-signal}!TestMasterMicroMod.c@{Test\-Master\-Micro\-Mod.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void catch\_\-signal (int {\em sig})}\label{TestMasterMicroMod_8c_f2dc378d0481adcc49b61efb98493a9b}
\index{TestMasterMicroMod.c@{Test\-Master\-Micro\-Mod.c}!CheckSDOAndContinue@{CheckSDOAndContinue}}
\index{CheckSDOAndContinue@{CheckSDOAndContinue}!TestMasterMicroMod.c@{Test\-Master\-Micro\-Mod.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}static void Check\-SDOAnd\-Continue ({\bf CO\_\-Data} $\ast$ {\em d}, UNS8 {\em node\-Id})\hspace{0.3cm}{\tt [static]}}\label{TestMasterMicroMod_8c_030d780d48bec13bd56374f0c4be26b6}
\index{TestMasterMicroMod.c@{Test\-Master\-Micro\-Mod.c}!ConfigureSlaveNode@{ConfigureSlaveNode}}
\index{ConfigureSlaveNode@{ConfigureSlaveNode}!TestMasterMicroMod.c@{Test\-Master\-Micro\-Mod.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}static void Configure\-Slave\-Node ({\bf CO\_\-Data} $\ast$ {\em d}, UNS8 {\em node\-Id})\hspace{0.3cm}{\tt [static]}}\label{TestMasterMicroMod_8c_89903ebdfe78bc9cc97e0d142da9b820}
\index{TestMasterMicroMod.c@{Test\-Master\-Micro\-Mod.c}!help@{help}}
\index{help@{help}!TestMasterMicroMod.c@{Test\-Master\-Micro\-Mod.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void help ()}\label{TestMasterMicroMod_8c_97ee70a8770dc30d06c744b24eb2fcfc}
\index{TestMasterMicroMod.c@{Test\-Master\-Micro\-Mod.c}!InitNodes@{InitNodes}}
\index{InitNodes@{InitNodes}!TestMasterMicroMod.c@{Test\-Master\-Micro\-Mod.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void Init\-Nodes ({\bf CO\_\-Data} $\ast$ {\em d}, UNS32 {\em id})}\label{TestMasterMicroMod_8c_8a51032f7610fe37c131376e5a392fd5}
\index{TestMasterMicroMod.c@{Test\-Master\-Micro\-Mod.c}!main@{main}}
\index{main@{main}!TestMasterMicroMod.c@{Test\-Master\-Micro\-Mod.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int main (int {\em argc}, char $\ast$$\ast$ {\em argv})}\label{TestMasterMicroMod_8c_3c04138a5bfe5d72780bb7e82a18e627}
\index{TestMasterMicroMod.c@{Test\-Master\-Micro\-Mod.c}!TestMaster_heartbeatError@{TestMaster\_\-heartbeatError}}
\index{TestMaster_heartbeatError@{TestMaster\_\-heartbeatError}!TestMasterMicroMod.c@{Test\-Master\-Micro\-Mod.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void Test\-Master\_\-heartbeat\-Error (UNS8 {\em heartbeat\-ID})}\label{TestMasterMicroMod_8c_47eb45e75b4db150fb465fcf171ef4b4}
\index{TestMasterMicroMod.c@{Test\-Master\-Micro\-Mod.c}!TestMaster_initialisation@{TestMaster\_\-initialisation}}
\index{TestMaster_initialisation@{TestMaster\_\-initialisation}!TestMasterMicroMod.c@{Test\-Master\-Micro\-Mod.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void Test\-Master\_\-initialisation (void)}\label{TestMasterMicroMod_8c_e08dfb379eebaa62524fac5bba2196d5}
\index{TestMasterMicroMod.c@{Test\-Master\-Micro\-Mod.c}!TestMaster_operational@{TestMaster\_\-operational}}
\index{TestMaster_operational@{TestMaster\_\-operational}!TestMasterMicroMod.c@{Test\-Master\-Micro\-Mod.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void Test\-Master\_\-operational (void)}\label{TestMasterMicroMod_8c_81c297f2b4b9676e906286bf46541fc1}
\index{TestMasterMicroMod.c@{Test\-Master\-Micro\-Mod.c}!TestMaster_post_sync@{TestMaster\_\-post\_\-sync}}
\index{TestMaster_post_sync@{TestMaster\_\-post\_\-sync}!TestMasterMicroMod.c@{Test\-Master\-Micro\-Mod.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void Test\-Master\_\-post\_\-sync (void)}\label{TestMasterMicroMod_8c_9a8f72cab7f649481ca84ab2222dd179}
\index{TestMasterMicroMod.c@{Test\-Master\-Micro\-Mod.c}!TestMaster_post_TPDO@{TestMaster\_\-post\_\-TPDO}}
\index{TestMaster_post_TPDO@{TestMaster\_\-post\_\-TPDO}!TestMasterMicroMod.c@{Test\-Master\-Micro\-Mod.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void Test\-Master\_\-post\_\-TPDO (void)}\label{TestMasterMicroMod_8c_5e466aa03eae00c269cf20359a7ee074}
\index{TestMasterMicroMod.c@{Test\-Master\-Micro\-Mod.c}!TestMaster_preOperational@{TestMaster\_\-preOperational}}
\index{TestMaster_preOperational@{TestMaster\_\-preOperational}!TestMasterMicroMod.c@{Test\-Master\-Micro\-Mod.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void Test\-Master\_\-pre\-Operational (void)}\label{TestMasterMicroMod_8c_8fe2bae5bb407a3a71ee5fa5ea5d617f}
\index{TestMasterMicroMod.c@{Test\-Master\-Micro\-Mod.c}!TestMaster_stopped@{TestMaster\_\-stopped}}
\index{TestMaster_stopped@{TestMaster\_\-stopped}!TestMasterMicroMod.c@{Test\-Master\-Micro\-Mod.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void Test\-Master\_\-stopped (void)}\label{TestMasterMicroMod_8c_897d573cafc13ac80abbc207c0ee41b0}
\subsection{Variable Documentation}
\index{TestMasterMicroMod.c@{Test\-Master\-Micro\-Mod.c}!init_step@{init\_\-step}}
\index{init_step@{init\_\-step}!TestMasterMicroMod.c@{Test\-Master\-Micro\-Mod.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf init\_\-step} = 0\hspace{0.3cm}{\tt [static]}}\label{TestMasterMicroMod_8c_ef9c66a2e9f5ef9f6475282320a1ebe9}
\index{TestMasterMicroMod.c@{Test\-Master\-Micro\-Mod.c}!MasterBoard@{MasterBoard}}
\index{MasterBoard@{MasterBoard}!TestMasterMicroMod.c@{Test\-Master\-Micro\-Mod.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf s\_\-BOARD} {\bf Master\-Board} = \{\char`\"{}32\char`\"{}, \char`\"{}125K\char`\"{}\}}\label{TestMasterMicroMod_8c_460b5e3b15bb47df23119998ea0fbd31}
\index{TestMasterMicroMod.c@{Test\-Master\-Micro\-Mod.c}!slavenodeid@{slavenodeid}}
\index{slavenodeid@{slavenodeid}!TestMasterMicroMod.c@{Test\-Master\-Micro\-Mod.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}UNS8 {\bf slavenodeid}}\label{TestMasterMicroMod_8c_65effe41fa5288e7ab03a431d0c42b31}