NNP STM Generic Remote Module git-main
Loading...
Searching...
No Matches
NMT Slave
Collaboration diagram for NMT Slave:

Functions

void processNMTstateChange (CO_Data *d, Message *m)
 Manage the reception of a NMT message from the master.
 
UNS8 slaveSendBootUp (CO_Data *d)
 Transmit the boot-Up frame when the slave is moving from initialization state to pre_operational state.
 
void StartWatchDog (CO_Data *d, UNS16 timebase)
 Starts watchdog on slave.
 
void StopWatchDog (CO_Data *d)
 Stops watchdog on slave.
 
void setNodeStateToStopped (void)
 <BRIEF> setNodeStateToStopped
 

Detailed Description

Function Documentation

◆ processNMTstateChange()

void processNMTstateChange ( CO_Data * d,
Message * m )

Manage the reception of a NMT message from the master.

Parameters
*dPointer to the CAN data structure
*mPointer to the message received
Returns
  • 0 if OK
  • -1 if the slave is not allowed, by its state, to receive the message

Definition at line 34 of file nmtSlave.c.

Referenced by canDispatch().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setNodeStateToStopped()

void setNodeStateToStopped ( void )

<BRIEF> setNodeStateToStopped

Definition at line 281 of file nmtSlave.c.

Here is the call graph for this function:

◆ slaveSendBootUp()

UNS8 slaveSendBootUp ( CO_Data * d)

Transmit the boot-Up frame when the slave is moving from initialization state to pre_operational state.

Parameters
*dPointer on the CAN data structure
Returns
canSend(bus_id,&m)

Definition at line 227 of file nmtSlave.c.

Referenced by switchCommunicationState().

Here is the caller graph for this function:

◆ StartWatchDog()

void StartWatchDog ( CO_Data * d,
UNS16 timebase )

Starts watchdog on slave.

Parameters
*dPointer on the CAN data structure
timebase

Definition at line 262 of file nmtSlave.c.

Referenced by EnterPatientManualFunc(), EnterXManualFunc(), EnterYManualFunc(), and processNMTstateChange().

Here is the caller graph for this function:

◆ StopWatchDog()

void StopWatchDog ( CO_Data * d)

Stops watchdog on slave.

Parameters
*dPointer on the CAN data structure

Definition at line 272 of file nmtSlave.c.

Referenced by EnterWaitingFunc().

Here is the caller graph for this function: