nmtMaster.c File Reference

#include "nmtMaster.h"
#include "canfestival.h"

Include dependency graph for nmtMaster.c:

Go to the source code of this file.

Functions

UNS8 masterSendNMTstateChange (CO_Data *d, UNS8 Node_ID, UNS8 cs)
UNS8 masterSendNMTnodeguard (CO_Data *d, UNS8 nodeId)
void masterRequestNodeState (CO_Data *d, UNS8 nodeId)


Detailed Description

Author:
Edouard TISSERANT and Francis DUPIN
Date:
Tue Jun 5 08:47:18 2007

Definition in file nmtMaster.c.


Function Documentation

void masterRequestNodeState ( CO_Data d,
UNS8  nodeId 
)

Parameters:
d 
nodeId 

Definition at line 90 of file nmtMaster.c.

References struct_s_timer_entry::d, masterSendNMTnodeguard(), NMT_MAX_NODE_ID, struct_CO_Data::NMTable, Unknown_state, and UNS8.

Referenced by GetChangeStateResults().

Here is the call graph for this function:

UNS8 masterSendNMTnodeguard ( CO_Data d,
UNS8  nodeId 
)

Parameters:
d 
nodeId 
Returns:

Definition at line 70 of file nmtMaster.c.

References struct_CO_Data::canHandle, canSend(), Message::cob_id, struct_s_timer_entry::d, Message::len, MSG_WAR, NODE_GUARD, REQUEST, Message::rtr, and SHORT_CAN::w.

Referenced by masterRequestNodeState().

Here is the call graph for this function:

UNS8 masterSendNMTstateChange ( CO_Data d,
UNS8  Node_ID,
UNS8  cs 
)

Parameters:
d 
Node_ID 
cs 
Returns:

Definition at line 45 of file nmtMaster.c.

References struct_CO_Data::canHandle, canSend(), Message::cob_id, struct_s_timer_entry::d, Message::data, Message::len, MSG_WAR, NOT_A_REQUEST, Message::rtr, and SHORT_CAN::w.

Referenced by main().

Here is the call graph for this function:


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