13typedef UNS32 (*valueRangeTest_t)(
UNS8 typeValue,
void *Value);
26 UNS32 * pExpectedSize,
32#define getODentry( OD, wIndex, bSubindex, pDestData, pExpectedSize, \
33 pDataType, checkAccess) \
34 _getODentry( OD, wIndex, bSubindex, pDestData, pExpectedSize, \
35 pDataType, checkAccess, 1)
37#define readLocalDict( OD, wIndex, bSubindex, pDestData, pExpectedSize, \
38 pDataType, checkAccess) \
39 _getODentry( OD, wIndex, bSubindex, pDestData, pExpectedSize, \
40 pDataType, checkAccess, 0)
47 UNS32 * pExpectedSize,
52#define setODentry( d, wIndex, bSubindex, pSourceData, pExpectedSize, \
54 _setODentry( d, wIndex, bSubindex, pSourceData, pExpectedSize, \
57#define writeLocalDict( d, wIndex, bSubindex, pSourceData, pExpectedSize, checkAccess) \
58 _setODentry( d, wIndex, bSubindex, pSourceData, pExpectedSize, checkAccess, 0)
#define UNS8
Unsigned int8 representation in CANFest.
#define UNS16
Unsigned int16 representation in CANFest.
#define UNS32
Unsigned int32 representation in CANFest.
void _storeODSubIndex(CO_Data *d, UNS16 wIndex, UNS8 bSubindex)
<BRIEF>
UNS32 RegisterSetODentryCallBack(CO_Data *d, UNS16 wIndex, UNS8 bSubindex, ODCallback_t Callback)
<BRIEF>
#define accessDictionaryError(index, subIndex, sizeDataDict, sizeDataGiven, code)
Print MSG_WAR (s) if error to the access to the object dictionary occurs.
const indextable * scanIndexOD(CO_Data *d, UNS16 wIndex, UNS32 *errorCode, ODCallback_t **Callback)
Scan the index of object dictionary. Used only by setODentry and getODentry.
UNS32 _setODentry(CO_Data *d, UNS16 wIndex, UNS8 bSubindex, void *pSourceData, UNS32 *pExpectedSize, UNS8 checkAccess, UNS8 endianize)
By this function you can write an entry into the object dictionary.
UNS32 _getODentry(CO_Data *d, UNS16 wIndex, UNS8 bSubindex, void *pDestData, UNS32 *pExpectedSize, UNS8 *pDataType, UNS8 checkAccess, UNS8 endianize)
_getODentry() Reads an entry from the object dictionary.
This structure contains all necessary informations to define a CANOpen node.