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