16FXlib
can5.h
Go to the documentation of this file.
1 
2 //*****************************************************************************
3 // Author : Nicolas Weber
4 // Created : 14.05.2010
5 // Revised : 14.05.2010
6 // Version : 0.1
7 // Target MCU : Fujitsu MB96300 series
8 //
9 // This program is free software: you can redistribute it and/or modify
10 // it under the terms of the GNU General Public License as published by
11 // the Free Software Foundation, either version 3 of the License, or
12 // (at your option) any later version.
13 //
14 // This program is distributed in the hope that it will be useful,
15 // but WITHOUT ANY WARRANTY; without even the implied warranty of
16 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 // GNU General Public License for more details.
18 //
19 // You should have received a copy of the GNU General Public License
20 // along with this program. If not, see <http://www.gnu.org/licenses/>.
21 //
27 //*****************************************************************************
29 
30 #ifndef CAN5_H_
31 #define CAN5_H_
32 
33 #include "../inttypes.h"
34 
39 uint8_t can5_init(void);
40 
44 void can5_close(void);
45 
52 
58 
63  #define CAN5_PING_TIMEOUT 200000
64  #define CAN5_ALIVE_TIMEOUT 20000
65  #define CAN5_PORT 0
66 
67 
68 #endif
69 
void can5_close(void)
Definition: can5.c:116
unsigned char uint8_t
Definition: inttypes.h:35
uint8_t can5_isAlive(uint8_t address)
Definition: can5.c:54
uint8_t can5_getNewAddress(void)
Definition: can5.c:72
uint8_t can5_init(void)
Definition: can5.c:35