2 * RPP API library header file.
6 * @copyright Copyright (C) 2013, 2014, 2015 Czech Technical University in Prague
8 * @author Carlos Jenkins <carlos@jenkins.co.cr>
18 #include "rpp/mutex.h"
21 #if defined(TARGET_POSIX)
25 #include "rpp/sci_posix.h"
26 #elif defined(TARGET_RM48_HDK)
31 #elif defined(TARGET_TMS570_HDK) || defined(TARGET_TMS570_HYDCTR)
36 #elif defined(TARGET_TMS570_RPP)
52 #else /* if defined(TARGET_POSIX) */
53 #error No supported target specified!
54 #endif /* TARGET_TMS570_HDK */
56 #if defined(TARGET_HAS_SPI)
60 /* Library main functions */
63 * Library initialization function.
65 * This is a convenience function, that initializes all peripherals.
66 * If the application does not use all the peripherals it is better to
67 * call directly the rpp_<periph>_init() functions for the used
68 * peripherals as the resulting binary will be smaller.
70 * @return SUCCESS if initialization successful.\n
71 * FAILURE is library was already initialized.
75 #endif /* __RPP_RPP_H */