etisserant@145: /* etisserant@145: This file is part of CanFestival, a library implementing CanOpen Stack. etisserant@145: etisserant@145: Copyright (C): Edouard TISSERANT and Francis DUPIN etisserant@145: Win32 Port Leonid Tochinski etisserant@145: etisserant@145: See COPYING file for copyrights details. etisserant@145: etisserant@145: This library is free software; you can redistribute it and/or etisserant@145: modify it under the terms of the GNU Lesser General Public etisserant@145: License as published by the Free Software Foundation; either etisserant@145: version 2.1 of the License, or (at your option) any later version. etisserant@145: etisserant@145: This library is distributed in the hope that it will be useful, etisserant@145: but WITHOUT ANY WARRANTY; without even the implied warranty of etisserant@145: MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU etisserant@145: Lesser General Public License for more details. etisserant@145: etisserant@145: You should have received a copy of the GNU Lesser General Public etisserant@145: License along with this library; if not, write to the Free Software etisserant@145: Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA etisserant@145: */ etisserant@145: #ifndef CANFESTIVAL_H_ etisserant@145: #define CANFESTIVAL_H_ etisserant@145: etisserant@145: #include "timerscfg.h" etisserant@145: #include "can_driver.h" etisserant@145: #include "data.h" greg@329: #include "timers_driver.h" etisserant@145: etisserant@145: #include etisserant@145: typedef HINSTANCE LIB_HANDLE; etisserant@145: etisserant@145: UNS8 UnLoadCanDriver(LIB_HANDLE handle); etisserant@480: LIB_HANDLE LoadCanDriver(const char* driver_name); etisserant@145: UNS8 canSend(CAN_PORT port, Message *m); etisserant@145: CAN_PORT canOpen(s_BOARD *board, CO_Data * d); etisserant@149: int canClose(CO_Data * d); groke6@384: UNS8 canChangeBaudRate(CAN_PORT port, char* baud); etisserant@145: etisserant@145: #endif /*CANFESTIVAL_H_*/