doc/doxygen/latex/nmtSlave_8h.tex
changeset 207 b6572d0336c3
equal deleted inserted replaced
206:6787754b251b 207:b6572d0336c3
       
     1 \hypertarget{nmtSlave_8h}{
       
     2 \section{/home/epimerde/documents/tc11/Can\-Festival-3/include/nmt\-Slave.h File Reference}
       
     3 \label{nmtSlave_8h}\index{/home/epimerde/documents/tc11/CanFestival-3/include/nmtSlave.h@{/home/epimerde/documents/tc11/CanFestival-3/include/nmtSlave.h}}
       
     4 }
       
     5 {\tt \#include $<$applicfg.h$>$}\par
       
     6 {\tt \#include \char`\"{}data.h\char`\"{}}\par
       
     7 \subsection*{Functions}
       
     8 \begin{CompactItemize}
       
     9 \item 
       
    10 void \hyperlink{nmtSlave_8h_97d175ea168c149c99b01dcde0989743}{proceed\-NMTstate\-Change} (\hyperlink{structstruct__CO__Data}{CO\_\-Data} $\ast$d, \hyperlink{structMessage}{Message} $\ast$m)
       
    11 \item 
       
    12 UNS8 \hyperlink{nmtSlave_8h_aced28a97b2c256320dfde3c4b36a7d5}{slave\-Send\-Boot\-Up} (\hyperlink{structstruct__CO__Data}{CO\_\-Data} $\ast$d)
       
    13 \end{CompactItemize}
       
    14 
       
    15 
       
    16 \subsection{Function Documentation}
       
    17 \hypertarget{nmtSlave_8h_97d175ea168c149c99b01dcde0989743}{
       
    18 \index{nmtSlave.h@{nmt\-Slave.h}!proceedNMTstateChange@{proceedNMTstateChange}}
       
    19 \index{proceedNMTstateChange@{proceedNMTstateChange}!nmtSlave.h@{nmt\-Slave.h}}
       
    20 \subsubsection[proceedNMTstateChange]{\setlength{\rightskip}{0pt plus 5cm}void proceed\-NMTstate\-Change (\hyperlink{structstruct__CO__Data}{CO\_\-Data} $\ast$ {\em d}, \hyperlink{structMessage}{Message} $\ast$ {\em m})}}
       
    21 \label{nmtSlave_8h_97d175ea168c149c99b01dcde0989743}
       
    22 
       
    23 
       
    24 Threat the reception of a NMT message from the master $\ast$m is a pointer to the message received bus\_\-id is hardware dependant return 0 if OK, -1 if the slave is not allowed, by its state, to receive the message 
       
    25 
       
    26 Definition at line 29 of file nmt\-Slave.c.
       
    27 
       
    28 References struct\_\-CO\_\-Data::b\-Device\-Node\-Id, struct\_\-s\_\-timer\_\-entry::d, Initialisation, MSG\_\-WAR, NMT\_\-Enter\_\-Pre\-Operational, NMT\_\-Reset\_\-Comunication, NMT\_\-Reset\_\-Node, NMT\_\-Start\_\-Node, NMT\_\-Stop\_\-Node, struct\_\-CO\_\-Data::node\-State, Operational, Pre\_\-operational, set\-State(), and Stopped.\hypertarget{nmtSlave_8h_aced28a97b2c256320dfde3c4b36a7d5}{
       
    29 \index{nmtSlave.h@{nmt\-Slave.h}!slaveSendBootUp@{slaveSendBootUp}}
       
    30 \index{slaveSendBootUp@{slaveSendBootUp}!nmtSlave.h@{nmt\-Slave.h}}
       
    31 \subsubsection[slaveSendBootUp]{\setlength{\rightskip}{0pt plus 5cm}UNS8 slave\-Send\-Boot\-Up (\hyperlink{structstruct__CO__Data}{CO\_\-Data} $\ast$ {\em d})}}
       
    32 \label{nmtSlave_8h_aced28a97b2c256320dfde3c4b36a7d5}
       
    33 
       
    34 
       
    35 Transmit the boot-Up frame when the slave is moving from initialization state to pre\_\-operational state. bus\_\-id is hardware dependant return can\-Send(bus\_\-id,\&m) 
       
    36 
       
    37 Definition at line 76 of file nmt\-Slave.c.
       
    38 
       
    39 References struct\_\-CO\_\-Data::b\-Device\-Node\-Id, struct\_\-CO\_\-Data::can\-Handle, can\-Send(), Message::cob\_\-id, struct\_\-s\_\-timer\_\-entry::d, Message::data, Message::len, MSG\_\-WAR, NODE\_\-GUARD, NOT\_\-A\_\-REQUEST, Message::rtr, and SHORT\_\-CAN::w.