
nico@207: \section{examples/Test\-Master\-Slave/Test\-Master\-Slave.c File Reference}
nico@207: \label{TestMasterSlave_8c}\index{examples/TestMasterSlave/TestMasterSlave.c@{examples/TestMasterSlave/TestMasterSlave.c}}
nico@207: {\tt \#include $<$stdio.h$>$}\par
nico@207: {\tt \#include $<$string.h$>$}\par
nico@207: {\tt \#include $<$unistd.h$>$}\par
nico@207: {\tt \#include $<$stdlib.h$>$}\par
nico@207: {\tt \#include $<$signal.h$>$}\par
nico@207: {\tt \#include \char`\"{}canfestival.h\char`\"{}}\par
nico@207: {\tt \#include \char`\"{}Master.h\char`\"{}}\par
nico@207: {\tt \#include \char`\"{}Slave.h\char`\"{}}\par
nico@207: {\tt \#include \char`\"{}Test\-Master\-Slave.h\char`\"{}}\par
nico@207: \subsection*{Functions}
nico@207: \begin{CompactItemize}
nico@207: \item 
nico@207: UNS32 {\bf On\-Master\-Map1Update} ({\bf CO\_\-Data} $\ast$d, const {\bf indextable} $\ast$unsused\_\-indextable, UNS8 unsused\_\-b\-Subindex)
nico@207: \item 
nico@207: void {\bf catch\_\-signal} (int sig)
nico@207: \item 
nico@207: void {\bf help} ()
nico@207: \item 
nico@207: void {\bf Init\-Nodes} ({\bf CO\_\-Data} $\ast$d, UNS32 id)
nico@207: \item 
nico@207: int {\bf main} (int argc, char $\ast$$\ast$argv)
nico@207: \end{CompactItemize}
nico@207: \subsection*{Variables}
nico@207: \begin{CompactItemize}
nico@207: \item 
nico@207: {\bf s\_\-BOARD} {\bf Slave\-Board} = \{\char`\"{}0\char`\"{}, \char`\"{}125K\char`\"{}\}
nico@207: \item 
nico@207: {\bf s\_\-BOARD} {\bf Master\-Board} = \{\char`\"{}1\char`\"{}, \char`\"{}125K\char`\"{}\}
nico@207: \end{CompactItemize}
nico@207: 
nico@207: 
nico@207: \subsection{Function Documentation}
nico@207: \index{TestMasterSlave.c@{Test\-Master\-Slave.c}!catch_signal@{catch\_\-signal}}
nico@207: \index{catch_signal@{catch\_\-signal}!TestMasterSlave.c@{Test\-Master\-Slave.c}}
nico@207: \subsubsection{\setlength{\rightskip}{0pt plus 5cm}void catch\_\-signal (int {\em sig})}\label{TestMasterSlave_8c_f2dc378d0481adcc49b61efb98493a9b}
nico@207: 
nico@207: 
nico@207: \index{TestMasterSlave.c@{Test\-Master\-Slave.c}!help@{help}}
nico@207: \index{help@{help}!TestMasterSlave.c@{Test\-Master\-Slave.c}}
nico@207: \subsubsection{\setlength{\rightskip}{0pt plus 5cm}void help ()}\label{TestMasterSlave_8c_97ee70a8770dc30d06c744b24eb2fcfc}
nico@207: 
nico@207: 
nico@207: \index{TestMasterSlave.c@{Test\-Master\-Slave.c}!InitNodes@{InitNodes}}
nico@207: \index{InitNodes@{InitNodes}!TestMasterSlave.c@{Test\-Master\-Slave.c}}
nico@207: \subsubsection{\setlength{\rightskip}{0pt plus 5cm}void Init\-Nodes ({\bf CO\_\-Data} $\ast$ {\em d}, UNS32 {\em id})}\label{TestMasterSlave_8c_8a51032f7610fe37c131376e5a392fd5}
nico@207: 
nico@207: 
nico@207: \index{TestMasterSlave.c@{Test\-Master\-Slave.c}!main@{main}}
nico@207: \index{main@{main}!TestMasterSlave.c@{Test\-Master\-Slave.c}}
nico@207: \subsubsection{\setlength{\rightskip}{0pt plus 5cm}int main (int {\em argc}, char $\ast$$\ast$ {\em argv})}\label{TestMasterSlave_8c_3c04138a5bfe5d72780bb7e82a18e627}
nico@207: 
nico@207: 
nico@207: \index{TestMasterSlave.c@{Test\-Master\-Slave.c}!OnMasterMap1Update@{OnMasterMap1Update}}
nico@207: \index{OnMasterMap1Update@{OnMasterMap1Update}!TestMasterSlave.c@{Test\-Master\-Slave.c}}
nico@207: \subsubsection{\setlength{\rightskip}{0pt plus 5cm}UNS32 On\-Master\-Map1Update ({\bf CO\_\-Data} $\ast$ {\em d}, const {\bf indextable} $\ast$ {\em unsused\_\-indextable}, UNS8 {\em unsused\_\-b\-Subindex})}\label{TestMasterSlave_8c_bd99872d05af9bf63e28d6f010c1b174}
nico@207: 
nico@207: 
nico@207: 
nico@207: 
nico@207: \subsection{Variable Documentation}
nico@207: \index{TestMasterSlave.c@{Test\-Master\-Slave.c}!MasterBoard@{MasterBoard}}
nico@207: \index{MasterBoard@{MasterBoard}!TestMasterSlave.c@{Test\-Master\-Slave.c}}
nico@207: \subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf s\_\-BOARD} {\bf Master\-Board} = \{\char`\"{}1\char`\"{}, \char`\"{}125K\char`\"{}\}}\label{TestMasterSlave_8c_460b5e3b15bb47df23119998ea0fbd31}
nico@207: 
nico@207: 
nico@207: \index{TestMasterSlave.c@{Test\-Master\-Slave.c}!SlaveBoard@{SlaveBoard}}
nico@207: \index{SlaveBoard@{SlaveBoard}!TestMasterSlave.c@{Test\-Master\-Slave.c}}
nico@207: \subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf s\_\-BOARD} {\bf Slave\-Board} = \{\char`\"{}0\char`\"{}, \char`\"{}125K\char`\"{}\}}\label{TestMasterSlave_8c_57b2a6d78660d0ee6ca351fb40ffa859}
nico@207: 
nico@207: 




