X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fdrv%2Fspi_bitbang.h;h=07c7b6a2d9220280799f06f69d6dd2dbcfa0e20a;hb=effc744524c7ea52dfd6e803d467c461bb3ad77a;hp=d770105b1b3963c683db682ec0d42d584a69a5cc;hpb=11da44352fcd4d33b173c976db45293ac1a87cca;p=bertos.git diff --git a/bertos/drv/spi_bitbang.h b/bertos/drv/spi_bitbang.h index d770105b..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,23 +37,31 @@ * * \author Francesco Sacchi * \author Daniele Basile + * + * $WIZARD_MODULE = { + * "name" : "spi_bitbang", + * "depends" : [], + * "configuration" : "bertos/cfg/cfg_spi_bitbang.h" + * } */ #ifndef DRV_SPI_BITBANG_H #define DRV_SPI_BITBANG_H -#include +#include "cfg/cfg_spi_bitbang.h" #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