diff options
-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 f3018ee..65abfb6 100644 --- a/libmaple/rcc.c +++ b/libmaple/rcc.c @@ -72,6 +72,7 @@ static const struct rcc_dev_info rcc_dev_table[] = { [RCC_CRC] = { .clk_domain = AHB, .line_num = 6}, [RCC_FLITF] = { .clk_domain = AHB, .line_num = 4}, [RCC_SRAM] = { .clk_domain = AHB, .line_num = 2}, + [RCC_USB] = { .clk_domain = APB1, .line_num = 23}, #if defined(STM32_HIGH_DENSITY) || defined(STM32_XL_DENSITY) [RCC_GPIOE] = { .clk_domain = APB2, .line_num = 6 }, [RCC_GPIOF] = { .clk_domain = APB2, .line_num = 7 }, diff --git a/libmaple/rcc.h b/libmaple/rcc.h index 98bcf92..c50686c 100644 --- a/libmaple/rcc.h +++ b/libmaple/rcc.h @@ -456,6 +456,7 @@ typedef enum rcc_clk_id { RCC_CRC, RCC_FLITF, RCC_SRAM, + RCC_USB, #if defined(STM32_HIGH_DENSITY) || defined(STM32_XL_DENSITY) RCC_GPIOE, RCC_GPIOF, |