nico@207: nico@207:
nico@207:#include <applicfg.h>
#include "data.h"
nico@207: Go to the source code of this file.
Functions | |
void | proceedNMTstateChange (CO_Data *d, Message *m) |
UNS8 | slaveSendBootUp (CO_Data *d) |
void proceedNMTstateChange | nico@207:( | nico@207:CO_Data * | nico@207:d, | nico@207:|
nico@207: | nico@207: | Message * | nico@207: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:
UNS8 slaveSendBootUp | nico@207:( | nico@207:CO_Data * | nico@207:d | 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: