
CANfestival - an open source CANopen framework
framework/include/mbed/canfestival.h@6:bc64031ac849, 2012-09-26 (annotated)
- Committer:
- sam_grove
- Date:
- Wed Sep 26 05:43:05 2012 +0000
- Revision:
- 6:bc64031ac849
- Parent:
- 2:e0be90742924
Change a typecast in can_mbed.cpp from unit8_t * to char * to fit the CANMessage constructor
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
sam_grove |
2:e0be90742924 | 1 | /* |
sam_grove |
2:e0be90742924 | 2 | This file is part of CanFestival, a library implementing CanOpen Stack. |
sam_grove |
2:e0be90742924 | 3 | |
sam_grove |
0:6219434a0cb5 | 4 | Copyright (C): Edouard TISSERANT and Francis DUPIN |
sam_grove |
2:e0be90742924 | 5 | mbed port: sgrove |
sam_grove |
2:e0be90742924 | 6 | |
sam_grove |
2:e0be90742924 | 7 | See COPYING file for copyrights details. |
sam_grove |
2:e0be90742924 | 8 | |
sam_grove |
2:e0be90742924 | 9 | This library is free software; you can redistribute it and/or |
sam_grove |
2:e0be90742924 | 10 | modify it under the terms of the GNU Lesser General Public |
sam_grove |
2:e0be90742924 | 11 | License as published by the Free Software Foundation; either |
sam_grove |
2:e0be90742924 | 12 | version 2.1 of the License, or (at your option) any later version. |
sam_grove |
2:e0be90742924 | 13 | |
sam_grove |
2:e0be90742924 | 14 | This library is distributed in the hope that it will be useful, |
sam_grove |
2:e0be90742924 | 15 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
sam_grove |
2:e0be90742924 | 16 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
sam_grove |
2:e0be90742924 | 17 | Lesser General Public License for more details. |
sam_grove |
2:e0be90742924 | 18 | |
sam_grove |
2:e0be90742924 | 19 | You should have received a copy of the GNU Lesser General Public |
sam_grove |
2:e0be90742924 | 20 | License along with this library; if not, write to the Free Software |
sam_grove |
2:e0be90742924 | 21 | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
sam_grove |
2:e0be90742924 | 22 | */ |
sam_grove |
2:e0be90742924 | 23 | |
sam_grove |
2:e0be90742924 | 24 | |
sam_grove |
2:e0be90742924 | 25 | #ifndef __CAN_CANFESTIVAL__ |
sam_grove |
2:e0be90742924 | 26 | #define __CAN_CANFESTIVAL__ |
sam_grove |
2:e0be90742924 | 27 | |
sam_grove |
2:e0be90742924 | 28 | #include "applicfg.h" |
sam_grove |
2:e0be90742924 | 29 | #include "data.h" |
sam_grove |
2:e0be90742924 | 30 | |
sam_grove |
2:e0be90742924 | 31 | /************************* To be called by user app ***************************/ |
sam_grove |
2:e0be90742924 | 32 | |
sam_grove |
0:6219434a0cb5 | 33 | #ifdef __cplusplus |
sam_grove |
0:6219434a0cb5 | 34 | extern "C"{ |
sam_grove |
0:6219434a0cb5 | 35 | #endif |
sam_grove |
2:e0be90742924 | 36 | |
sam_grove |
2:e0be90742924 | 37 | extern void initTimer(void); |
sam_grove |
2:e0be90742924 | 38 | extern UNS8 canSend(CAN_PORT notused, Message *m); |
sam_grove |
0:6219434a0cb5 | 39 | extern UNS8 canChangeBaudRate(CAN_PORT port, char* baud); |
sam_grove |
0:6219434a0cb5 | 40 | |
sam_grove |
0:6219434a0cb5 | 41 | #ifdef __cplusplus |
sam_grove |
0:6219434a0cb5 | 42 | } |
sam_grove |
2:e0be90742924 | 43 | #endif |
sam_grove |
2:e0be90742924 | 44 | |
sam_grove |
2:e0be90742924 | 45 | #endif |