Main Page   Alphabetical List   Data Structures   File List   Data Fields   Globals  

nmt.c File Reference

#include <nmt.h>
#include <def.h>
#include <general.h>
#include <lifegrd.h>
#include <init.h>

Functions

void processReceivedNMT (s_rx_buffer_message *canopenMessage)
void bootNode (BYTE bNode)
void stopNode (BYTE bNode)
void resetNode (BYTE bNode)
void resetNodeCommunication (BYTE bNode)
void sendBootUp (void)

Function Documentation

void bootNode BYTE    bNode
 

Starts a remote node.

Parameters:
bNode  The CANopen node-id of the device to be started (value: 1..127)

void processReceivedNMT s_rx_buffer_message  
 

Called by proccessRxCanMessages( ). It is responsible to check an incoming message wheter this is an NMT Object. If it is, then this function changes the state of the statemachine of this device

void resetNode BYTE    bNode
 

Resets a remote node.

Parameters:
bNode  The CANopen node-id of the device to be resetted (value: 1..127)

void resetNodeCommunication BYTE    bNode
 

Resets a remote node's communication.

Parameters:
bNode  The CANopen node-id of the device which's communication has to be resetted (value: 1..127)

void sendBootUp void   
 

This function sends a boot-up message (0x700 + node-id) with databyte 1 set to 0

void stopNode BYTE    bNode
 

stops a remote node.

Parameters:
bNode  The CANopen node-id of the device to stop (value: 1..127)


Generated on Wed Dec 25 01:04:57 2002 for CANopen SlaveLib by doxygen1.2.17