#include "objacces.h"
Include dependency graph for objacces.c:
Go to the source code of this file.
Functions | |
UNS8 | accessDictionaryError (UNS16 index, UNS8 subIndex, UNS8 sizeDataDict, UNS8 sizeDataGiven, UNS32 code) |
UNS32 | _getODentry (CO_Data *d, UNS16 wIndex, UNS8 bSubindex, void *pDestData, UNS8 *pExpectedSize, UNS8 *pDataType, UNS8 checkAccess, UNS8 endianize) |
UNS32 | getODentry (CO_Data *d, UNS16 wIndex, UNS8 bSubindex, void *pDestData, UNS8 *pExpectedSize, UNS8 *pDataType, UNS8 checkAccess) |
UNS32 | readLocalDict (CO_Data *d, UNS16 wIndex, UNS8 bSubindex, void *pDestData, UNS8 *pExpectedSize, UNS8 *pDataType, UNS8 checkAccess) |
UNS32 | _setODentry (CO_Data *d, UNS16 wIndex, UNS8 bSubindex, void *pSourceData, UNS8 *pExpectedSize, UNS8 checkAccess, UNS8 endianize) |
UNS32 | setODentry (CO_Data *d, UNS16 wIndex, UNS8 bSubindex, void *pSourceData, UNS8 *pExpectedSize, UNS8 checkAccess) |
UNS32 | writeLocalDict (CO_Data *d, UNS16 wIndex, UNS8 bSubindex, void *pSourceData, UNS8 *pExpectedSize, UNS8 checkAccess) |
const indextable * | scanIndexOD (CO_Data *d, UNS16 wIndex, UNS32 *errorCode, ODCallback_t **Callback) |
UNS32 | RegisterSetODentryCallBack (CO_Data *d, UNS16 wIndex, UNS8 bSubindex, ODCallback_t Callback) |
void | _storeODSubIndex (UNS16 wIndex, UNS8 bSubindex) |
Definition in file objacces.c.
UNS32 _getODentry | ( | CO_Data * | d, | |
UNS16 | wIndex, | |||
UNS8 | bSubindex, | |||
void * | pDestData, | |||
UNS8 * | pExpectedSize, | |||
UNS8 * | pDataType, | |||
UNS8 | checkAccess, | |||
UNS8 | endianize | |||
) |
d | ||
wIndex | ||
bSubindex | ||
pDestData | ||
pExpectedSize | ||
pDataType | ||
checkAccess | ||
endianize |
Definition at line 105 of file objacces.c.
References accessDictionaryError(), td_subindex::bAccessType, td_subindex::bDataType, td_indextable::bSubCount, struct_s_timer_entry::d, MSG_WAR, OD_LENGTH_DATA_INVALID, OD_NO_SUCH_SUBINDEX, OD_READ_NOT_ALLOWED, OD_SUCCESSFUL, OD_WRITE_NOT_ALLOWED, td_subindex::pObject, td_indextable::pSubindex, ptrTable, struct_CO_Data::scanIndexOD, td_subindex::size, UNS32, UNS8, visible_string, and WO.
Referenced by getODentry(), and readLocalDict().
Here is the call graph for this function:
UNS32 _setODentry | ( | CO_Data * | d, | |
UNS16 | wIndex, | |||
UNS8 | bSubindex, | |||
void * | pSourceData, | |||
UNS8 * | pExpectedSize, | |||
UNS8 | checkAccess, | |||
UNS8 | endianize | |||
) |
d | ||
wIndex | ||
bSubindex | ||
pSourceData | ||
pExpectedSize | ||
checkAccess | ||
endianize |
Definition at line 260 of file objacces.c.
References accessDictionaryError(), td_subindex::bAccessType, td_subindex::bDataType, td_indextable::bSubCount, struct_s_timer_entry::d, MSG_WAR, OD_LENGTH_DATA_INVALID, OD_NO_SUCH_SUBINDEX, OD_SUCCESSFUL, OD_WRITE_NOT_ALLOWED, td_subindex::pObject, td_indextable::pSubindex, ptrTable, RO, struct_CO_Data::scanIndexOD, td_subindex::size, struct_CO_Data::storeODSubIndex, TO_BE_SAVE, UNS32, UNS8, struct_CO_Data::valueRangeTest, and visible_string.
Referenced by setODentry(), and writeLocalDict().
Here is the call graph for this function:
void _storeODSubIndex | ( | UNS16 | wIndex, | |
UNS8 | bSubindex | |||
) |
UNS8 accessDictionaryError | ( | UNS16 | index, | |
UNS8 | subIndex, | |||
UNS8 | sizeDataDict, | |||
UNS8 | sizeDataGiven, | |||
UNS32 | code | |||
) |
index | ||
subIndex | ||
sizeDataDict | ||
sizeDataGiven | ||
code |
Definition at line 55 of file objacces.c.
References MSG_WAR, OD_LENGTH_DATA_INVALID, OD_NO_SUCH_OBJECT, OD_NO_SUCH_SUBINDEX, OD_NOT_MAPPABLE, OD_VALUE_TOO_HIGH, OD_VALUE_TOO_LOW, and OD_WRITE_NOT_ALLOWED.
Referenced by _getODentry(), and _setODentry().
UNS32 getODentry | ( | CO_Data * | d, | |
UNS16 | wIndex, | |||
UNS8 | bSubindex, | |||
void * | pDestData, | |||
UNS8 * | pExpectedSize, | |||
UNS8 * | pDataType, | |||
UNS8 | checkAccess | |||
) |
d | ||
wIndex | ||
bSubindex | ||
pDestData | ||
pExpectedSize | ||
pDataType | ||
checkAccess |
Definition at line 198 of file objacces.c.
References _getODentry(), and struct_s_timer_entry::d.
Referenced by buildPDO(), and objdictToSDOline().
Here is the call graph for this function:
UNS32 readLocalDict | ( | CO_Data * | d, | |
UNS16 | wIndex, | |||
UNS8 | bSubindex, | |||
void * | pDestData, | |||
UNS8 * | pExpectedSize, | |||
UNS8 * | pDataType, | |||
UNS8 | checkAccess | |||
) |
d | ||
wIndex | ||
bSubindex | ||
pDestData | ||
pExpectedSize | ||
pDataType | ||
checkAccess |
Definition at line 229 of file objacces.c.
References _getODentry(), and struct_s_timer_entry::d.
Here is the call graph for this function:
UNS32 RegisterSetODentryCallBack | ( | CO_Data * | d, | |
UNS16 | wIndex, | |||
UNS8 | bSubindex, | |||
ODCallback_t | Callback | |||
) |
d | ||
wIndex | ||
bSubindex | ||
Callback |
Definition at line 419 of file objacces.c.
References struct_s_timer_entry::d, OD_SUCCESSFUL, scanIndexOD(), and UNS32.
Referenced by heartbeatInit(), InitNodes(), and startSYNC().
Here is the call graph for this function:
const indextable* scanIndexOD | ( | CO_Data * | d, | |
UNS16 | wIndex, | |||
UNS32 * | errorCode, | |||
ODCallback_t ** | Callback | |||
) |
d | ||
wIndex | ||
errorCode | ||
Callback |
Definition at line 404 of file objacces.c.
References struct_s_timer_entry::d, and struct_CO_Data::scanIndexOD.
Referenced by PDOInit(), and RegisterSetODentryCallBack().
UNS32 setODentry | ( | CO_Data * | d, | |
UNS16 | wIndex, | |||
UNS8 | bSubindex, | |||
void * | pSourceData, | |||
UNS8 * | pExpectedSize, | |||
UNS8 | checkAccess | |||
) |
d | ||
wIndex | ||
bSubindex | ||
pSourceData | ||
pExpectedSize | ||
checkAccess |
Definition at line 350 of file objacces.c.
References _setODentry(), and struct_s_timer_entry::d.
Referenced by proceedPDO(), and SDOlineToObjdict().
Here is the call graph for this function:
UNS32 writeLocalDict | ( | CO_Data * | d, | |
UNS16 | wIndex, | |||
UNS8 | bSubindex, | |||
void * | pSourceData, | |||
UNS8 * | pExpectedSize, | |||
UNS8 | checkAccess | |||
) |
d | ||
wIndex | ||
bSubindex | ||
pSourceData | ||
pExpectedSize | ||
checkAccess |
Definition at line 378 of file objacces.c.
References _setODentry(), and struct_s_timer_entry::d.
Referenced by main(), and TestMaster_initialisation().
Here is the call graph for this function: