config.h

Go to the documentation of this file.
00001 /*
00002 This file is part of CanFestival, a library implementing CanOpen Stack.
00003 
00004 Copyright (C): Edouard TISSERANT and Francis DUPIN
00005 See COPYING file for copyrights details.
00006 
00007 This library is free software; you can redistribute it and/or
00008 modify it under the terms of the GNU Lesser General Public
00009 License as published by the Free Software Foundation; either
00010 version 2.1 of the License, or (at your option) any later version.
00011 
00012 This library is distributed in the hope that it will be useful,
00013 but WITHOUT ANY WARRANTY; without even the implied warranty of
00014 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00015 Lesser General Public License for more details.
00016 
00017 You should have received a copy of the GNU Lesser General Public
00018 License along with this library; if not, write to the Free Software
00019 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
00020 */
00021 
00022 #ifndef _CONFIG_H_
00023 #define _CONFIG_H_
00024 
00025 #define MAX_CAN_BUS_ID 1
00026 #define SDO_MAX_LENGTH_TRANSFERT 32
00027 #define SDO_MAX_SIMULTANEOUS_TRANSFERTS 4
00028 #define NMT_MAX_NODE_ID 128
00029 #define SDO_TIMEOUT_MS 3000
00030 #define MAX_NB_TIMER 32
00031 // CANOPEN_BIG_ENDIAN is not defined
00032 
00033 #define US_TO_TIMEVAL_FACTOR 1
00034 
00035 #define REPEAT_SDO_MAX_SIMULTANEOUS_TRANSFERTS_TIMES(repeat)\
00036 repeat repeat repeat repeat
00037 #define REPEAT_NMT_MAX_NODE_ID_TIMES(repeat)\
00038 repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat
00039 
00040 #endif /* _CONFIG_H_ */

Generated on Mon Jul 2 19:10:16 2007 for CanFestival by  doxygen 1.5.1