nico@207: nico@207:
nico@207:
nico@207: #include <applicfg.h>
nico@207: #include "data.h"
nico@207:
nico@207:
nico@207: 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@207: 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@207: Definition in file objacces.h.
typedef void(* ) storeODSubIndex_t(UNS16 wIndex, UNS8 bSubindex) | nico@207:
nico@207: nico@207:
nico@207: Definition at line 40 of file objacces.h. nico@207:
typedef UNS32(*) valueRangeTest_t(UNS8 typeValue, void *Value) | nico@207:
nico@207: nico@207:
nico@207: Definition at line 39 of file objacces.h. nico@207:
nico@207:
void _storeODSubIndex | nico@207:( | nico@207:UNS16 | nico@207:wIndex, | nico@207:|
nico@207: | nico@207: | UNS8 | nico@207:bSubindex | nico@207: |
nico@207: | ) | nico@207:nico@207: |
nico@207: nico@207:
nico@207: Definition at line 308 of file objacces.c. nico@207:
UNS8 accessDictionaryError | nico@207:( | nico@207:UNS16 | nico@207:index, | nico@207:|
nico@207: | nico@207: | UNS8 | nico@207:subIndex, | nico@207:|
nico@207: | nico@207: | UNS8 | nico@207:sizeDataDict, | nico@207:|
nico@207: | nico@207: | UNS8 | nico@207:sizeDataGiven, | nico@207:|
nico@207: | nico@207: | UNS32 | nico@207:code | nico@207: |
nico@207: | ) | nico@207:nico@207: |
nico@207: nico@207:
nico@207: Definition at line 31 of file objacces.c. nico@207:
nico@207: 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@207:
UNS32 getODentry | nico@207:( | nico@207:CO_Data * | nico@207:d, | nico@207:|
nico@207: | nico@207: | UNS16 | nico@207:wIndex, | nico@207:|
nico@207: | nico@207: | UNS8 | nico@207:bSubindex, | nico@207:|
nico@207: | nico@207: | void * | nico@207:pDestData, | nico@207:|
nico@207: | nico@207: | UNS8 * | nico@207:pExpectedSize, | nico@207:|
nico@207: | nico@207: | UNS8 * | nico@207:pDataType, | nico@207:|
nico@207: | nico@207: | UNS8 | nico@207:checkAccess | nico@207: |
nico@207: | ) | nico@207:nico@207: |
nico@207: nico@207:
nico@207: Definition at line 145 of file objacces.c. nico@207:
nico@207: References _getODentry(), and struct_s_timer_entry::d. nico@207:
UNS32 RegisterSetODentryCallBack | nico@207:( | nico@207:CO_Data * | nico@207:d, | nico@207:|
nico@207: | nico@207: | UNS16 | nico@207:wIndex, | nico@207:|
nico@207: | nico@207: | UNS8 | nico@207:bSubindex, | nico@207:|
nico@207: | nico@207: | ODCallback_t | nico@207:Callback | nico@207: |
nico@207: | ) | nico@207:nico@207: |
nico@207: nico@207:
nico@207: Definition at line 297 of file objacces.c. nico@207:
nico@207: References struct_s_timer_entry::d, OD_SUCCESSFUL, scanIndexOD(), and UNS32. nico@207:
const indextable* scanIndexOD | nico@207:( | nico@207:CO_Data * | nico@207:d, | nico@207:|
nico@207: | nico@207: | UNS16 | nico@207:wIndex, | nico@207:|
nico@207: | nico@207: | UNS32 * | nico@207:errorCode, | nico@207:|
nico@207: | nico@207: | ODCallback_t ** | nico@207:Callback | nico@207: |
nico@207: | ) | nico@207:nico@207: |
nico@207: nico@207:
nico@207: Definition at line 292 of file objacces.c. nico@207:
nico@207: References struct_s_timer_entry::d, and struct_CO_Data::scanIndexOD. nico@207:
UNS32 setODentry | nico@207:( | nico@207:CO_Data * | nico@207:d, | nico@207:|
nico@207: | nico@207: | UNS16 | nico@207:wIndex, | nico@207:|
nico@207: | nico@207: | UNS8 | nico@207:bSubindex, | nico@207:|
nico@207: | nico@207: | void * | nico@207:pSourceData, | nico@207:|
nico@207: | nico@207: | UNS8 * | nico@207:pExpectedSize, | nico@207:|
nico@207: | nico@207: | UNS8 | nico@207:checkAccess | nico@207: |
nico@207: | ) | nico@207:nico@207: |
nico@207: nico@207:
nico@207: Definition at line 257 of file objacces.c. nico@207:
nico@207: References _setODentry(), and struct_s_timer_entry::d. nico@207:
UNS32 writeLocalDict | nico@207:( | nico@207:CO_Data * | nico@207:d, | nico@207:|
nico@207: | nico@207: | UNS16 | nico@207:wIndex, | nico@207:|
nico@207: | nico@207: | UNS8 | nico@207:bSubindex, | nico@207:|
nico@207: | nico@207: | void * | nico@207:pSourceData, | nico@207:|
nico@207: | nico@207: | UNS8 * | nico@207:pExpectedSize, | nico@207:|
nico@207: | nico@207: | UNS8 | nico@207:checkAccess | nico@207: |
nico@207: | ) | nico@207:nico@207: |
nico@207: nico@207:
nico@207: Definition at line 273 of file objacces.c. nico@207:
nico@207: References _setODentry(), and struct_s_timer_entry::d. nico@207:
nico@207: