projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix BeRTOS version related bug.
[bertos.git]
/
bertos
/
drv
/
spi_bitbang.h
diff --git
a/bertos/drv/spi_bitbang.h
b/bertos/drv/spi_bitbang.h
index adbfedcbd139b95e39d2b68fd7ab1d62df348e49..392c790d0d4cf702c52f0f5a65489c6c8d04be69 100644
(file)
--- a/
bertos/drv/spi_bitbang.h
+++ b/
bertos/drv/spi_bitbang.h
@@
-27,33
+27,37
@@
* the GNU General Public License.
*
* Copyright 2003, 2004, 2006 Develer S.r.l. (http://www.develer.com/)
* the GNU General Public License.
*
* Copyright 2003, 2004, 2006 Develer S.r.l. (http://www.develer.com/)
- * Copyright 2000 Bern
ardo
Innocenti <bernie@codewiz.org>
+ * Copyright 2000 Bern
ie
Innocenti <bernie@codewiz.org>
*
* -->
*
*
* -->
*
- * \brief Emulated SPI
Master for DSP firmware download (interface)
+ * \brief Emulated SPI
driver.
*
*
- * \version $Id
: spi.h 15321 2007-03-21 14:45:12Z asterix
$
+ * \version $Id$
*
* \author Francesco Sacchi <batt@develer.com>
* \author Daniele Basile <asterix@develer.com>
*
* \author Francesco Sacchi <batt@develer.com>
* \author Daniele Basile <asterix@develer.com>
+ *
+ * $WIZ$ module_name = "spi_bitbang"
+ * $WIZ$ module_configuration = "bertos/cfg/cfg_spi_bitbang.h"
+ * $WIZ$ module_hw = "bertos/hw/hw_spi.h"
*/
#ifndef DRV_SPI_BITBANG_H
#define DRV_SPI_BITBANG_H
*/
#ifndef DRV_SPI_BITBANG_H
#define DRV_SPI_BITBANG_H
-#include
<appconfig.h>
+#include
"cfg/cfg_spi_bitbang.h"
#include <cfg/compiler.h>
/**
* Define send and receive order bit.
#include <cfg/compiler.h>
/**
* Define send and receive order bit.
- * \{
+ *
+ * $WIZ$ ordet_bit_list = "SPI_LSB_FIRST", "SPI_MSB_FIRST"
*/
#define SPI_LSB_FIRST 1
#define SPI_MSB_FIRST 2
*/
#define SPI_LSB_FIRST 1
#define SPI_MSB_FIRST 2
-/* \} */
#if CONFIG_SPI_DATAORDER == SPI_LSB_FIRST
#define SPI_DATAORDER_START 1
#if CONFIG_SPI_DATAORDER == SPI_LSB_FIRST
#define SPI_DATAORDER_START 1