CANfestival - an open source CANopen framework

Dependencies:   mbed

Embed: (wiki syntax)

« Back to documentation index

lss.c File Reference

lss.c File Reference

Go to the source code of this file.

Functions

UNS8 sendMasterLSSMessage (CO_Data *d, UNS8 command, void *dat1, void *dat2)
void LssAlarmSDELAY (CO_Data *d, UNS32 id)
void LssAlarmFS (CO_Data *d, UNS32 id)
void startLSS (CO_Data *d)
void stopLSS (CO_Data *d)
UNS8 sendSlaveLSSMessage (CO_Data *d, UNS8 command, void *dat1, void *dat2)
UNS8 sendLSS (CO_Data *d, UNS8 command, void *dat1, void *dat2)
 transmit a LSS message command is the LSS command specifier dat1 and dat2 are pointers to optional data (depend on command) return sendLSSMessage(d,command,dat1,dat2)
UNS8 proceedLSS_Master (CO_Data *d, Message *m)
 This function is called when the node is receiving a Master LSS message (cob-id = 0x7E5).
UNS8 proceedLSS_Slave (CO_Data *d, Message *m)
 This function is called when the node is receiving a Slave LSS message (cob-id = 0x7E4).
UNS8 configNetworkNode (CO_Data *d, UNS8 command, void *dat1, void *dat2, LSSCallback_t Callback)
 Used by the Master application to send a LSS command, WITHOUT response, to the slave.
UNS8 getConfigResultNetworkNode (CO_Data *d, UNS8 command, UNS32 *dat1, UNS8 *dat2)
 Use this function after a configNetworkNode or configNetworkNodeCallBack to get the result.

Detailed Description

Author:
Jorge Berzosa
Date:
Mon Oct 22 05:44:32 2007

Definition in file lss.c.


Function Documentation

void LssAlarmFS ( CO_Data d,
UNS32  id 
)
Parameters:
d
id

Definition at line 203 of file lss.c.

void LssAlarmSDELAY ( CO_Data d,
UNS32  id 
)
Parameters:
d
id

Definition at line 167 of file lss.c.

UNS8 proceedLSS_Master ( CO_Data d,
Message m 
)

This function is called when the node is receiving a Master LSS message (cob-id = 0x7E5).

Parameters:
d
m
Returns:

Definition at line 557 of file lss.c.

UNS8 proceedLSS_Slave ( CO_Data d,
Message m 
)

This function is called when the node is receiving a Slave LSS message (cob-id = 0x7E4).

Parameters:
d
m
Returns:

Definition at line 648 of file lss.c.

UNS8 sendLSS ( CO_Data d,
UNS8  command,
void *  dat1,
void *  dat2 
)

transmit a LSS message command is the LSS command specifier dat1 and dat2 are pointers to optional data (depend on command) return sendLSSMessage(d,command,dat1,dat2)

Parameters:
d
cob_id
Returns:

Definition at line 534 of file lss.c.

UNS8 sendMasterLSSMessage ( CO_Data d,
UNS8  command,
void *  dat1,
void *  dat2 
)
Parameters:
d
cob_id
Returns:

Definition at line 389 of file lss.c.

UNS8 sendSlaveLSSMessage ( CO_Data d,
UNS8  command,
void *  dat1,
void *  dat2 
)
Parameters:
d
cob_id
Returns:

Definition at line 319 of file lss.c.

void startLSS ( CO_Data d )
Parameters:
d

Definition at line 296 of file lss.c.

void stopLSS ( CO_Data d )
Parameters:
d

Definition at line 306 of file lss.c.