]> rtime.felk.cvut.cz Git - pes-rpp/rpp-lib.git/blob - rpp/include/rpp/rpp.h
Corrected RPP includes and normalized example main.c
[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/FreeRTOS.h"
21 #include "os/task.h"
22
23 /* Include configuration */
24 #include "rpp/RppConfig.h"
25
26 /* Include modules */
27 #if rppCONFIG_INCLUDE_DIN == 1
28 #include "rpp/rpp_din.h"
29 #endif
30
31 #if rppCONFIG_INCLUDE_LOUT == 1
32 #include "rpp/rpp_lout.h"
33 #endif
34
35 #if rppCONFIG_INCLUDE_AIN == 1
36 #include "rpp/rpp_ain.h"
37 #endif
38
39 #if rppCONFIG_INCLUDE_AOUT == 1
40 #include "rpp/rpp_aout.h"
41 #endif
42
43 #if rppCONFIG_INCLUDE_HBR == 1
44 #include "rpp/rpp_hbr.h"
45 #endif
46
47 #if rppCONFIG_INCLUDE_MOUT == 1
48 #include "rpp/rpp_mout.h"
49 #endif
50
51 #if rppCONFIG_INCLUDE_HOUT == 1
52 #include "rpp/rpp_hout.h"
53 #endif
54
55 #if rppCONFIG_INCLUDE_CAN == 1
56 #include "rpp/rpp_can.h"
57 #endif
58
59 #if rppCONFIG_INCLUDE_LIN == 1
60 #include "rpp/rpp_lin.h"
61 #endif
62
63 #if rppCONFIG_INCLUDE_FR == 1
64 #include "rpp/rpp_fr.h"
65 #endif
66
67 #if rppCONFIG_INCLUDE_SCI == 1
68 #include "rpp/rpp_sci.h"
69 #endif
70
71 #if rppCONFIG_INCLUDE_ETH == 1
72 #include "rpp/rpp_eth.h"
73 #endif
74
75 #if rppCONFIG_INCLUDE_SDC == 1
76 #include "rpp/rpp_sdc.h"
77 #endif
78
79 #if rppCONFIG_INCLUDE_SDR == 1
80 #include "rpp/rpp_sdr.h"
81 #endif
82
83
84 /* Library main functions */
85
86 /**
87  * Library initialization function.
88  * Call this method before using this library.
89  *
90  * @return SUCCESS if initialization successful.
91  *         FAIL is library was already initialized.
92  */
93 int8_t rpp_init();
94
95
96 #endif /* __RPP_RPP_H */