19 #ifndef CONFIG_BOARD_HAS_LSE 
   20 #define CONFIG_BOARD_HAS_LSE    1 
   24 #ifndef CONFIG_BOARD_HAS_HSE 
   25 #define CONFIG_BOARD_HAS_HSE    1 
   28 #include "periph_cpu.h" 
   46 #define DMA_0_ISR           isr_dma2_stream6 
   47 #define DMA_1_ISR           isr_dma2_stream5 
   49 #define DMA_NUMOF           ARRAY_SIZE(dma_config) 
   59         .rcc_mask   = RCC_APB2ENR_USART1EN,
 
   66 #ifdef MODULE_PERIPH_DMA 
   67         .dma        = DMA_STREAM_UNDEF,
 
   68         .dma_chan   = UINT8_MAX,
 
   73 #define UART_0_ISR          (isr_usart1) 
   75 #define UART_NUMOF          ARRAY_SIZE(uart_config) 
   93         .rccmask        = RCC_APB2ENR_SPI5EN,
 
   95 #ifdef MODULE_PERIPH_DMA 
  104 #define SPI_NUMOF           ARRAY_SIZE(spi_config) 
  120         .rcc_mask       = RCC_APB1ENR_I2C3EN,
 
  122         .irqn           = I2C3_EV_IRQn,
 
  126 #define I2C_0_ISR           isr_i2c3_ev 
  128 #define I2C_NUMOF           ARRAY_SIZE(i2c_config) 
  140     .rcc_mask = RCC_AHB3ENR_FMCEN,
 
  141 #if MODULE_PERIPH_FMC_SDRAM 
  174 #if MODULE_PERIPH_FMC_16BIT 
  202         .address = 0xd0000000,               
 
  211             .burst_write = 
false,            
 
  212             .burst_len = FMC_BURST_LENGTH_1, 
 
  213             .burst_interleaved = 
false,      
 
  214             .write_protect = 
false,          
 
  217                 .row_to_col_delay = 2,       
 
  222                 .exit_self_refresh = 7,      
 
  223                 .load_mode_register = 2,     
 
  224                 .refresh_period = 64,        
 
  233 #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.
 
static const uart_conf_t uart_config[]
UART configuration.
 
static const spi_conf_t spi_config[]
SPI configuration.
 
static const i2c_conf_t i2c_config[]
I2C 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 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
 
@ I2C_SPEED_NORMAL
normal mode: ~100 kbit/s
 
#define CLOCK_APB1
Half AHB clock.
 
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.