diff -r 6787754b251b -r b6572d0336c3 doc/doxygen/html/sdo_8c.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/doc/doxygen/html/sdo_8c.html Mon Jun 04 17:59:50 2007 +0200 @@ -0,0 +1,1547 @@ + +
+#include "objacces.h"
#include "sdo.h"
#include "canfestival.h"
+Go to the source code of this file.
Defines | |
#define | NO_INLINE |
#define | INLINE |
#define | getSDOcs(byte) (byte >> 5) |
#define | getSDOn2(byte) ((byte >> 2) & 3) |
#define | getSDOn3(byte) ((byte >> 1) & 7) |
#define | getSDOe(byte) ((byte >> 1) & 1) |
#define | getSDOs(byte) (byte & 1) |
#define | getSDOc(byte) (byte & 1) |
#define | getSDOt(byte) ((byte >> 4) & 1) |
#define | getSDOindex(byte1, byte2) ((byte2 << 8) | (byte1)) |
#define | getSDOsubIndex(byte3) (byte3) |
#define | StopSDO_TIMER(id) |
#define | StartSDO_TIMER(id) |
#define | RestartSDO_TIMER(id) |
Functions | |
INLINE UNS8 | _writeNetworkDict (CO_Data *d, UNS8 nodeId, UNS16 index, UNS8 subIndex, UNS8 count, UNS8 dataType, void *data, SDOCallback_t Callback, UNS8 endianize) |
INLINE UNS8 | _readNetworkDict (CO_Data *d, UNS8 nodeId, UNS16 index, UNS8 subIndex, UNS8 dataType, SDOCallback_t Callback) |
void | SDOTimeoutAlarm (CO_Data *d, UNS32 id) |
void | resetSDO (CO_Data *d) |
UNS32 | SDOlineToObjdict (CO_Data *d, UNS8 line) |
UNS32 | objdictToSDOline (CO_Data *d, UNS8 line) |
UNS8 | lineToSDO (CO_Data *d, UNS8 line, UNS8 nbBytes, UNS8 *data) |
UNS8 | SDOtoLine (CO_Data *d, UNS8 line, UNS8 nbBytes, UNS8 *data) |
UNS8 | failedSDO (CO_Data *d, UNS8 nodeId, UNS8 whoami, UNS16 index, UNS8 subIndex, UNS32 abortCode) |
void | resetSDOline (CO_Data *d, UNS8 line) |
UNS8 | initSDOline (CO_Data *d, UNS8 line, UNS8 nodeId, UNS16 index, UNS8 subIndex, UNS8 state) |
UNS8 | getSDOfreeLine (CO_Data *d, UNS8 whoami, UNS8 *line) |
UNS8 | getSDOlineOnUse (CO_Data *d, UNS8 nodeId, UNS8 whoami, UNS8 *line) |
UNS8 | closeSDOtransfer (CO_Data *d, UNS8 nodeId, UNS8 whoami) |
UNS8 | getSDOlineRestBytes (CO_Data *d, UNS8 line, UNS8 *nbBytes) |
UNS8 | setSDOlineRestBytes (CO_Data *d, UNS8 line, UNS8 nbBytes) |
UNS8 | sendSDO (CO_Data *d, UNS8 whoami, s_SDO sdo) |
UNS8 | sendSDOabort (CO_Data *d, UNS8 whoami, UNS16 index, UNS8 subIndex, UNS32 abortCode) |
UNS8 | proceedSDO (CO_Data *d, Message *m) |
UNS8 | writeNetworkDict (CO_Data *d, UNS8 nodeId, UNS16 index, UNS8 subIndex, UNS8 count, UNS8 dataType, void *data) |
UNS8 | writeNetworkDictCallBack (CO_Data *d, UNS8 nodeId, UNS16 index, UNS8 subIndex, UNS8 count, UNS8 dataType, void *data, SDOCallback_t Callback) |
UNS8 | readNetworkDict (CO_Data *d, UNS8 nodeId, UNS16 index, UNS8 subIndex, UNS8 dataType) |
UNS8 | readNetworkDictCallback (CO_Data *d, UNS8 nodeId, UNS16 index, UNS8 subIndex, UNS8 dataType, SDOCallback_t Callback) |
UNS8 | getReadResultNetworkDict (CO_Data *d, UNS8 nodeId, void *data, UNS8 *size, UNS32 *abortCode) |
UNS8 | getWriteResultNetworkDict (CO_Data *d, UNS8 nodeId, UNS32 *abortCode) |
#define getSDOc | +( | +byte | ++ | ) | +(byte & 1) | +
#define getSDOcs | +( | +byte | ++ | ) | +(byte >> 5) | +
#define getSDOe | +( | +byte | ++ | ) | +((byte >> 1) & 1) | +
#define getSDOindex | +( | +byte1, | |||
+ | + | byte2 | ++ | ) | +((byte2 << 8) | (byte1)) | +
#define getSDOn2 | +( | +byte | ++ | ) | +((byte >> 2) & 3) | +
#define getSDOn3 | +( | +byte | ++ | ) | +((byte >> 1) & 7) | +
#define getSDOs | +( | +byte | ++ | ) | +(byte & 1) | +
#define getSDOsubIndex | +( | +byte3 | ++ | ) | +(byte3) | +
#define getSDOt | +( | +byte | ++ | ) | +((byte >> 4) & 1) | +
#define RestartSDO_TIMER | +( | +id | ++ | ) | ++ |
+Value:
MSG_WAR(0x3A07, "restartSDO_TIMER for line : ", line);\ +if(d->transfers[id].timer != TIMER_NONE) { StopSDO_TIMER(id) StartSDO_TIMER(id) } +
#define StartSDO_TIMER | +( | +id | ++ | ) | ++ |
+Value:
MSG_WAR(0x3A06, "StartSDO_TIMER for line : ", line);\ +d->transfers[id].timer = SetAlarm(d,id,&SDOTimeoutAlarm,MS_TO_TIMEVAL(SDO_TIMEOUT_MS),0); +
#define StopSDO_TIMER | +( | +id | ++ | ) | ++ |
+
INLINE UNS8 _readNetworkDict | +( | +CO_Data * | +d, | +|
+ | + | UNS8 | +nodeId, | +|
+ | + | UNS16 | +index, | +|
+ | + | UNS8 | +subIndex, | +|
+ | + | UNS8 | +dataType, | +|
+ | + | SDOCallback_t | +Callback | + |
+ | ) | ++ |
+Called by readNetworkDict +
+Definition at line 1198 of file sdo.c. +
+References getSDOfreeLine(), getSDOlineOnUse(), initSDOline(), resetSDOline(), and sendSDO(). +
INLINE UNS8 _writeNetworkDict | +( | +CO_Data * | +d, | +|
+ | + | UNS8 | +nodeId, | +|
+ | + | UNS16 | +index, | +|
+ | + | UNS8 | +subIndex, | +|
+ | + | UNS8 | +count, | +|
+ | + | UNS8 | +dataType, | +|
+ | + | void * | +data, | +|
+ | + | SDOCallback_t | +Callback, | +|
+ | + | UNS8 | +endianize | + |
+ | ) | ++ |
+Called by writeNetworkDict +
UNS8 closeSDOtransfer | +( | +CO_Data * | +d, | +|
+ | + | UNS8 | +nodeId, | +|
+ | + | UNS8 | +whoami | + |
+ | ) | ++ |
+ +
+Definition at line 318 of file sdo.c. +
+References getSDOlineOnUse(), and resetSDOline(). +
UNS8 failedSDO | +( | +CO_Data * | +d, | +|
+ | + | UNS8 | +nodeId, | +|
+ | + | UNS8 | +whoami, | +|
+ | + | UNS16 | +index, | +|
+ | + | UNS8 | +subIndex, | +|
+ | + | UNS32 | +abortCode | + |
+ | ) | ++ |
+ +
+Definition at line 227 of file sdo.c. +
+References getSDOlineOnUse(), resetSDOline(), sendSDOabort(), and StopSDO_TIMER. +
UNS8 getReadResultNetworkDict | +( | +CO_Data * | +d, | +|
+ | + | UNS8 | +nodeId, | +|
+ | + | void * | +data, | +|
+ | + | UNS8 * | +size, | +|
+ | + | UNS32 * | +abortCode | + |
+ | ) | ++ |
UNS8 getSDOfreeLine | +( | +CO_Data * | +d, | +|
+ | + | UNS8 | +whoami, | +|
+ | + | UNS8 * | +line | + |
+ | ) | ++ |
UNS8 getSDOlineOnUse | +( | +CO_Data * | +d, | +|
+ | + | UNS8 | +nodeId, | +|
+ | + | UNS8 | +whoami, | +|
+ | + | UNS8 * | +line | + |
+ | ) | ++ |
UNS8 getSDOlineRestBytes | +( | +CO_Data * | +d, | +|
+ | + | UNS8 | +line, | +|
+ | + | UNS8 * | +nbBytes | + |
+ | ) | ++ |
UNS8 getWriteResultNetworkDict | +( | +CO_Data * | +d, | +|
+ | + | UNS8 | +nodeId, | +|
+ | + | UNS32 * | +abortCode | + |
+ | ) | ++ |
UNS8 initSDOline | +( | +CO_Data * | +d, | +|
+ | + | UNS8 | +line, | +|
+ | + | UNS8 | +nodeId, | +|
+ | + | UNS16 | +index, | +|
+ | + | UNS8 | +subIndex, | +|
+ | + | UNS8 | +state | + |
+ | ) | ++ |
UNS8 lineToSDO | +( | +CO_Data * | +d, | +|
+ | + | UNS8 | +line, | +|
+ | + | UNS8 | +nbBytes, | +|
+ | + | UNS8 * | +data | + |
+ | ) | ++ |
UNS32 objdictToSDOline | +( | +CO_Data * | +d, | +|
+ | + | UNS8 | +line | + |
+ | ) | ++ |
UNS8 proceedSDO | +( | +CO_Data * | +d, | +|
+ | + | Message * | +m | + |
+ | ) | ++ |
+ +
+Definition at line 447 of file sdo.c. +
+References failedSDO(), getSDOc, getSDOcs, getSDOe, getSDOfreeLine(), getSDOindex, getSDOlineOnUse(), getSDOlineRestBytes(), getSDOn2, getSDOn3, getSDOs, getSDOsubIndex, getSDOt, initSDOline(), lineToSDO(), objdictToSDOline(), resetSDOline(), RestartSDO_TIMER, SDOlineToObjdict(), SDOtoLine(), sendSDO(), setSDOlineRestBytes(), and StopSDO_TIMER. +
UNS8 readNetworkDict | +( | +CO_Data * | +d, | +|
+ | + | UNS8 | +nodeId, | +|
+ | + | UNS16 | +index, | +|
+ | + | UNS8 | +subIndex, | +|
+ | + | UNS8 | +dataType | + |
+ | ) | ++ |
UNS8 readNetworkDictCallback | +( | +CO_Data * | +d, | +|
+ | + | UNS8 | +nodeId, | +|
+ | + | UNS16 | +index, | +|
+ | + | UNS8 | +subIndex, | +|
+ | + | UNS8 | +dataType, | +|
+ | + | SDOCallback_t | +Callback | + |
+ | ) | ++ |
void resetSDO | +( | +CO_Data * | +d | +) | ++ |
void resetSDOline | +( | +CO_Data * | +d, | +|
+ | + | UNS8 | +line | + |
+ | ) | ++ |
UNS32 SDOlineToObjdict | +( | +CO_Data * | +d, | +|
+ | + | UNS8 | +line | + |
+ | ) | ++ |
void SDOTimeoutAlarm | +( | +CO_Data * | +d, | +|
+ | + | UNS32 | +id | + |
+ | ) | ++ |
UNS8 SDOtoLine | +( | +CO_Data * | +d, | +|
+ | + | UNS8 | +line, | +|
+ | + | UNS8 | +nbBytes, | +|
+ | + | UNS8 * | +data | + |
+ | ) | ++ |
UNS8 sendSDO | +( | +CO_Data * | +d, | +|
+ | + | UNS8 | +whoami, | +|
+ | + | s_SDO | +sdo | + |
+ | ) | ++ |
UNS8 sendSDOabort | +( | +CO_Data * | +d, | +|
+ | + | UNS8 | +whoami, | +|
+ | + | UNS16 | +index, | +|
+ | + | UNS8 | +subIndex, | +|
+ | + | UNS32 | +abortCode | + |
+ | ) | ++ |
UNS8 setSDOlineRestBytes | +( | +CO_Data * | +d, | +|
+ | + | UNS8 | +line, | +|
+ | + | UNS8 | +nbBytes | + |
+ | ) | ++ |
UNS8 writeNetworkDict | +( | +CO_Data * | +d, | +|
+ | + | UNS8 | +nodeId, | +|
+ | + | UNS16 | +index, | +|
+ | + | UNS8 | +subIndex, | +|
+ | + | UNS8 | +count, | +|
+ | + | UNS8 | +dataType, | +|
+ | + | void * | +data | + |
+ | ) | ++ |
UNS8 writeNetworkDictCallBack | +( | +CO_Data * | +d, | +|
+ | + | UNS8 | +nodeId, | +|
+ | + | UNS16 | +index, | +|
+ | + | UNS8 | +subIndex, | +|
+ | + | UNS8 | +count, | +|
+ | + | UNS8 | +dataType, | +|
+ | + | void * | +data, | +|
+ | + | SDOCallback_t | +Callback | + |
+ | ) | ++ |
+