nico@207: \hypertarget{objacces_8h}{ nico@207: \section{/home/epimerde/documents/tc11/Can\-Festival-3/include/objacces.h File Reference} nico@207: \label{objacces_8h}\index{/home/epimerde/documents/tc11/CanFestival-3/include/objacces.h@{/home/epimerde/documents/tc11/CanFestival-3/include/objacces.h}} nico@207: } nico@207: Responsible for accessing the object dictionary. nico@207: nico@207: {\tt \#include $<$applicfg.h$>$}\par nico@207: {\tt \#include \char`\"{}data.h\char`\"{}}\par nico@207: \subsection*{Typedefs} nico@207: \begin{CompactItemize} nico@207: \item nico@207: typedef UNS32($\ast$) \hyperlink{objacces_8h_270e94e9acf61da8b2f36b3ebdbf2fdd}{value\-Range\-Test\_\-t} (UNS8 type\-Value, void $\ast$Value) nico@207: \item nico@207: typedef void($\ast$) \hyperlink{objacces_8h_7b55b55a3f5ed8e4b2991cb85c7be7ce}{store\-ODSub\-Index\_\-t} (UNS16 w\-Index, UNS8 b\-Subindex) nico@207: \end{CompactItemize} nico@207: \subsection*{Functions} nico@207: \begin{CompactItemize} nico@207: \item nico@207: void \hyperlink{objacces_8h_43bf8d2616cf3d7d713b4af3d33a139c}{\_\-store\-ODSub\-Index} (UNS16 w\-Index, UNS8 b\-Subindex) nico@207: \item nico@207: UNS8 \hyperlink{objacces_8h_75d39b2dadcdb48f7321c6f3766aad26}{access\-Dictionary\-Error} (UNS16 index, UNS8 sub\-Index, UNS8 size\-Data\-Dict, UNS8 size\-Data\-Given, UNS32 code) nico@207: \item nico@207: UNS32 \hyperlink{objacces_8h_39c263a4bc5d2d824fefe22fdb4c2dac}{get\-ODentry} (\hyperlink{structstruct__CO__Data}{CO\_\-Data} $\ast$d, UNS16 w\-Index, UNS8 b\-Subindex, void $\ast$p\-Dest\-Data, UNS8 $\ast$p\-Expected\-Size, UNS8 $\ast$p\-Data\-Type, UNS8 check\-Access) nico@207: \item nico@207: UNS32 \hyperlink{objacces_8h_17e598cc1b2e60380e2e4e75afe9b3b0}{set\-ODentry} (\hyperlink{structstruct__CO__Data}{CO\_\-Data} $\ast$d, UNS16 w\-Index, UNS8 b\-Subindex, void $\ast$p\-Source\-Data, UNS8 $\ast$p\-Expected\-Size, UNS8 check\-Access) nico@207: \item nico@207: UNS32 \hyperlink{objacces_8h_7cc58d6e7711bd0d9fd75e8ff721ce36}{write\-Local\-Dict} (\hyperlink{structstruct__CO__Data}{CO\_\-Data} $\ast$d, UNS16 w\-Index, UNS8 b\-Subindex, void $\ast$p\-Source\-Data, UNS8 $\ast$p\-Expected\-Size, UNS8 check\-Access) nico@207: \item nico@207: const \hyperlink{structtd__indextable}{indextable} $\ast$ \hyperlink{objacces_8h_11e9f24840d05a6a622955b51f91af53}{scan\-Index\-OD} (\hyperlink{structstruct__CO__Data}{CO\_\-Data} $\ast$d, UNS16 w\-Index, UNS32 $\ast$error\-Code, \hyperlink{objdictdef_8h_91481b154cacc926ae5824fd121d6b43}{ODCallback\_\-t} $\ast$$\ast$Callback) nico@207: \item nico@207: UNS32 \hyperlink{objacces_8h_514e7b9c13835a86446b1cd38fa34049}{Register\-Set\-ODentry\-Call\-Back} (\hyperlink{structstruct__CO__Data}{CO\_\-Data} $\ast$d, UNS16 w\-Index, UNS8 b\-Subindex, \hyperlink{objdictdef_8h_91481b154cacc926ae5824fd121d6b43}{ODCallback\_\-t} Callback) nico@207: \end{CompactItemize} nico@207: nico@207: nico@207: \subsection{Detailed Description} nico@207: Responsible for accessing the object dictionary. nico@207: 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 \begin{Desc} nico@207: \item[Warning:]Only the basic entries of an object dictionary are included at the moment. \end{Desc} nico@207: nico@207: nico@207: Definition in file \hyperlink{objacces_8h-source}{objacces.h}. nico@207: nico@207: \subsection{Typedef Documentation} nico@207: \hypertarget{objacces_8h_7b55b55a3f5ed8e4b2991cb85c7be7ce}{ nico@207: \index{objacces.h@{objacces.h}!storeODSubIndex_t@{storeODSubIndex\_\-t}} nico@207: \index{storeODSubIndex_t@{storeODSubIndex\_\-t}!objacces.h@{objacces.h}} nico@207: \subsubsection[storeODSubIndex\_\-t]{\setlength{\rightskip}{0pt plus 5cm}typedef void($\ast$ ) \hyperlink{objacces_8h_7b55b55a3f5ed8e4b2991cb85c7be7ce}{store\-ODSub\-Index\_\-t}(UNS16 w\-Index, UNS8 b\-Subindex)}} nico@207: \label{objacces_8h_7b55b55a3f5ed8e4b2991cb85c7be7ce} nico@207: nico@207: nico@207: nico@207: nico@207: Definition at line 40 of file objacces.h.\hypertarget{objacces_8h_270e94e9acf61da8b2f36b3ebdbf2fdd}{ nico@207: \index{objacces.h@{objacces.h}!valueRangeTest_t@{valueRangeTest\_\-t}} nico@207: \index{valueRangeTest_t@{valueRangeTest\_\-t}!objacces.h@{objacces.h}} nico@207: \subsubsection[valueRangeTest\_\-t]{\setlength{\rightskip}{0pt plus 5cm}typedef UNS32($\ast$) \hyperlink{objacces_8h_270e94e9acf61da8b2f36b3ebdbf2fdd}{value\-Range\-Test\_\-t}(UNS8 type\-Value, void $\ast$Value)}} nico@207: \label{objacces_8h_270e94e9acf61da8b2f36b3ebdbf2fdd} nico@207: nico@207: nico@207: nico@207: nico@207: Definition at line 39 of file objacces.h. nico@207: nico@207: \subsection{Function Documentation} nico@207: \hypertarget{objacces_8h_43bf8d2616cf3d7d713b4af3d33a139c}{ nico@207: \index{objacces.h@{objacces.h}!_storeODSubIndex@{\_\-storeODSubIndex}} nico@207: \index{_storeODSubIndex@{\_\-storeODSubIndex}!objacces.h@{objacces.h}} nico@207: \subsubsection[\_\-storeODSubIndex]{\setlength{\rightskip}{0pt plus 5cm}void \_\-store\-ODSub\-Index (UNS16 {\em w\-Index}, UNS8 {\em b\-Subindex})}} nico@207: \label{objacces_8h_43bf8d2616cf3d7d713b4af3d33a139c} nico@207: nico@207: nico@207: nico@207: nico@207: Definition at line 308 of file objacces.c.\hypertarget{objacces_8h_75d39b2dadcdb48f7321c6f3766aad26}{ nico@207: \index{objacces.h@{objacces.h}!accessDictionaryError@{accessDictionaryError}} nico@207: \index{accessDictionaryError@{accessDictionaryError}!objacces.h@{objacces.h}} nico@207: \subsubsection[accessDictionaryError]{\setlength{\rightskip}{0pt plus 5cm}UNS8 access\-Dictionary\-Error (UNS16 {\em index}, UNS8 {\em sub\-Index}, UNS8 {\em size\-Data\-Dict}, UNS8 {\em size\-Data\-Given}, UNS32 {\em code})}} nico@207: \label{objacces_8h_75d39b2dadcdb48f7321c6f3766aad26} 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.\hypertarget{objacces_8h_39c263a4bc5d2d824fefe22fdb4c2dac}{ nico@207: \index{objacces.h@{objacces.h}!getODentry@{getODentry}} nico@207: \index{getODentry@{getODentry}!objacces.h@{objacces.h}} nico@207: \subsubsection[getODentry]{\setlength{\rightskip}{0pt plus 5cm}UNS32 get\-ODentry (\hyperlink{structstruct__CO__Data}{CO\_\-Data} $\ast$ {\em d}, UNS16 {\em w\-Index}, UNS8 {\em b\-Subindex}, void $\ast$ {\em p\-Dest\-Data}, UNS8 $\ast$ {\em p\-Expected\-Size}, UNS8 $\ast$ {\em p\-Data\-Type}, UNS8 {\em check\-Access})}} nico@207: \label{objacces_8h_39c263a4bc5d2d824fefe22fdb4c2dac} nico@207: nico@207: nico@207: nico@207: nico@207: Definition at line 145 of file objacces.c. nico@207: nico@207: References \_\-get\-ODentry(), and struct\_\-s\_\-timer\_\-entry::d.\hypertarget{objacces_8h_514e7b9c13835a86446b1cd38fa34049}{ nico@207: \index{objacces.h@{objacces.h}!RegisterSetODentryCallBack@{RegisterSetODentryCallBack}} nico@207: \index{RegisterSetODentryCallBack@{RegisterSetODentryCallBack}!objacces.h@{objacces.h}} nico@207: \subsubsection[RegisterSetODentryCallBack]{\setlength{\rightskip}{0pt plus 5cm}UNS32 Register\-Set\-ODentry\-Call\-Back (\hyperlink{structstruct__CO__Data}{CO\_\-Data} $\ast$ {\em d}, UNS16 {\em w\-Index}, UNS8 {\em b\-Subindex}, \hyperlink{objdictdef_8h_91481b154cacc926ae5824fd121d6b43}{ODCallback\_\-t} {\em Callback})}} nico@207: \label{objacces_8h_514e7b9c13835a86446b1cd38fa34049} 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, scan\-Index\-OD(), and UNS32.\hypertarget{objacces_8h_11e9f24840d05a6a622955b51f91af53}{ nico@207: \index{objacces.h@{objacces.h}!scanIndexOD@{scanIndexOD}} nico@207: \index{scanIndexOD@{scanIndexOD}!objacces.h@{objacces.h}} nico@207: \subsubsection[scanIndexOD]{\setlength{\rightskip}{0pt plus 5cm}const \hyperlink{structtd__indextable}{indextable}$\ast$ scan\-Index\-OD (\hyperlink{structstruct__CO__Data}{CO\_\-Data} $\ast$ {\em d}, UNS16 {\em w\-Index}, UNS32 $\ast$ {\em error\-Code}, \hyperlink{objdictdef_8h_91481b154cacc926ae5824fd121d6b43}{ODCallback\_\-t} $\ast$$\ast$ {\em Callback})}} nico@207: \label{objacces_8h_11e9f24840d05a6a622955b51f91af53} 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::scan\-Index\-OD.\hypertarget{objacces_8h_17e598cc1b2e60380e2e4e75afe9b3b0}{ nico@207: \index{objacces.h@{objacces.h}!setODentry@{setODentry}} nico@207: \index{setODentry@{setODentry}!objacces.h@{objacces.h}} nico@207: \subsubsection[setODentry]{\setlength{\rightskip}{0pt plus 5cm}UNS32 set\-ODentry (\hyperlink{structstruct__CO__Data}{CO\_\-Data} $\ast$ {\em d}, UNS16 {\em w\-Index}, UNS8 {\em b\-Subindex}, void $\ast$ {\em p\-Source\-Data}, UNS8 $\ast$ {\em p\-Expected\-Size}, UNS8 {\em check\-Access})}} nico@207: \label{objacces_8h_17e598cc1b2e60380e2e4e75afe9b3b0} nico@207: nico@207: nico@207: nico@207: nico@207: Definition at line 257 of file objacces.c. nico@207: nico@207: References \_\-set\-ODentry(), and struct\_\-s\_\-timer\_\-entry::d.\hypertarget{objacces_8h_7cc58d6e7711bd0d9fd75e8ff721ce36}{ nico@207: \index{objacces.h@{objacces.h}!writeLocalDict@{writeLocalDict}} nico@207: \index{writeLocalDict@{writeLocalDict}!objacces.h@{objacces.h}} nico@207: \subsubsection[writeLocalDict]{\setlength{\rightskip}{0pt plus 5cm}UNS32 write\-Local\-Dict (\hyperlink{structstruct__CO__Data}{CO\_\-Data} $\ast$ {\em d}, UNS16 {\em w\-Index}, UNS8 {\em b\-Subindex}, void $\ast$ {\em p\-Source\-Data}, UNS8 $\ast$ {\em p\-Expected\-Size}, UNS8 {\em check\-Access})}} nico@207: \label{objacces_8h_7cc58d6e7711bd0d9fd75e8ff721ce36} nico@207: nico@207: nico@207: nico@207: nico@207: Definition at line 273 of file objacces.c. nico@207: nico@207: References \_\-set\-ODentry(), and struct\_\-s\_\-timer\_\-entry::d.