X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=boards%2Farduino%2Fexamples%2Faprs%2Fcfg%2Fcfg_spi_bitbang.h;fp=boards%2Farduino%2Fexamples%2Faprs%2Fcfg%2Fcfg_spi_bitbang.h;h=6e9a96bca5236337910fea8c7204c29faac34901;hb=ecb34d7a7fa3e00d9157eeafa2dea50cbbc317ce;hp=0000000000000000000000000000000000000000;hpb=95a0ab6c264432423d7d49839b24504df8fe15f5;p=bertos.git diff --git a/boards/arduino/examples/aprs/cfg/cfg_spi_bitbang.h b/boards/arduino/examples/aprs/cfg/cfg_spi_bitbang.h new file mode 100644 index 00000000..6e9a96bc --- /dev/null +++ b/boards/arduino/examples/aprs/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 */ +