diff options
Diffstat (limited to 'libmaple')
-rw-r--r-- | libmaple/rcc.c | 2 | ||||
-rw-r--r-- | libmaple/rcc.h | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/libmaple/rcc.c b/libmaple/rcc.c index 582e9a9..8914539 100644 --- a/libmaple/rcc.c +++ b/libmaple/rcc.c @@ -71,6 +71,8 @@ static const struct rcc_dev_info rcc_dev_table[] = { [RCC_SPI2] = { .clk_domain = APB1, .line_num = 14 }, [RCC_FSMC] = { .clk_domain = AHB, .line_num = 8 }, // High-density only [RCC_DAC] = { .clk_domain = APB1, .line_num = 9 }, // High-density only + [RCC_DMA1] = { .clk_domain = AHB, .line_num = 0 }, + [RCC_DMA2] = { .clk_domain = AHB, .line_num = 1 }, // High-density only }; /** diff --git a/libmaple/rcc.h b/libmaple/rcc.h index 012671d..deb567c 100644 --- a/libmaple/rcc.h +++ b/libmaple/rcc.h @@ -172,6 +172,8 @@ enum { RCC_SPI2, RCC_FSMC, // High-density devices only (Maple Native) RCC_DAC, // High-density devices only (Maple Native) + RCC_DMA1, + RCC_DMA2, // High-density devices only (Maple Native) }; |