modm API documentation
Board::SystemClock Struct Reference

STM32F469 running at 180MHz from the external 8MHz crystal. More...

#include <modm/board/board.hpp>

Static Public Member Functions

static bool enable ()
 

Static Public Attributes

static constexpr uint32_t Hse = 8_MHz
 
static constexpr Rcc::PllConfig pll
 
static constexpr Rcc::PllSaiConfig pllSai
 
static constexpr uint32_t PllP = Hse / pll.M * pll.N / pll.P
 
static constexpr uint32_t PllSaiP = Hse / pll.M * pllSai.N / pllSai.P
 
static constexpr uint32_t PllSaiR = Hse / pll.M * pllSai.N / pllSai.R
 
static constexpr uint32_t Frequency = PllP
 
static constexpr uint32_t Apb1 = Frequency / 4
 
static constexpr uint32_t Apb2 = Frequency / 2
 
static constexpr uint32_t Adc = Apb2
 
static constexpr uint32_t Spi1 = Apb2
 
static constexpr uint32_t Spi2 = Apb1
 
static constexpr uint32_t Spi3 = Apb1
 
static constexpr uint32_t Spi4 = Apb2
 
static constexpr uint32_t Spi5 = Apb2
 
static constexpr uint32_t Spi6 = Apb2
 
static constexpr uint32_t Usart1 = Apb2
 
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 Usart6 = Apb2
 
static constexpr uint32_t Uart7 = Apb1
 
static constexpr uint32_t Uart8 = Apb1
 
static constexpr uint32_t Can1 = Apb1
 
static constexpr uint32_t Can2 = Apb1
 
static constexpr uint32_t I2c1 = Apb1
 
static constexpr uint32_t I2c2 = Apb1
 
static constexpr uint32_t I2c3 = Apb1
 
static constexpr uint32_t I2c4 = Apb1
 
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 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 = PllSaiP
 
static constexpr uint32_t Iwdg = Rcc::LsiFrequency
 
static constexpr uint32_t Rtc = 32.768_kHz
 

Detailed Description

STM32F469 running at 180MHz from the external 8MHz crystal.

Member Data Documentation

constexpr Rcc::PllConfig Board::SystemClock::pll
staticconstexpr
Initial value:
{
.M = 4,
.N = 180,
.P = 2,
.Q = 8,
}
constexpr Rcc::PllSaiConfig Board::SystemClock::pllSai
staticconstexpr
Initial value:
{
.N = 192,
.Q = 15,
.P = 8,
.R = 7,
}

The documentation for this struct was generated from the following file: