22 #ifndef CONFIG_BOARD_HAS_LSE
23 #define CONFIG_BOARD_HAS_LSE 1
27 #ifndef CONFIG_BOARD_HAS_HSE
28 #define CONFIG_BOARD_HAS_HSE 1
32 #ifndef CONFIG_CLOCK_HSE
33 #define CONFIG_CLOCK_HSE MHZ(25)
36 #include "periph_cpu.h"
38 #include "cfg_rtt_default.h"
53 .rcc_mask = RCC_APB2ENR_USART1EN,
63 #define UART_0_ISR (isr_usart1)
65 #define UART_NUMOF ARRAY_SIZE(uart_config)
77 .rcc_mask = RCC_AHB3ENR_FMCEN,
78 #if MODULE_PERIPH_FMC_SDRAM
111 #if MODULE_PERIPH_FMC_32BIT
157 .address = 0xc0000000,
166 .burst_write =
false,
167 .burst_len = FMC_BURST_LENGTH_1,
168 .burst_interleaved =
false,
169 .write_protect =
false,
172 .row_to_col_delay = 2,
177 .exit_self_refresh = 7,
178 .load_mode_register = 2,
179 .refresh_period = 64,
188 #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.