X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=boards%2Fsam3x-ek%2Fexamples%2Fsam3x-ek_sd_bootloader%2Fcfg%2Fcfg_spi_bitbang.h;fp=boards%2Fsam3x-ek%2Fexamples%2Fsam3x-ek_sd_bootloader%2Fcfg%2Fcfg_spi_bitbang.h;h=1a3a8a929303266d8dd186b3dff38655b42a10b2;hb=f6ba188a9210135158ae19075f8cd038aac4a6ad;hp=0000000000000000000000000000000000000000;hpb=930b5178f390b73b337ce9694fc3d8321a26e665;p=bertos.git diff --git a/boards/sam3x-ek/examples/sam3x-ek_sd_bootloader/cfg/cfg_spi_bitbang.h b/boards/sam3x-ek/examples/sam3x-ek_sd_bootloader/cfg/cfg_spi_bitbang.h new file mode 100644 index 00000000..1a3a8a92 --- /dev/null +++ b/boards/sam3x-ek/examples/sam3x-ek_sd_bootloader/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 */ +