#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 |
Definition in file dcf.c.
INLINE UNS8 _writeNetworkDict | ( | CO_Data * | d, | |
UNS8 | nodeId, | |||
UNS16 | index, | |||
UNS8 | subIndex, | |||
UNS8 | count, | |||
UNS8 | dataType, | |||
void * | data, | |||
SDOCallback_t | Callback, | |||
UNS8 | endianize | |||
) |
d | ||
nodeId | ||
index | ||
subIndex | ||
count | ||
dataType | ||
data | ||
Callback | ||
endianize |
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 | |||
) |
d | ||
nodeId |
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:
const indextable* ptrTable |
Definition at line 57 of file dcf.c.
Referenced by _getODentry(), _setODentry(), decompo_dcf(), and setState().