include/objacces.h
changeset 75 debc68b124b7
parent 71 95cd3376cc9f
child 161 c4908cc776a9
equal deleted inserted replaced
74:c0b4b2ef7579 75:debc68b124b7
    54 code : error code to print. (SDO abort code. See file def.h)
    54 code : error code to print. (SDO abort code. See file def.h)
    55 Beware that sometimes, we force the sizeDataDict or sizeDataGiven to 0, when we wants to use
    55 Beware that sometimes, we force the sizeDataDict or sizeDataGiven to 0, when we wants to use
    56 this function but we do not have the access to the right value. One example is
    56 this function but we do not have the access to the right value. One example is
    57 getSDOerror(). So do not take attention to these variables if they are null.
    57 getSDOerror(). So do not take attention to these variables if they are null.
    58 */
    58 */
    59 #ifdef DEBUG_WAR_CONSOLE_ON
    59 
    60 UNS8 accessDictionaryError(UNS16 index, UNS8 subIndex, 
    60 UNS8 accessDictionaryError(UNS16 index, UNS8 subIndex, 
    61 			   UNS8 sizeDataDict, UNS8 sizeDataGiven, UNS32 code);
    61 			   UNS8 sizeDataDict, UNS8 sizeDataGiven, UNS32 code);
    62 #else
    62 
    63 /*#define accessDictionaryError(...) */
       
    64 #endif
       
    65 
    63 
    66 /* Reads an entry from the object dictionary.\n
    64 /* Reads an entry from the object dictionary.\n
    67  *  \code
    65  *  \code
    68  *  // Example usage:
    66  *  // Example usage:
    69  *  UNS8  *pbData;
    67  *  UNS8  *pbData;