hsk-libs-dev  270
High Speed Karlsruhe XC878 library collection
config.h
Go to the documentation of this file.
1 /** \file
2  * Configuration for the Infineon XC800 Starter Kit.
3  *
4  * @author kami
5  */
6 
7 #ifndef _HSK_CONFIG_H_
8 #define _HSK_CONFIG_H_
9 
10 /**
11  * The external oscilator clock frequency.
12  */
13 #define CLK 8000000UL
14 
15 /**
16  * The CAN0 baud rate in bits/s.
17  */
18 #define CAN0_BAUD 1000000
19 
20 /**
21  * The CAN1 baud rate in bits/s.
22  */
23 #define CAN1_BAUD 1000000
24 
25 /**
26  * The CAN0 IO pin configuration RX P1.0 TX P1.1.
27  */
28 #define CAN0_IO CAN0_IO_P10_P11
29 
30 /**
31  * The CAN1 IO pin configuration RX P1.4 TX P1.3.
32  */
33 #define CAN1_IO CAN1_IO_P14_P13
34 
35 #endif /* _HSK_CONFIG_H_ */