aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/platforms/STM32/spi_lld.h
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2009-12-19 11:10:08 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2009-12-19 11:10:08 +0000
commitc82d270d18cddcf15a0ccfcc95e861c33add8861 (patch)
tree446cccdcadf0db642f684dc3abd25e2c42e06abd /os/hal/platforms/STM32/spi_lld.h
parentcb565d0734615184aa74eb76981e55ff2aaebd35 (diff)
downloadChibiOS-c82d270d18cddcf15a0ccfcc95e861c33add8861.tar.gz
ChibiOS-c82d270d18cddcf15a0ccfcc95e861c33add8861.tar.bz2
ChibiOS-c82d270d18cddcf15a0ccfcc95e861c33add8861.zip
LPC214x SPI driver added.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@1442 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/platforms/STM32/spi_lld.h')
-rw-r--r--os/hal/platforms/STM32/spi_lld.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/os/hal/platforms/STM32/spi_lld.h b/os/hal/platforms/STM32/spi_lld.h
index 8748962f2..72349d7ea 100644
--- a/os/hal/platforms/STM32/spi_lld.h
+++ b/os/hal/platforms/STM32/spi_lld.h
@@ -38,6 +38,13 @@
/*===========================================================================*/
/**
+ * @brief Enables the mutual exclusion APIs on the SPI bus.
+ */
+#if !defined(SPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define SPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
+/**
* @brief SPI1 driver enable switch.
* @details If set to @p TRUE the support for SPI1 is included.
* @note The default is @p TRUE.