modm API documentation
Board::SystemClock Struct Reference

STM32F103 running at 72MHz generated 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 Frequency = 72_MHz
 
static constexpr uint32_t Ahb = Frequency
 
static constexpr uint32_t Apb1 = Frequency / 2
 
static constexpr uint32_t Apb2 = Frequency
 
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 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 Can = Apb1
 
static constexpr uint32_t I2c1 = Apb1
 
static constexpr uint32_t I2c2 = Apb1
 
static constexpr uint32_t Apb1Timer = Apb1 * 2
 
static constexpr uint32_t Apb2Timer = Apb2 * 1
 
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 Usb = Ahb / 1.5
 
static constexpr uint32_t Iwdg = Rcc::LsiFrequency
 
static constexpr uint32_t Rtc = 32.768_kHz
 

Detailed Description

STM32F103 running at 72MHz generated from the external 8MHz crystal.


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