git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@10770 35acf78f-673a-0410-8e92-d51de3d6d3f4
This commit is contained in:
Giovanni Di Sirio 2017-10-04 14:52:48 +00:00
parent 426c5edcd8
commit af9964c018
1 changed files with 6 additions and 4 deletions

View File

@ -1880,10 +1880,12 @@
#define STM32_I2C1_TX_DMA_CHN 0x00200020
#define STM32_HAS_I2C2 TRUE
#define STM32_I2C2_RX_DMA_MSK STM32_DMA_STREAM_ID_MSK(1, 5)
#define STM32_I2C2_RX_DMA_CHN 0x00000000
#define STM32_I2C2_TX_DMA_MSK STM32_DMA_STREAM_ID_MSK(1, 4)
#define STM32_I2C2_TX_DMA_CHN 0x00000000
#define STM32_I2C2_RX_DMA_MSK (STM32_DMA_STREAM_ID_MSK(1, 5) |\
STM32_DMA_STREAM_ID_MSK(2, 2))
#define STM32_I2C2_RX_DMA_CHN 0x00020020
#define STM32_I2C2_TX_DMA_MSK (STM32_DMA_STREAM_ID_MSK(1, 4) |\
STM32_DMA_STREAM_ID_MSK(2, 1))
#define STM32_I2C2_TX_DMA_CHN 0x00002002
#define STM32_HAS_I2C3 FALSE
#define STM32_HAS_I2C4 FALSE