diff options
Diffstat (limited to 'libmaple')
-rw-r--r-- | libmaple/stm32f1/include/series/rcc.h | 54 | ||||
-rw-r--r-- | libmaple/stm32f2/include/series/rcc.h | 100 |
2 files changed, 77 insertions, 77 deletions
diff --git a/libmaple/stm32f1/include/series/rcc.h b/libmaple/stm32f1/include/series/rcc.h index e6afe0e..225ca49 100644 --- a/libmaple/stm32f1/include/series/rcc.h +++ b/libmaple/stm32f1/include/series/rcc.h @@ -391,52 +391,52 @@ typedef struct rcc_reg_map { * @brief STM32F1 rcc_clk_id. */ typedef enum rcc_clk_id { - RCC_GPIOA, - RCC_GPIOB, - RCC_GPIOC, - RCC_GPIOD, - RCC_AFIO, RCC_ADC1, RCC_ADC2, RCC_ADC3, - RCC_USART1, - RCC_USART2, - RCC_USART3, - RCC_TIMER1, - RCC_TIMER2, - RCC_TIMER3, - RCC_TIMER4, - RCC_SPI1, - RCC_SPI2, - RCC_DMA1, - RCC_PWR, + RCC_AFIO, RCC_BKP, - RCC_I2C1, - RCC_I2C2, RCC_CRC, + RCC_DAC, + RCC_DMA1, + RCC_DMA2, RCC_FLITF, - RCC_SRAM, - RCC_USB, + RCC_FSMC, + RCC_GPIOA, + RCC_GPIOB, + RCC_GPIOC, + RCC_GPIOD, RCC_GPIOE, RCC_GPIOF, RCC_GPIOG, - RCC_UART4, - RCC_UART5, + RCC_I2C1, + RCC_I2C2, + RCC_PWR, + RCC_SDIO, + RCC_SPI1, + RCC_SPI2, + RCC_SPI3, + RCC_SRAM, + RCC_TIMER1, + RCC_TIMER2, + RCC_TIMER3, + RCC_TIMER4, RCC_TIMER5, RCC_TIMER6, RCC_TIMER7, RCC_TIMER8, - RCC_FSMC, - RCC_DAC, - RCC_DMA2, - RCC_SDIO, - RCC_SPI3, RCC_TIMER9, RCC_TIMER10, RCC_TIMER11, RCC_TIMER12, RCC_TIMER13, RCC_TIMER14, + RCC_USART1, + RCC_USART2, + RCC_USART3, + RCC_UART4, + RCC_UART5, + RCC_USB, } rcc_clk_id; /** diff --git a/libmaple/stm32f2/include/series/rcc.h b/libmaple/stm32f2/include/series/rcc.h index 1d9de85..441a5a8 100644 --- a/libmaple/stm32f2/include/series/rcc.h +++ b/libmaple/stm32f2/include/series/rcc.h @@ -759,67 +759,67 @@ typedef enum rcc_clk { * @brief STM32F2 rcc_clk_id. */ typedef enum rcc_clk_id { - RCC_OTGHSULPI, - RCC_OTGHS, - RCC_ETHMACPTP, - RCC_ETHMACRX, - RCC_ETHMACTX, - RCC_ETHMAC, - RCC_DMA2, - RCC_DMA1, + RCC_ADC1, + RCC_ADC2, + RCC_ADC3, RCC_BKPSRAM, + RCC_CAN1, + RCC_CAN2, RCC_CRC, - RCC_GPIOI, - RCC_GPIOH, - RCC_GPIOG, - RCC_GPIOF, - RCC_GPIOE, - RCC_GPIOD, - RCC_GPIOC, - RCC_GPIOB, - RCC_GPIOA, - RCC_OTGFS, - RCC_RNG, - RCC_HASH, RCC_CRYP, + RCC_DAC, RCC_DCMI, + RCC_DMA1, + RCC_DMA2, + RCC_ETHMAC, + RCC_ETHMACPTP, + RCC_ETHMACRX, + RCC_ETHMACTX, RCC_FSMC, - RCC_DAC, - RCC_PWR, - RCC_CAN2, - RCC_CAN1, - RCC_I2C3, - RCC_I2C2, + RCC_GPIOA, + RCC_GPIOB, + RCC_GPIOC, + RCC_GPIOD, + RCC_GPIOE, + RCC_GPIOF, + RCC_GPIOG, + RCC_GPIOH, + RCC_GPIOI, + RCC_HASH, RCC_I2C1, - RCC_UART5, - RCC_UART4, - RCC_USART3, - RCC_USART2, - RCC_SPI3, + RCC_I2C2, + RCC_I2C3, + RCC_OTGFS, + RCC_OTGHS, + RCC_OTGHSULPI, + RCC_PWR, + RCC_RNG, + RCC_SDIO, + RCC_SPI1, RCC_SPI2, - RCC_WWDG, - RCC_TIMER14, - RCC_TIMER13, + RCC_SPI3, + RCC_SYSCFG, + RCC_TIMER1, + RCC_TIMER10, + RCC_TIMER11, RCC_TIMER12, - RCC_TIMER7, - RCC_TIMER6, - RCC_TIMER5, - RCC_TIMER4, - RCC_TIMER3, + RCC_TIMER13, + RCC_TIMER14, RCC_TIMER2, - RCC_TIMER11, - RCC_TIMER10, + RCC_TIMER3, + RCC_TIMER4, + RCC_TIMER5, + RCC_TIMER6, + RCC_TIMER7, + RCC_TIMER8, RCC_TIMER9, - RCC_SYSCFG, - RCC_SPI1, - RCC_SDIO, - RCC_ADC3, - RCC_ADC2, - RCC_ADC1, - RCC_USART6, RCC_USART1, - RCC_TIMER8, - RCC_TIMER1, + RCC_USART2, + RCC_USART3, + RCC_UART4, + RCC_UART5, + RCC_USART6, + RCC_WWDG, } rcc_clk_id; /** |