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