X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fdrv%2Fspi_bitbang.h;h=392c790d0d4cf702c52f0f5a65489c6c8d04be69;hb=3a6471c19cf51b966d6922ff08eae8f194613785;hp=d770105b1b3963c683db682ec0d42d584a69a5cc;hpb=11da44352fcd4d33b173c976db45293ac1a87cca;p=bertos.git diff --git a/bertos/drv/spi_bitbang.h b/bertos/drv/spi_bitbang.h index d770105b..392c790d 100644 --- a/bertos/drv/spi_bitbang.h +++ b/bertos/drv/spi_bitbang.h @@ -27,33 +27,37 @@ * 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 $ + * \version $Id$ * * \author Francesco Sacchi * \author Daniele Basile + * + * $WIZ$ module_name = "spi_bitbang" + * $WIZ$ module_configuration = "bertos/cfg/cfg_spi_bitbang.h" + * $WIZ$ module_hw = "bertos/hw/hw_spi.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. - * \{ + * + * $WIZ$ 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