|
|
static constexpr uint32_t | Hse = 8_MHz |
| |
|
static constexpr uint32_t | Lse = 32.768_kHz |
| |
| static constexpr Rcc::PllConfig | pll |
| |
|
static constexpr uint32_t | PllP = Hse / pll.M * pll.N / pll.P |
| |
|
static constexpr uint32_t | PllQ = Hse / pll.M * pll.N / pll.Q |
| |
|
static constexpr uint32_t | Frequency = PllP |
| |
|
static constexpr uint32_t | Ahb = Frequency |
| |
|
static constexpr uint32_t | Apb1 = Frequency / 4 |
| |
|
static constexpr uint32_t | Apb2 = Frequency / 2 |
| |
|
static constexpr uint32_t | Ahb1 = Ahb |
| |
|
static constexpr uint32_t | Ahb2 = Ahb |
| |
|
static constexpr uint32_t | Crc = Ahb1 |
| |
|
static constexpr uint32_t | Dma1 = Ahb1 |
| |
|
static constexpr uint32_t | Dma2 = Ahb1 |
| |
|
static constexpr uint32_t | Dma2d = Ahb1 |
| |
|
static constexpr uint32_t | Eth = Ahb1 |
| |
|
static constexpr uint32_t | Flash = Ahb1 |
| |
|
static constexpr uint32_t | Dcmi = Ahb2 |
| |
|
static constexpr uint32_t | Rng = Ahb2 |
| |
|
static constexpr uint32_t | Cryp = Ahb2 |
| |
|
static constexpr uint32_t | Hash = Ahb2 |
| |
|
static constexpr uint32_t | HashDigest = Ahb2 |
| |
|
static constexpr uint32_t | Can1 = Apb1 |
| |
|
static constexpr uint32_t | Can2 = Apb1 |
| |
|
static constexpr uint32_t | Dac = Apb1 |
| |
|
static constexpr uint32_t | I2c1 = Apb1 |
| |
|
static constexpr uint32_t | I2c2 = Apb1 |
| |
|
static constexpr uint32_t | I2c3 = Apb1 |
| |
|
static constexpr uint32_t | I2s2Ext = Apb1 |
| |
|
static constexpr uint32_t | I2s3Ext = Apb1 |
| |
|
static constexpr uint32_t | IwdgBus = Apb1 |
| |
|
static constexpr uint32_t | Pwr = Apb1 |
| |
|
static constexpr uint32_t | RtcBus = Apb1 |
| |
|
static constexpr uint32_t | Spi2 = Apb1 |
| |
|
static constexpr uint32_t | Spi3 = Apb1 |
| |
|
static constexpr uint32_t | Usart2 = Apb1 |
| |
|
static constexpr uint32_t | Usart3 = Apb1 |
| |
|
static constexpr uint32_t | Uart4 = Apb1 |
| |
|
static constexpr uint32_t | Uart5 = Apb1 |
| |
|
static constexpr uint32_t | Uart7 = Apb1 |
| |
|
static constexpr uint32_t | Uart8 = Apb1 |
| |
|
static constexpr uint32_t | Wwdg = Apb1 |
| |
|
static constexpr uint32_t | Adc = Apb2 |
| |
|
static constexpr uint32_t | Adc1 = Apb2 |
| |
|
static constexpr uint32_t | Adc2 = Apb2 |
| |
|
static constexpr uint32_t | Adc3 = Apb2 |
| |
|
static constexpr uint32_t | Adc123Common = Apb2 |
| |
|
static constexpr uint32_t | Exti = Apb2 |
| |
|
static constexpr uint32_t | Ltdc = Apb2 |
| |
|
static constexpr uint32_t | Sai1 = Apb2 |
| |
|
static constexpr uint32_t | Sdio = Apb2 |
| |
|
static constexpr uint32_t | Spi1 = Apb2 |
| |
|
static constexpr uint32_t | Spi4 = Apb2 |
| |
|
static constexpr uint32_t | Spi5 = Apb2 |
| |
|
static constexpr uint32_t | Spi6 = Apb2 |
| |
|
static constexpr uint32_t | Syscfg = Apb2 |
| |
|
static constexpr uint32_t | Usart1 = Apb2 |
| |
|
static constexpr uint32_t | Usart6 = Apb2 |
| |
|
static constexpr uint32_t | Apb1Timer = Apb1 * 2 |
| |
|
static constexpr uint32_t | Apb2Timer = Apb2 * 2 |
| |
|
static constexpr uint32_t | Timer1 = Apb2Timer |
| |
|
static constexpr uint32_t | Timer2 = Apb1Timer |
| |
|
static constexpr uint32_t | Timer3 = Apb1Timer |
| |
|
static constexpr uint32_t | Timer4 = Apb1Timer |
| |
|
static constexpr uint32_t | Timer5 = Apb1Timer |
| |
|
static constexpr uint32_t | Timer6 = Apb1Timer |
| |
|
static constexpr uint32_t | Timer7 = Apb1Timer |
| |
|
static constexpr uint32_t | Timer8 = Apb2Timer |
| |
|
static constexpr uint32_t | Timer9 = Apb2Timer |
| |
|
static constexpr uint32_t | Timer10 = Apb2Timer |
| |
|
static constexpr uint32_t | Timer11 = Apb2Timer |
| |
|
static constexpr uint32_t | Timer12 = Apb1Timer |
| |
|
static constexpr uint32_t | Timer13 = Apb1Timer |
| |
|
static constexpr uint32_t | Timer14 = Apb1Timer |
| |
|
static constexpr uint32_t | Usb = PllQ |
| |
|
static constexpr uint32_t | Iwdg = Rcc::LsiFrequency |
| |
|
static constexpr uint32_t | Rtc = Lse |
| |
STM32F429 running at 168MHz from the external 8MHz STLink clock.