From 54c6c833fea7a8c6c7347eacd0dc7dcc42a65b7f Mon Sep 17 00:00:00 2001 From: Guillaume Revaillot Date: Wed, 18 Apr 2018 13:17:46 +0200 Subject: [PATCH] stm32: stm32f09x has two independent dma controlers, add RCC bits. --- include/libopencm3/stm32/f0/rcc.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/libopencm3/stm32/f0/rcc.h b/include/libopencm3/stm32/f0/rcc.h index d32142d2..5872c7a2 100644 --- a/include/libopencm3/stm32/f0/rcc.h +++ b/include/libopencm3/stm32/f0/rcc.h @@ -403,6 +403,8 @@ enum rcc_osc { enum rcc_periph_clken { /* AHB peripherals */ RCC_DMA = _REG_BIT(0x14, 0), + RCC_DMA1 = _REG_BIT(0x14, 0), /* Compatibility alias */ + RCC_DMA2 = _REG_BIT(0x14, 1), RCC_SRAM = _REG_BIT(0x14, 2), RCC_FLTIF = _REG_BIT(0x14, 4), RCC_CRC = _REG_BIT(0x14, 6),