]> rtime.felk.cvut.cz Git - CanFestival-3.git/blobdiff - include/objacces.h
Changed OD size from UNS8 to UNS32, and repercuted change to PDO and SDO. Thanks...
[CanFestival-3.git] / include / objacces.h
index a40734b1d097d7e29ad834f1c368002e6fb85f87..b5ee04a85a3b44c1034d2c512685189a2a06ab9d 100644 (file)
@@ -32,6 +32,7 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  */
 
 /** @defgroup od Object Dictionary Management
+ *  @brief The Object Dictionary is the heart of each CANopen device containing all communication and application objects.
  *  @ingroup userapi
  */
  
@@ -63,7 +64,7 @@ void _storeODSubIndex (CO_Data* d, UNS16 wIndex, UNS8 bSubindex);
  * @return
  */ 
 UNS8 accessDictionaryError(UNS16 index, UNS8 subIndex, 
-                          UNS8 sizeDataDict, UNS8 sizeDataGiven, UNS32 code);
+                          UNS32 sizeDataDict, UNS32 sizeDataGiven, UNS32 code);
 
 
 /* _getODentry() Reads an entry from the object dictionary.\n
@@ -107,7 +108,7 @@ UNS32 _getODentry( CO_Data* d,
                  UNS16 wIndex,
                  UNS8 bSubindex,
                  void * pDestData,
-                 UNS8 * pExpectedSize,
+                 UNS32 * pExpectedSize,
                  UNS8 * pDataType,
                  UNS8 checkAccess,
                  UNS8 endianize);
@@ -187,7 +188,7 @@ UNS32 _setODentry( CO_Data* d,
                    UNS16 wIndex,
                    UNS8 bSubindex,
                    void * pSourceData,
-                   UNS8 * pExpectedSize,
+                   UNS32 * pExpectedSize,
                    UNS8 checkAccess,
                    UNS8 endianize);