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 

Definition at line 43 of file nmtSlave.c.

References struct_CO_Data::bDeviceNodeId, struct_s_timer_entry::d, Initialisation, MSG_WAR, NMT_Enter_PreOperational, NMT_Reset_Comunication, NMT_Reset_Node, NMT_Start_Node, NMT_Stop_Node, struct_CO_Data::nodeState, Operational, Pre_operational, setState(), and Stopped.

Referenced by canDispatch().

Here is the call graph for this function:

UNS8 slaveSendBootUp ( CO_Data d  ) 

Parameters:
d 
Returns:

Definition at line 97 of file nmtSlave.c.

References struct_CO_Data::bDeviceNodeId, struct_CO_Data::canHandle, canSend(), 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.

Referenced by switchCommunicationState().

Here is the call graph for this function:


Generated on Mon Jul 2 19:10:38 2007 for CanFestival by  doxygen 1.5.1