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