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
32#include "periph_cpu.h"
50#define DMA_0_ISR isr_dma2_stream6
51#define DMA_1_ISR isr_dma2_stream5
53#define DMA_NUMOF ARRAY_SIZE(dma_config)
63 .rcc_mask = RCC_APB2ENR_USART1EN,
70#ifdef MODULE_PERIPH_DMA
71 .dma = DMA_STREAM_UNDEF,
72 .dma_chan = UINT8_MAX,
77#define UART_0_ISR (isr_usart1)
79#define UART_NUMOF ARRAY_SIZE(uart_config)
97 .rccmask = RCC_APB2ENR_SPI5EN,
99#ifdef MODULE_PERIPH_DMA
108#define SPI_NUMOF ARRAY_SIZE(spi_config)
124 .rcc_mask = RCC_APB1ENR_I2C3EN,
126 .irqn = I2C3_EV_IRQn,
130#define I2C_0_ISR isr_i2c3_ev
132#define I2C_NUMOF ARRAY_SIZE(i2c_config)
144 .rcc_mask = RCC_AHB3ENR_FMCEN,
145#if MODULE_PERIPH_FMC_SDRAM
178#if MODULE_PERIPH_FMC_16BIT
206 .address = 0xd0000000,
215 .burst_write =
false,
216 .burst_len = FMC_BURST_LENGTH_1,
217 .burst_interleaved =
false,
218 .write_protect =
false,
221 .row_to_col_delay = 2,
226 .exit_self_refresh = 7,
227 .load_mode_register = 2,
228 .refresh_period = 64,
237#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
int stream
DMA stream on stm32f2/4/7, channel on others STM32F2/4/7:
Bank configuration structure.
FMC peripheral configuration.
I2C configuration structure.
TWI_t * dev
Pointer to hardware module registers.
SPI device configuration.
SPI_t * dev
pointer to the used SPI device
UART device configuration.
USART_t * dev
pointer to the used UART device
#define MiB(x)
A macro to return the bytes in x MiB.