nico@207: nico@207:
nico@207:
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@207: 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 |
nico@210:
nico@210:nico@210: Definition in file dcf.c.
INLINE UNS8 _writeNetworkDict | nico@207:( | nico@207:CO_Data * | nico@207:d, | nico@207:|
nico@207: | nico@207: | UNS8 | nico@207:nodeId, | nico@207:|
nico@207: | nico@207: | UNS16 | nico@207:index, | nico@207:|
nico@207: | nico@207: | UNS8 | nico@207:subIndex, | nico@207:|
nico@207: | nico@207: | UNS8 | nico@207:count, | nico@207:|
nico@207: | nico@207: | UNS8 | nico@207:dataType, | nico@207:|
nico@207: | nico@207: | void * | nico@207:data, | nico@207:|
nico@207: | nico@207: | SDOCallback_t | nico@207:Callback, | nico@207:|
nico@207: | nico@207: | UNS8 | nico@207:endianize | nico@207: |
nico@207: | ) | nico@207:nico@207: |
nico@210:
d | ||
nodeId | ||
index | ||
subIndex | ||
count | ||
dataType | ||
data | ||
Callback | ||
endianize |
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:
UNS32 decompo_dcf | nico@207:( | nico@207:CO_Data * | nico@207:d, | nico@207:|
nico@207: | nico@207: | UNS8 | nico@207:nodeId | nico@207: |
nico@207: | ) | nico@207:nico@207: |
nico@210:
d | ||
nodeId |
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@207:
const indextable* ptrTable | 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@210: