]> rtime.felk.cvut.cz Git - pes-rpp/rpp-lib.git/blob - rpp/include/rpp/rpp.h
Still fixing the library...
[pes-rpp/rpp-lib.git] / rpp / include / rpp / rpp.h
1 /**
2  * RPP API library header file.
3  *
4  * @file rpp.h
5  *
6  * @copyright Copyright (C) 2013 Czech Technical University in Prague
7  *
8  * @author Carlos Jenkins <carlos@jenkins.co.cr>
9  */
10
11
12 #ifndef __RPP_RPP_H
13 #define __RPP_RPP_H
14
15 /* Standard includes */
16 #include "types.h"
17 #include "binary.h"
18
19 /* Operating system includes */
20 #include "os/os.h"
21
22 /* Include configuration */
23 #include "rpp/RppConfig.h"
24
25 /* Include modules */
26 #if rppCONFIG_INCLUDE_DIN == 1
27 #include "rpp/din.h"
28 #endif
29
30 #if rppCONFIG_INCLUDE_LOUT == 1
31 #include "rpp/lout.h"
32 #endif
33
34 #if rppCONFIG_INCLUDE_AIN == 1
35 #include "rpp/ain.h"
36 #endif
37
38 #if rppCONFIG_INCLUDE_AOUT == 1
39 #include "rpp/aout.h"
40 #endif
41
42 #if rppCONFIG_INCLUDE_HBR == 1
43 #include "rpp/hbr.h"
44 #endif
45
46 #if rppCONFIG_INCLUDE_MOUT == 1
47 #include "rpp/mout.h"
48 #endif
49
50 #if rppCONFIG_INCLUDE_HOUT == 1
51 #include "rpp/hout.h"
52 #endif
53
54 #if rppCONFIG_INCLUDE_CAN == 1
55 #include "rpp/can.h"
56 #endif
57
58 #if rppCONFIG_INCLUDE_LIN == 1
59 #include "rpp/lin.h"
60 #endif
61
62 #if rppCONFIG_INCLUDE_FR == 1
63 #include "rpp/fr.h"
64 #endif
65
66 #if rppCONFIG_INCLUDE_SCI == 1
67 #include "rpp/sci.h"
68 #endif
69
70 #if rppCONFIG_INCLUDE_ETH == 1
71 #include "rpp/eth.h"
72 #endif
73
74 #if rppCONFIG_INCLUDE_SDC == 1
75 #include "rpp/sdc.h"
76 #endif
77
78 #if rppCONFIG_INCLUDE_SDR == 1
79 #include "rpp/sdr.h"
80 #endif
81
82
83 /* Library main functions */
84
85 /**
86  * Library initialization function.
87  * Call this method before using this library.
88  *
89  * @return SUCCESS if initialization successful.
90  *         FAIL is library was already initialized.
91  */
92 int8_t rpp_init();
93
94
95 #endif /* __RPP_RPP_H */