STM32 common

STM32 common code and definitions. More...

Detailed Description

STM32 common code and definitions.

This module contains all common code and definition to all STM32 cpu families supported by RIOT: STM32F0, STM32L0, STM32F1, STM32F2, STM32F3, STM32F4, STM32L4, STM32F7.

STM32Fx Clock configuration

stm32fx cpus share clock configuration code and macro. It can be configured as described here.

The following macro must be defined in the board's periph_conf.h:

The following macro must be defined for stm32f[2|4|7]:

The following macro must be defined for stm32f[0|1|3]:

The following macro are optional and can be defined depending on board config and application needs:

All the previous constants can be generated using the tool in cpu/stm32_common/dist/clk_conf.

Clock outputs can also be setup with macro:

Files

file  stm32_common/include/periph_cpu_common.h
 Shared CPU specific definitions for the STM32 family.
 
file  stmclk.h
 Interface for configuring the clock tree of STM32 CPUs.