diff -r 003cc3c63855 -r f49e5a6b7804 doc/doxygen/html/can__driver_8h-source.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/doc/doxygen/html/can__driver_8h-source.html Fri Jun 08 09:23:56 2007 +0200 @@ -0,0 +1,78 @@ + +
+00001 /* +00002 This file is part of CanFestival, a library implementing CanOpen Stack. +00003 +00004 Copyright (C): Edouard TISSERANT and Francis DUPIN +00005 +00006 See COPYING file for copyrights details. +00007 +00008 This library is free software; you can redistribute it and/or +00009 modify it under the terms of the GNU Lesser General Public +00010 License as published by the Free Software Foundation; either +00011 version 2.1 of the License, or (at your option) any later version. +00012 +00013 This library is distributed in the hope that it will be useful, +00014 but WITHOUT ANY WARRANTY; without even the implied warranty of +00015 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +00016 Lesser General Public License for more details. +00017 +00018 You should have received a copy of the GNU Lesser General Public +00019 License along with this library; if not, write to the Free Software +00020 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +00021 */ +00022 +00023 #ifndef __can_driver_h__ +00024 #define __can_driver_h__ +00025 +00026 struct struct_s_BOARD; +00027 +00028 typedef struct struct_s_BOARD s_BOARD; +00029 +00030 #include "applicfg.h" +00031 #include "can.h" +00032 +00033 struct struct_s_BOARD { +00034 char * busname; +00035 char * baudrate; +00036 }; +00037 +00038 #ifndef DLL_CALL +00039 #define DLL_CALL(funcname) funcname##_driver +00040 #endif +00041 +00042 #ifndef FCT_PTR_INIT +00043 #define FCT_PTR_INIT +00044 #endif +00045 +00046 +00047 UNS8 DLL_CALL(canReceive)(CAN_HANDLE, Message *)FCT_PTR_INIT; +00048 UNS8 DLL_CALL(canSend)(CAN_HANDLE, Message *)FCT_PTR_INIT; +00049 CAN_HANDLE DLL_CALL(canOpen)(s_BOARD *)FCT_PTR_INIT; +00050 int DLL_CALL(canClose)(CAN_HANDLE)FCT_PTR_INIT; +00051 +00052 #endif +