nico@207: nico@207: nico@207: CanFestival: /home/epimerde/documents/tc11/CanFestival-3/include/nmtSlave.h File Reference nico@207: nico@207: nico@207: nico@207: nico@207:
nico@207:
nico@207:
nico@207:
nico@207:

/home/epimerde/documents/tc11/CanFestival-3/include/nmtSlave.h File Reference

#include <applicfg.h>
nico@207: #include "data.h"
nico@207: nico@207:

nico@207: Go to the source code of this file. nico@207: nico@207: nico@207: nico@207: nico@207: nico@207: nico@207:

Functions

void proceedNMTstateChange (CO_Data *d, Message *m)
UNS8 slaveSendBootUp (CO_Data *d)
nico@207:


Function Documentation

nico@207: nico@207:
nico@207:
nico@207: nico@207: nico@207: nico@207: nico@207: nico@207: nico@207: nico@207: nico@207: nico@207: nico@207: nico@207: nico@207: nico@207: nico@207: nico@207: nico@207: nico@207: nico@207:
void proceedNMTstateChange (CO_Data d,
Message m 
)
nico@207:
nico@207:
nico@207: nico@207:

nico@207: Threat the reception of a NMT message from the master *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 nico@207:

nico@207: Definition at line 29 of file nmtSlave.c. nico@207:

nico@207: 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. nico@207:

nico@207:

nico@207: nico@207:

nico@207:
nico@207: nico@207: nico@207: nico@207: nico@207: nico@207: nico@207: nico@207: nico@207: nico@207:
UNS8 slaveSendBootUp (CO_Data d  ) 
nico@207:
nico@207:
nico@207: nico@207:

nico@207: Transmit the boot-Up frame when the slave is moving from initialization state to pre_operational state. bus_id is hardware dependant return canSend(bus_id,&m) nico@207:

nico@207: Definition at line 76 of file nmtSlave.c. nico@207:

nico@207: 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. nico@207:

nico@207:

nico@207:


Generated on Mon Jun 4 16:29:07 2007 for CanFestival by  nico@207: nico@207: doxygen 1.5.1
nico@207: nico@207: