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