]> rtime.felk.cvut.cz Git - pes-rpp/rpp-lib.git/blob - rpp/include/drv/drv.h
981b7eb023e73ed2f9cc07da19e4ebb06c34422c
[pes-rpp/rpp-lib.git] / rpp / include / drv / drv.h
1 /**
2  * Drivers library interface file.
3  *
4  * @file drv.h
5  *
6  * @copyright Copyright (C) 2013, 2015 Czech Technical University in Prague
7  *
8  * @author Carlos Jenkins <carlos@jenkins.co.cr>
9  */
10
11 #ifndef __DRV_H
12 #define __DRV_H
13
14 #include "hal/hal.h"
15
16 #if defined(TARGET_RM48_HDK)
17 #include "drv/_rm48_hdk/adc.h"
18 #elif defined(TARGET_TMS570_HDK)
19 #include "drv/_tms570_hdk/adc.h"
20 #elif defined(TARGET_TMS570_HYDCTR)
21 #include "drv/_tms570_hydctr/adc.h"
22 #elif defined(TARGET_TMS570_RPP)
23 #include "drv/_tms570_rpp/adc.h"
24 #else
25 #error No supported target specified!
26 #endif /* TARGET */
27
28 #include "drv/sci.h"
29
30 #ifdef TARGET_TMS570_RPP
31 #include "drv/dac.h"
32 #include "drv/din.h"
33 #include "drv/fray.h"
34 #include "drv/fr_tms570.h"
35 #include "drv/hbridge.h"
36 #include "drv/hout.h"
37 #include "drv/lout.h"
38 #include "drv/mout.h"
39 #endif /* TARGET_TMS570_RPP */
40
41 #endif /* __DRV_H */