]> rtime.felk.cvut.cz Git - pes-rpp/rpp-lib.git/blobdiff - rpp/include/drv/drv.h
spi: Rework the SPI interface
[pes-rpp/rpp-lib.git] / rpp / include / drv / drv.h
index 7c6c2d67607bc098d2952ca4ce6602e409f9dd9e..5ee1a2d3541e760dfda31b5cb81cc5f0a75243c8 100644 (file)
@@ -3,7 +3,7 @@
  *
  * @file drv.h
  *
- * @copyright Copyright (C) 2013 Czech Technical University in Prague
+ * @copyright Copyright (C) 2013, 2015 Czech Technical University in Prague
  *
  * @author Carlos Jenkins <carlos@jenkins.co.cr>
  */
 #ifndef __DRV_H
 #define __DRV_H
 
-#include "hal/hal.h"
-
 #include "drv/adc.h"
-#include "drv/din.h"
+#include "drv/gio.h"
 #include "drv/sci.h"
 
+#ifdef TARGET_HAS_SPI
+#include "drv/spi.h"
+#endif
+
+#ifdef TARGET_TMS570_RPP
+#include "drv/dac.h"
+#include "drv/din.h"
+#include "drv/fray.h"
+#include "drv/fr_tms570.h"
+#include "drv/hbridge.h"
+#include "drv/hout.h"
+#include "drv/lout.h"
+#include "drv/mout.h"
+#endif /* TARGET_TMS570_RPP */
 
 #endif /* __DRV_H */