X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fdrv%2Fspi_bitbang.h;h=308b78bb7f7660ba0ea06ea815bfc23aaeb21623;hb=f8e4f3c7c1fec67b18126ee082f964cf9ceb14c7;hp=4bccb821a84dcc5bdd0a653cc03013d918244a20;hpb=382e8d5947a7a78fecd91dc887220f7acac1ccf3;p=bertos.git diff --git a/bertos/drv/spi_bitbang.h b/bertos/drv/spi_bitbang.h index 4bccb821..308b78bb 100644 --- a/bertos/drv/spi_bitbang.h +++ b/bertos/drv/spi_bitbang.h @@ -27,32 +27,36 @@ * 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 + * + * $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 "cfg/cfg_spi_bitbang.h" + #include -#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