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
31#include "periph_cpu.h"
49#define DMA_0_ISR isr_dma2_stream6
50#define DMA_1_ISR isr_dma2_stream5
52#define DMA_NUMOF ARRAY_SIZE(dma_config)
62 .rcc_mask = RCC_APB2ENR_USART1EN,
69#ifdef MODULE_PERIPH_DMA
70 .dma = DMA_STREAM_UNDEF,
71 .dma_chan = UINT8_MAX,
76#define UART_0_ISR (isr_usart1)
78#define UART_NUMOF ARRAY_SIZE(uart_config)
96 .rccmask = RCC_APB2ENR_SPI5EN,
98#ifdef MODULE_PERIPH_DMA
107#define SPI_NUMOF ARRAY_SIZE(spi_config)
123 .rcc_mask = RCC_APB1ENR_I2C3EN,
125 .irqn = I2C3_EV_IRQn,
129#define I2C_0_ISR isr_i2c3_ev
131#define I2C_NUMOF ARRAY_SIZE(i2c_config)
143 .rcc_mask = RCC_AHB3ENR_FMCEN,
144#if MODULE_PERIPH_FMC_SDRAM
177#if MODULE_PERIPH_FMC_16BIT
205 .address = 0xd0000000,
214 .burst_write =
false,
215 .burst_len = FMC_BURST_LENGTH_1,
216 .burst_interleaved =
false,
217 .write_protect =
false,
220 .row_to_col_delay = 2,
225 .exit_self_refresh = 7,
226 .load_mode_register = 2,
227 .refresh_period = 64,
236#define FMC_BANK_NUMOF ARRAY_SIZE(fmc_bank_config)
#define GPIO_PIN(x, y)
Define a CPU specific GPIO pin generator macro.
#define GPIO_UNDEF
Definition of a fitting UNDEF value.
@ I2C_SPEED_NORMAL
normal mode: ~100 kbit/s
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 TIM5.
Common configuration for STM32 OTG HS peripheral with on-chip FS PHY.
@ GPIO_AF5
use alternate function 5
@ GPIO_AF4
use alternate function 4
@ GPIO_AF12
use alternate function 12
@ GPIO_AF7
use alternate function 7
@ APB1
Advanced Peripheral Bus 1.
@ APB2
Advanced Peripheral Bus 2.
@ FMC_SDRAM
SDRAM Controller used.
@ FMC_BUS_WIDTH_16BIT
16 bit data bus width
Bank configuration structure.
FMC peripheral configuration.
I2C configuration structure.
SPI device configuration.
UART device configuration.
#define MiB(x)
A macro to return the bytes in x MiB.