* the GNU General Public License.
*
* Copyright 2003, 2004, 2006 Develer S.r.l. (http://www.develer.com/)
- * Copyright 2000 Bernardo Innocenti <bernie@codewiz.org>
+ * Copyright 2000 Bernie Innocenti <bernie@codewiz.org>
*
* -->
*
*
* \author Francesco Sacchi <batt@develer.com>
* \author Daniele Basile <asterix@develer.com>
+ *
+ * $WIZARD_MODULE = {
+ * "name" : "spi_bitbang",
+ * "depends" : [],
+ * "configuration" : "bertos/cfg/cfg_spi_bitbang.h"
+ * }
*/
-#ifndef DRV_SPI_EMU_H
-#define DRV_SPI_EMU_H
+#ifndef DRV_SPI_BITBANG_H
+#define DRV_SPI_BITBANG_H
+
+#include "cfg/cfg_spi_bitbang.h"
#include <cfg/compiler.h>
-#include <appconfig.h>
/**
* Define send and receive order bit.
- * \{
+ *
+ * $WIZARD_LIST = {
+ * "ordet_bit_list" : ["SPI_LSB_FIRST", "SPI_MSB_FIRST"]
+ * }
*/
#define SPI_LSB_FIRST 1
#define SPI_MSB_FIRST 2
-/* \} */
#if CONFIG_SPI_DATAORDER == SPI_LSB_FIRST
#define SPI_DATAORDER_START 1
void spi_assertSS(void);
void spi_deassertSS(void);
-#endif /* DRV_SPI_EMU_H */
+#endif /* DRV_SPI_BITBANG_H */