X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=boards%2Ftriface%2Ftemplates%2Fkernel%2Fcfg%2Fcfg_spi_bitbang.h;fp=boards%2Ftriface%2Ftemplates%2Fkernel%2Fcfg%2Fcfg_spi_bitbang.h;h=6e9a96bca5236337910fea8c7204c29faac34901;hb=21a73d56f68ce7a0e3f44a41c466853982017582;hp=0000000000000000000000000000000000000000;hpb=02bb2b3d13447ada9613eacadd38ada1bb5b8773;p=bertos.git diff --git a/boards/triface/templates/kernel/cfg/cfg_spi_bitbang.h b/boards/triface/templates/kernel/cfg/cfg_spi_bitbang.h new file mode 100644 index 00000000..6e9a96bc --- /dev/null +++ b/boards/triface/templates/kernel/cfg/cfg_spi_bitbang.h @@ -0,0 +1,52 @@ +/** + * \file + * + * + * \brief Configuration file for SPI bitbang module. + * + * \version $Id$ + * + * \author Daniele Basile + */ + +#ifndef CFG_SPI_BITBANG_H +#define CFG_SPI_BITBANG_H + +/** + * Set data order for emulated SPI. + * + * $WIZ$ type = "enum" + * $WIZ$ value_list = "ordet_bit_list" + */ +#define CONFIG_SPI_DATAORDER SPI_LSB_FIRST + +#endif /* CFG_SPI_BITBANG_H */ +