aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libmaple/rcc.c1
-rw-r--r--libmaple/rcc.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/libmaple/rcc.c b/libmaple/rcc.c
index efb2599..37c1ec4 100644
--- a/libmaple/rcc.c
+++ b/libmaple/rcc.c
@@ -83,6 +83,7 @@ static const struct rcc_dev_info rcc_dev_table[] = {
[RCC_DAC] = { .clk_domain = APB1, .line_num = 29 },
[RCC_DMA2] = { .clk_domain = AHB, .line_num = 1 },
[RCC_SDIO] = { .clk_domain = AHB, .line_num = 10 },
+ [RCC_SPI3] = { .clk_domain = APB1, .line_num = 15 },
#endif
#ifdef STM32_XL_DENSITY
[RCC_TIMER9] = { .clk_domain = APB2, .line_num = 19 },
diff --git a/libmaple/rcc.h b/libmaple/rcc.h
index 08f8977..f0f026b 100644
--- a/libmaple/rcc.h
+++ b/libmaple/rcc.h
@@ -467,6 +467,7 @@ typedef enum {
RCC_DAC,
RCC_DMA2,
RCC_SDIO,
+ RCC_SPI3,
#endif
#ifdef STM32_XL_DENSITY
RCC_TIMER9,