aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/ports/STM32/LLD/DMAv1/stm32_dma.h
diff options
context:
space:
mode:
authorGiovanni Di Sirio <gdisirio@gmail.com>2015-07-29 09:57:15 +0000
committerGiovanni Di Sirio <gdisirio@gmail.com>2015-07-29 09:57:15 +0000
commit5e5cb6651a739e36bcbd9bb07dd7aa537af9dbf0 (patch)
treef448972b027b4fd1130f742b8db411681eebcdad /os/hal/ports/STM32/LLD/DMAv1/stm32_dma.h
parentbbacae2118c4c05a477d93ec0aa356e63442f6e2 (diff)
downloadChibiOS-5e5cb6651a739e36bcbd9bb07dd7aa537af9dbf0.tar.gz
ChibiOS-5e5cb6651a739e36bcbd9bb07dd7aa537af9dbf0.tar.bz2
ChibiOS-5e5cb6651a739e36bcbd9bb07dd7aa537af9dbf0.zip
Added support for DMA channels sharing IRQs.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@8126 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/ports/STM32/LLD/DMAv1/stm32_dma.h')
-rw-r--r--os/hal/ports/STM32/LLD/DMAv1/stm32_dma.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/os/hal/ports/STM32/LLD/DMAv1/stm32_dma.h b/os/hal/ports/STM32/LLD/DMAv1/stm32_dma.h
index f8cf56dda..63e0c5cfc 100644
--- a/os/hal/ports/STM32/LLD/DMAv1/stm32_dma.h
+++ b/os/hal/ports/STM32/LLD/DMAv1/stm32_dma.h
@@ -201,6 +201,8 @@
*/
typedef struct {
DMA_Channel_TypeDef *channel; /**< @brief Associated DMA channel. */
+ uint32_t cmask; /**< @brief Mask of streams sharing
+ the same ISR. */
volatile uint32_t *ifcr; /**< @brief Associated IFCR reg. */
volatile uint32_t *cselr; /**< @brief Associated CSELR reg. */
uint8_t shift; /**< @brief Bit offset in IFCR and