/home/epimerde/documents/tc11/CanFestival-3/src/dcf.c File Reference

EXEMPLE OF SOMMARY. More...

#include "objacces.h"
#include "sdo.h"
#include "dcf.h"
#include "sysdep.h"

Include dependency graph for dcf.c:

Go to the source code of this file.

Functions

UNS8 _writeNetworkDict (CO_Data *d, UNS8 nodeId, UNS16 index, UNS8 subIndex, UNS8 count, UNS8 dataType, void *data, SDOCallback_t Callback, UNS8 endianize)
UNS32 decompo_dcf (CO_Data *d, UNS8 nodeId)

Variables

const indextable * ptrTable


Detailed Description

EXEMPLE OF SOMMARY.

Author:
Edouard TISSERANT and Francis DUPIN
Date:
Mon Jun 4 17:06:12 2007

Definition in file dcf.c.


Function Documentation

INLINE UNS8 _writeNetworkDict ( CO_Data *  d,
UNS8  nodeId,
UNS16  index,
UNS8  subIndex,
UNS8  count,
UNS8  dataType,
void *  data,
SDOCallback_t  Callback,
UNS8  endianize 
)

Parameters:
d 
nodeId 
index 
subIndex 
count 
dataType 
data 
Callback 
endianize 
Returns:

Verify that there is no SDO communication yet.

Taking the line ...

Check which SDO to use to communicate with the node

looking for the nodeId server

Copy data to transfers structure.

Send the SDO to the server. Initiate download, cs=1.

Expedited transfert

Normal transfert

nb of byte to transmit. Max = 255. (canfestival2 limitation).

release the line

Definition at line 1247 of file sdo.c.

References getSDOfreeLine(), getSDOlineOnUse(), initSDOline(), resetSDOline(), and sendSDO().

Referenced by decompo_dcf(), writeNetworkDict(), and writeNetworkDictCallBack().

Here is the call graph for this function:

UNS32 decompo_dcf ( CO_Data *  d,
UNS8  nodeId 
)

Parameters:
d 
nodeId 
Returns:

Loop on all Nodes supported in DCF subindexes

condition on consise DCF string for NodeID, if big enough

pointer to the DCF string for NodeID

CO_Data* d

UNS8 nodeId

UNS16 index

UNS8 subindex

UNS8 count

UNS8 dataType

void *data

SDOCallback_t Callback

no endianize

Push d->dcf_cursor to the end of data

Switch Master to preOperational state

Definition at line 87 of file dcf.c.

References _writeNetworkDict(), and ptrTable.

Referenced by setState().

Here is the call graph for this function:


Variable Documentation

const indextable* ptrTable

Definition at line 57 of file dcf.c.

Referenced by _getODentry(), _setODentry(), decompo_dcf(), and setState().


Generated on Tue Jun 5 18:32:05 2007 for CanFestival by  doxygen 1.5.1