/home/epimerde/documents/tc11/CanFestival-3/src/nmtSlave.c File Reference

#include "nmtSlave.h"
#include "states.h"
#include "canfestival.h"

Include dependency graph for nmtSlave.c:

Go to the source code of this file.

Functions

void proceedNMTstateChange (CO_Data *d, Message *m)
UNS8 slaveSendBootUp (CO_Data *d)


Detailed Description

Author:
Edouard TISSERANT and Francis DUPIN
Date:
Tue Jun 5 08:50:53 2007

Definition in file nmtSlave.c.


Function Documentation

void proceedNMTstateChange ( CO_Data *  d,
Message *  m 
)

put the slave in the state wanted by the master

Parameters:
d 
m 

Check if this NMT-message is for this node

byte 1 = 0 : all the nodes are concerned (broadcast)

command specifier (cs)

end switch

end if( ( (*m).data[1] == 0 ) || ( (*m).data[1] == bDeviceNodeId ) )

Definition at line 43 of file nmtSlave.c.

References setState().

Referenced by canDispatch().

Here is the call graph for this function:

UNS8 slaveSendBootUp ( CO_Data *  d  ) 

Parameters:
d 
Returns:

message configuration

Definition at line 97 of file nmtSlave.c.

Referenced by switchCommunicationState().


Generated on Tue Jun 5 18:32:06 2007 for CanFestival by  doxygen 1.5.1