X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=boards%2Fat91sam7x-ek%2Fbenchmark%2Fat91sam7x-ek_kernel_footprint%2Fcfg%2Fcfg_spi_bitbang.h;fp=boards%2Fat91sam7x-ek%2Fbenchmark%2Fat91sam7x-ek_kernel_footprint%2Fcfg%2Fcfg_spi_bitbang.h;h=1a3a8a929303266d8dd186b3dff38655b42a10b2;hb=45a5ed5a6f4ccb4cf34e54b92eccb486436bc469;hp=0000000000000000000000000000000000000000;hpb=fbc4cfcfaf7efe9e326807a90b892e5c2836feef;p=bertos.git diff --git a/boards/at91sam7x-ek/benchmark/at91sam7x-ek_kernel_footprint/cfg/cfg_spi_bitbang.h b/boards/at91sam7x-ek/benchmark/at91sam7x-ek_kernel_footprint/cfg/cfg_spi_bitbang.h new file mode 100644 index 00000000..1a3a8a92 --- /dev/null +++ b/boards/at91sam7x-ek/benchmark/at91sam7x-ek_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 */ +