X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fdrv%2Fspi_bitbang.h;h=07c7b6a2d9220280799f06f69d6dd2dbcfa0e20a;hb=98c76a5f903d9e12d9af283d71ed61d8768969a7;hp=ff716906f00ab625489ae2d5684e09f7df820259;hpb=791e167e053bdd9250d34a9a5ccae6ccde4d6679;p=bertos.git diff --git a/bertos/drv/spi_bitbang.h b/bertos/drv/spi_bitbang.h index ff716906..07c7b6a2 100644 --- a/bertos/drv/spi_bitbang.h +++ b/bertos/drv/spi_bitbang.h @@ -27,7 +27,7 @@ * the GNU General Public License. * * Copyright 2003, 2004, 2006 Develer S.r.l. (http://www.develer.com/) - * Copyright 2000 Bernardo Innocenti + * Copyright 2000 Bernie Innocenti * * --> * @@ -37,22 +37,31 @@ * * \author Francesco Sacchi * \author Daniele Basile + * + * $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 -#include /** * 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 @@ -69,4 +78,4 @@ void spi_init(void); void spi_assertSS(void); void spi_deassertSS(void); -#endif /* DRV_SPI_EMU_H */ +#endif /* DRV_SPI_BITBANG_H */