nico@215: nico@215:
nico@215:
nico@215: #include <applicfg.h>
nico@215: #include "data.h"
nico@215:
nico@215:
nico@215: Include dependency graph for objacces.h:
nico@215: This graph shows which files directly or indirectly include this file:
nico@215: Go to the source code of this file.
Typedefs | |
typedef UNS32(*) | valueRangeTest_t (UNS8 typeValue, void *Value) |
typedef void(*) | storeODSubIndex_t (UNS16 wIndex, UNS8 bSubindex) |
Functions | |
void | _storeODSubIndex (UNS16 wIndex, UNS8 bSubindex) |
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) |
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) |
nico@215: This file contains functions for accessing the object dictionary and variables that are contained by the object dictionary. Accessing the object dictionary contains setting local variables as PDOs and accessing (read/write) all entries of the object dictionary
nico@215: Definition in file objacces.h.
typedef void(* ) storeODSubIndex_t(UNS16 wIndex, UNS8 bSubindex) | nico@215:
nico@215: nico@215:
nico@215: Definition at line 40 of file objacces.h. nico@215:
etisserant@240: etisserant@240:
typedef UNS32(*) valueRangeTest_t(UNS8 typeValue, void *Value) | nico@215:
nico@215: nico@215:
nico@215: Definition at line 39 of file objacces.h. nico@215:
nico@215:
void _storeODSubIndex | nico@215:( | nico@215:UNS16 | nico@215:wIndex, | nico@215:|
nico@215: | nico@215: | UNS8 | nico@215:bSubindex | nico@215: |
nico@215: | ) | nico@215:nico@215: |
nico@215:
wIndex | ||
bSubindex |
nico@215: Definition at line 436 of file objacces.c. nico@215:
UNS8 accessDictionaryError | nico@215:( | nico@215:UNS16 | nico@215:index, | nico@215:|
nico@215: | nico@215: | UNS8 | nico@215:subIndex, | nico@215:|
nico@215: | nico@215: | UNS8 | nico@215:sizeDataDict, | nico@215:|
nico@215: | nico@215: | UNS8 | nico@215:sizeDataGiven, | nico@215:|
nico@215: | nico@215: | UNS32 | nico@215:code | nico@215: |
nico@215: | ) | nico@215:nico@215: |
nico@215:
index | ||
subIndex | ||
sizeDataDict | ||
sizeDataGiven | ||
code |
nico@215: Definition at line 55 of file objacces.c. nico@215:
nico@215: 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. nico@215:
nico@215: Referenced by _getODentry(), and _setODentry(). nico@215:
UNS32 getODentry | nico@215:( | nico@215:CO_Data * | nico@215:d, | nico@215:|
nico@215: | nico@215: | UNS16 | nico@215:wIndex, | nico@215:|
nico@215: | nico@215: | UNS8 | nico@215:bSubindex, | nico@215:|
nico@215: | nico@215: | void * | nico@215:pDestData, | nico@215:|
nico@215: | nico@215: | UNS8 * | nico@215:pExpectedSize, | nico@215:|
nico@215: | nico@215: | UNS8 * | nico@215:pDataType, | nico@215:|
nico@215: | nico@215: | UNS8 | nico@215:checkAccess | nico@215: |
nico@215: | ) | nico@215:nico@215: |
nico@215:
d | ||
wIndex | ||
bSubindex | ||
pDestData | ||
pExpectedSize | ||
pDataType | ||
checkAccess |
nico@215: Definition at line 198 of file objacces.c. nico@215:
nico@215: References _getODentry(), and struct_s_timer_entry::d. nico@215:
etisserant@240: Referenced by buildPDO(), and objdictToSDOline(). etisserant@240:
etisserant@240: Here is the call graph for this function:
UNS32 RegisterSetODentryCallBack | nico@215:( | nico@215:CO_Data * | nico@215:d, | nico@215:|
nico@215: | nico@215: | UNS16 | nico@215:wIndex, | nico@215:|
nico@215: | nico@215: | UNS8 | nico@215:bSubindex, | nico@215:|
nico@215: | etisserant@240: | ODCallback_t | nico@215:Callback | nico@215: |
nico@215: | ) | nico@215:nico@215: |
nico@215:
d | ||
wIndex | ||
bSubindex | ||
Callback |
nico@215: Definition at line 419 of file objacces.c. nico@215:
nico@215: References struct_s_timer_entry::d, OD_SUCCESSFUL, scanIndexOD(), and UNS32. nico@215:
nico@215: Referenced by heartbeatInit(), InitNodes(), and startSYNC(). nico@215:
etisserant@240: Here is the call graph for this function:
const indextable* scanIndexOD | nico@215:( | nico@215:CO_Data * | nico@215:d, | nico@215:|
nico@215: | nico@215: | UNS16 | nico@215:wIndex, | nico@215:|
nico@215: | nico@215: | UNS32 * | nico@215:errorCode, | nico@215:|
nico@215: | etisserant@240: | ODCallback_t ** | nico@215:Callback | nico@215: |
nico@215: | ) | nico@215:nico@215: |
nico@215:
d | ||
wIndex | ||
errorCode | ||
Callback |
nico@215: Definition at line 404 of file objacces.c. nico@215:
etisserant@240: References struct_s_timer_entry::d, and struct_CO_Data::scanIndexOD. etisserant@240:
etisserant@240: Referenced by PDOInit(), and RegisterSetODentryCallBack(). etisserant@240:
UNS32 setODentry | nico@215:( | nico@215:CO_Data * | nico@215:d, | nico@215:|
nico@215: | nico@215: | UNS16 | nico@215:wIndex, | nico@215:|
nico@215: | nico@215: | UNS8 | nico@215:bSubindex, | nico@215:|
nico@215: | nico@215: | void * | nico@215:pSourceData, | nico@215:|
nico@215: | nico@215: | UNS8 * | nico@215:pExpectedSize, | nico@215:|
nico@215: | nico@215: | UNS8 | nico@215:checkAccess | nico@215: |
nico@215: | ) | nico@215:nico@215: |
nico@215:
d | ||
wIndex | ||
bSubindex | ||
pSourceData | ||
pExpectedSize | ||
checkAccess |
nico@215: Definition at line 350 of file objacces.c. nico@215:
nico@215: References _setODentry(), and struct_s_timer_entry::d. nico@215:
etisserant@240: Referenced by proceedPDO(), and SDOlineToObjdict(). etisserant@240:
etisserant@240: Here is the call graph for this function:
UNS32 writeLocalDict | nico@215:( | nico@215:CO_Data * | nico@215:d, | nico@215:|
nico@215: | nico@215: | UNS16 | nico@215:wIndex, | nico@215:|
nico@215: | nico@215: | UNS8 | nico@215:bSubindex, | nico@215:|
nico@215: | nico@215: | void * | nico@215:pSourceData, | nico@215:|
nico@215: | nico@215: | UNS8 * | nico@215:pExpectedSize, | nico@215:|
nico@215: | nico@215: | UNS8 | nico@215:checkAccess | nico@215: |
nico@215: | ) | nico@215:nico@215: |
nico@215:
d | ||
wIndex | ||
bSubindex | ||
pSourceData | ||
pExpectedSize | ||
checkAccess |
nico@215: Definition at line 378 of file objacces.c. nico@215:
nico@215: References _setODentry(), and struct_s_timer_entry::d. nico@215:
nico@215: Referenced by main(), and TestMaster_initialisation(). nico@215:
etisserant@240: Here is the call graph for this function:
etisserant@240: