2 * RPP API library header file.
6 * @copyright Copyright (C) 2013 Czech Technical University in Prague
8 * @author Carlos Jenkins <carlos@jenkins.co.cr>
15 extern void rpp_printf(const char* string, ...);
20 /* Include configuration */
21 #include "rpp/RppConfig.h"
24 #if rppCONFIG_INCLUDE_DIN == 1
28 #if rppCONFIG_INCLUDE_LOUT == 1
32 #if rppCONFIG_INCLUDE_ADC == 1
36 #if rppCONFIG_INCLUDE_DAC == 1
40 #if rppCONFIG_INCLUDE_HBR == 1
44 #if rppCONFIG_INCLUDE_MOUT == 1
48 #if rppCONFIG_INCLUDE_HOUT == 1
52 #if rppCONFIG_INCLUDE_CAN == 1
56 #if rppCONFIG_INCLUDE_LIN == 1
60 #if rppCONFIG_INCLUDE_FR == 1
64 #if rppCONFIG_INCLUDE_SCI == 1
68 #if rppCONFIG_DRV == 1
69 #error "Your build system is broken. "\
70 "You are trying to compile the RPP API against POSIX "\
71 "FreeRTOS for Simulation with dependency on the ARM-only "\
75 #include "rpp/sci_posix.h"
79 #if rppCONFIG_INCLUDE_ETH == 1
83 #if rppCONFIG_INCLUDE_SDC == 1
87 #if rppCONFIG_INCLUDE_SDR == 1
92 /* Library main functions */
95 * Library initialization function.
97 * Call this method before using this library.
99 * @return SUCCESS if initialization successful.\n
100 * FAILURE is library was already initialized.
105 #endif /* __RPP_RPP_H */