23 #ifndef CONFIG_BOARD_HAS_LSE
24 #define CONFIG_BOARD_HAS_LSE 1
28 #ifndef CONFIG_BOARD_HAS_HSE
29 #define CONFIG_BOARD_HAS_HSE 1
33 #ifndef CONFIG_CLOCK_HSE
34 #define CONFIG_CLOCK_HSE MHZ(25)
37 #include "periph_cpu.h"
39 #include "cfg_rtt_default.h"
54 .rcc_mask = RCC_APB2ENR_USART1EN,
64 #define UART_0_ISR (isr_usart1)
66 #define UART_NUMOF ARRAY_SIZE(uart_config)
78 .rcc_mask = RCC_AHB3ENR_FMCEN,
79 #if MODULE_PERIPH_FMC_SDRAM
112 #if MODULE_PERIPH_FMC_32BIT
158 .address = 0xc0000000,
167 .burst_write =
false,
168 .burst_len = FMC_BURST_LENGTH_1,
169 .burst_interleaved =
false,
170 .write_protect =
false,
173 .row_to_col_delay = 2,
178 .exit_self_refresh = 7,
179 .load_mode_register = 2,
180 .refresh_period = 64,
189 #define FMC_BANK_NUMOF ARRAY_SIZE(fmc_bank_config)
#define GPIO_PIN(x, y)
Define a CPU specific GPIO pin generator macro.
static const uart_conf_t uart_config[]
UART configuration.
static const fmc_bank_conf_t fmc_bank_config[]
FMC Bank configuration.
static const fmc_conf_t fmc_config
FMC controller configuration.
Common configuration for STM32 Timer peripheral based on TIM2.
Common configuration for STM32 OTG FS peripheral.
@ GPIO_AF12
use alternate function 12
@ GPIO_AF7
use alternate function 7
@ APB2
Advanced Peripheral Bus 2
@ FMC_SDRAM
SDRAM Controller used.
@ FMC_BUS_WIDTH_32BIT
32 bit data bus width
Bank configuration structure.
FMC peripheral configuration.
UART device configuration.
USART_t * dev
pointer to the used UART device
#define MiB(x)
A macro to return the bytes in x MiB.