#ifndef CFG_SPI_BITBANG_H
#define CFG_SPI_BITBANG_H
-/// Set data order for emulated SPI
-#define CONFIG_SPI_DATAORDER 1
+/**
+ * Set data order for emulated SPI.
+ *
+ * $WIZARD = {
+ * "type" : "enum",
+ * "value_list" : "ordet_bit_list"
+ * }
+ */
+#define CONFIG_SPI_DATAORDER SPI_LSB_FIRST
#endif /* CFG_SPI_BITBANG_H */
*
* \author Francesco Sacchi <batt@develer.com>
* \author Daniele Basile <asterix@develer.com>
+ *
+ * $WIZARD_MODULE = {
+ * "name" : "spi_bitbang",
+ * "depends" : [],
+ * "configuration" : "bertos/cfg/cfg_spi_bitbang.h"
+ * }
*/
/**
* Define send and receive order bit.
- * \{
+ *
+ * $WIZARD_LIST = {
+ * "ordet_bit_list" : ["SPI_LSB_FIRST", "SPI_MSB_FIRST"]
+ * }
*/
#define SPI_LSB_FIRST 1
#define SPI_MSB_FIRST 2
-/* \} */
#if CONFIG_SPI_DATAORDER == SPI_LSB_FIRST
#define SPI_DATAORDER_START 1