diff options
author | Marti Bolivar <mbolivar@leaflabs.com> | 2011-04-29 12:02:51 -0400 |
---|---|---|
committer | Marti Bolivar <mbolivar@leaflabs.com> | 2011-04-29 12:02:51 -0400 |
commit | 13faed75ea1366c14995aa6649b4262029822516 (patch) | |
tree | 91c45967a8ff557000951fe87f9ab1a64f5c4875 /libmaple | |
parent | 7cd5350622f5c7c84662beaee5b92a362be0f59b (diff) | |
download | librambutan-13faed75ea1366c14995aa6649b4262029822516.tar.gz librambutan-13faed75ea1366c14995aa6649b4262029822516.zip |
Adding RCC_SPI3 for high density devices.
Diffstat (limited to 'libmaple')
-rw-r--r-- | libmaple/rcc.c | 1 | ||||
-rw-r--r-- | libmaple/rcc.h | 1 |
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, |