X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=boards%2Farduino%2Fbenchmark%2Farduino_kernel_footprint%2Fcfg%2Fcfg_spi_bitbang.h;fp=boards%2Farduino%2Fbenchmark%2Farduino_kernel_footprint%2Fcfg%2Fcfg_spi_bitbang.h;h=1a3a8a929303266d8dd186b3dff38655b42a10b2;hb=a9694caa1505e6387d8976437d38b330499e18dc;hp=0000000000000000000000000000000000000000;hpb=f87390bf71f44a3ed9dc65c66128c5c6979655a9;p=bertos.git diff --git a/boards/arduino/benchmark/arduino_kernel_footprint/cfg/cfg_spi_bitbang.h b/boards/arduino/benchmark/arduino_kernel_footprint/cfg/cfg_spi_bitbang.h new file mode 100644 index 00000000..1a3a8a92 --- /dev/null +++ b/boards/arduino/benchmark/arduino_kernel_footprint/cfg/cfg_spi_bitbang.h @@ -0,0 +1,51 @@ +/** + * \file + * + * + * \brief Configuration file for SPI bitbang module. + * + * + * \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 */ +