nico@207: nico@207: nico@207: CanFestival: /home/epimerde/documents/tc11/CanFestival-3/src/dcf.c File Reference nico@207: nico@207: nico@207: nico@207: nico@207:
nico@207:
nico@207:
nico@207:
nico@210:

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

EXEMPLE OF SOMMARY. More... nico@210:

nico@210: #include "objacces.h"
nico@207: #include "sdo.h"
nico@207: #include "dcf.h"
nico@207: #include "sysdep.h"
nico@207: nico@207:

nico@210: Include dependency graph for dcf.c:

nico@210: nico@210:

nico@207: Go to the source code of this file. nico@207: nico@207: nico@207: nico@207: nico@207: nico@207: nico@207: nico@207: nico@207: nico@207:

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
nico@210:


Detailed Description

nico@210: EXEMPLE OF SOMMARY. nico@210:

nico@210:

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

nico@210: Definition in file dcf.c.


Function Documentation

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

nico@210:

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

nico@210: Verify that there is no SDO communication yet.

nico@210: Taking the line ...

nico@210: Check which SDO to use to communicate with the node

nico@210: looking for the nodeId server

nico@210: Copy data to transfers structure.

nico@210: Send the SDO to the server. Initiate download, cs=1.

nico@210: Expedited transfert

nico@210: Normal transfert

nico@210: nb of byte to transmit. Max = 255. (canfestival2 limitation).

nico@210: release the line nico@210:

nico@210: Definition at line 1247 of file sdo.c. nico@210:

nico@210: References getSDOfreeLine(), getSDOlineOnUse(), initSDOline(), resetSDOline(), and sendSDO(). nico@210:

nico@210: Referenced by decompo_dcf(), writeNetworkDict(), and writeNetworkDictCallBack(). nico@210:

nico@210: Here is the call graph for this function:

nico@210: nico@210: nico@210: nico@210: nico@210: nico@210: nico@210: nico@210: nico@207:
nico@207:

nico@207: nico@207:

nico@207:
nico@207: nico@207: nico@207: nico@207: nico@207: nico@207: nico@207: nico@207: nico@207: nico@207: nico@207: nico@207: nico@207: nico@207: nico@207: nico@207: nico@207: nico@207: nico@207:
UNS32 decompo_dcf (CO_Data *  d,
UNS8  nodeId 
)
nico@207:
nico@207:
nico@207: nico@207:

nico@210:

Parameters:
nico@210: nico@210: nico@210: nico@210:
d 
nodeId 
nico@210:
nico@210:
Returns:
nico@210: nico@210:

nico@210: Loop on all Nodes supported in DCF subindexes

nico@210: condition on consise DCF string for NodeID, if big enough

nico@210: pointer to the DCF string for NodeID

nico@210: CO_Data* d

nico@210: UNS8 nodeId

nico@210: UNS16 index

nico@210: UNS8 subindex

nico@210: UNS8 count

nico@210: UNS8 dataType

nico@210: void *data

nico@210: SDOCallback_t Callback

nico@210: no endianize

nico@210: Push d->dcf_cursor to the end of data

nico@210: Switch Master to preOperational state nico@210:

nico@210: Definition at line 87 of file dcf.c. nico@210:

nico@210: References _writeNetworkDict(), and ptrTable. nico@210:

nico@210: Referenced by setState(). nico@210:

nico@210: Here is the call graph for this function:

nico@210: nico@210: nico@210: nico@210: nico@210: nico@210: nico@210: nico@210: nico@210: nico@207:
nico@207:

nico@207:


Variable Documentation

nico@207: nico@207:
nico@207:
nico@207: nico@207: nico@207: nico@207: nico@207:
const indextable* ptrTable
nico@207:
nico@207:
nico@207: nico@207:

nico@207: nico@207:

nico@210: Definition at line 57 of file dcf.c. nico@210:

nico@210: Referenced by _getODentry(), _setODentry(), decompo_dcf(), and setState(). nico@207:

nico@207:

nico@210:


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