diff options
author | Giovanni Di Sirio <gdisirio@gmail.com> | 2015-11-09 10:46:27 +0000 |
---|---|---|
committer | Giovanni Di Sirio <gdisirio@gmail.com> | 2015-11-09 10:46:27 +0000 |
commit | a77f1ee7222961d1933ce585dc7f42d443c903d8 (patch) | |
tree | 13401dc49f38b2546a88c3e6315d00c8076429c8 /os/hal/ports/STM32/STM32L1xx | |
parent | eaf54ee27ae92ec66d7c787ee647e59abf05bd91 (diff) | |
download | ChibiOS-a77f1ee7222961d1933ce585dc7f42d443c903d8.tar.gz ChibiOS-a77f1ee7222961d1933ce585dc7f42d443c903d8.tar.bz2 ChibiOS-a77f1ee7222961d1933ce585dc7f42d443c903d8.zip |
Added I2S attributes to STM32 registry entries.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@8457 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/ports/STM32/STM32L1xx')
-rw-r--r-- | os/hal/ports/STM32/STM32L1xx/stm32_registry.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/os/hal/ports/STM32/STM32L1xx/stm32_registry.h b/os/hal/ports/STM32/STM32L1xx/stm32_registry.h index 89d570f4f..ff369eb6b 100644 --- a/os/hal/ports/STM32/STM32L1xx/stm32_registry.h +++ b/os/hal/ports/STM32/STM32L1xx/stm32_registry.h @@ -200,10 +200,13 @@ /* SPI attributes.*/
#define STM32_HAS_SPI1 TRUE
+#define STM32_SPI1_SUPPORTS_I2S FALSE
#define STM32_SPI_SPI1_RX_DMA_STREAM STM32_DMA_STREAM_ID(1, 2)
#define STM32_SPI_SPI1_TX_DMA_STREAM STM32_DMA_STREAM_ID(1, 3)
#define STM32_HAS_SPI2 TRUE
+#define STM32_SPI2_SUPPORTS_I2S TRUE
+#define STM32_SPI2_I2S_FULLDUPLEX FALSE
#define STM32_SPI_SPI2_RX_DMA_STREAM STM32_DMA_STREAM_ID(1, 4)
#define STM32_SPI_SPI2_TX_DMA_STREAM STM32_DMA_STREAM_ID(1, 5)
@@ -212,6 +215,8 @@ #define STM32_HAS_SPI3 FALSE
#else
#define STM32_HAS_SPI3 TRUE
+#define STM32_SPI3_SUPPORTS_I2S TRUE
+#define STM32_SPI3_I2S_FULLDUPLEX FALSE
#define STM32_SPI_SPI3_RX_DMA_STREAM STM32_DMA_STREAM_ID(2, 1)
#define STM32_SPI_SPI3_TX_DMA_STREAM STM32_DMA_STREAM_ID(2, 2)
#endif
|