objdictgen/examples/example_objdict.h
changeset 281 685d9a26e4f9
parent 0 4472ee7c6c3e
child 623 36b62c854ee2
--- a/objdictgen/examples/example_objdict.h	Mon Sep 24 09:37:04 2007 +0200
+++ b/objdictgen/examples/example_objdict.h	Tue Sep 25 08:19:44 2007 +0200
@@ -1,28 +1,25 @@
-/*
-This file is part of CanFestival, a library implementing CanOpen Stack. 
 
-Copyright (C): Edouard TISSERANT and Francis DUPIN
+/* File generated by gen_cfile.py. Should not be modified. */
 
-See COPYING file for copyrights details.
+#ifndef EXAMPLE_OBJDICT_H
+#define EXAMPLE_OBJDICT_H
 
-This library is free software; you can redistribute it and/or
-modify it under the terms of the GNU Lesser General Public
-License as published by the Free Software Foundation; either
-version 2.1 of the License, or (at your option) any later version.
+#include "data.h"
 
-This library is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-Lesser General Public License for more details.
+/* Prototypes of function provided by object dictionnary */
+UNS32 Linux_slave_valueRangeTest (UNS8 typeValue, void * value);
+const indextable * Linux_slave_scanIndexOD (UNS16 wIndex, UNS32 * errorCode, ODCallback_t **callbacks);
 
-You should have received a copy of the GNU Lesser General Public
-License along with this library; if not, write to the Free Software
-Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
-*/
-extern UNS8 seconds;		// Mapped at index 0x2000, subindex 0x01
-extern UNS8 minutes;		// Mapped at index 0x2000, subindex 0x02
-extern UNS8 hours;		// Mapped at index 0x2000, subindex 0x03
-extern UNS8 day;		// Mapped at index 0x2000, subindex 0x04
-extern UNS32 canopenErrNB;		// Mapped at index 0x6000, subindex 0x00
-extern UNS32 canopenErrVAL;		// Mapped at index 0x6001, subindex 0x00
-extern UNS8 strTest[10];		// Mapped at index 0x6002, subindex 0x00
+/* Master node data struct */
+extern CO_Data Linux_slave_Data;
+extern ODCallback_t Transmit_PDO_1_Parameter_callbacks[];		/* Callbacks of index0x1800 */
+extern ODCallback_t Transmit_PDO_2_Parameter_callbacks[];		/* Callbacks of index0x1801 */
+extern UNS8 Time_seconds;		/* Mapped at index 0x2000, subindex 0x01 */
+extern UNS8 Time_minutes;		/* Mapped at index 0x2000, subindex 0x02 */
+extern UNS8 Time_hours;		/* Mapped at index 0x2000, subindex 0x03 */
+extern UNS8 Time_days;		/* Mapped at index 0x2000, subindex 0x04 */
+extern UNS32 canopenErrNB;		/* Mapped at index 0x2001, subindex 0x00*/
+extern UNS32 canopenErrVal;		/* Mapped at index 0x2002, subindex 0x00*/
+extern UNS8 strTest[10];		/* Mapped at index 0x2003, subindex 0x00*/
+
+#endif // EXAMPLE_OBJDICT_H