X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fdrv%2Fspi_bitbang.h;h=b2ebb622ea0ac17e4fea944a28e9d62ae4301516;hb=ac0fb85f4ec2d87789531dc9e5e7749bdc0b64b6;hp=d770105b1b3963c683db682ec0d42d584a69a5cc;hpb=11da44352fcd4d33b173c976db45293ac1a87cca;p=bertos.git diff --git a/bertos/drv/spi_bitbang.h b/bertos/drv/spi_bitbang.h index d770105b..b2ebb622 100644 --- a/bertos/drv/spi_bitbang.h +++ b/bertos/drv/spi_bitbang.h @@ -27,33 +27,41 @@ * 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 * * --> * - * \brief Emulated SPI Master for DSP firmware download (interface) + * \brief Emulated SPI driver. * * \version $Id: spi.h 15321 2007-03-21 14:45:12Z asterix $ * * \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