17 #ifndef CONFIG_BOARD_HAS_LSE 
   18 #define CONFIG_BOARD_HAS_LSE 1 
   22 #ifndef CONFIG_BOARD_HAS_HSE 
   23 #define CONFIG_BOARD_HAS_HSE 1 
   27 #ifndef CONFIG_CLOCK_HSE 
   28 #define CONFIG_CLOCK_HSE MHZ(8) 
   31 #include "periph_cpu.h" 
   33 #include "cfg_rtt_default.h" 
   50 #define DMA_0_ISR isr_dma2_stream6 
   51 #define DMA_1_ISR isr_dma2_stream5 
   52 #define DMA_NUMOF ARRAY_SIZE(dma_config) 
   64         .rcc_mask = RCC_APB1ENR_USART3EN,
 
   71 #ifdef MODULE_PERIPH_DMA 
   72         .dma = DMA_STREAM_UNDEF,
 
   78         .rcc_mask = RCC_APB2ENR_USART6EN,
 
   85 #ifdef MODULE_PERIPH_DMA 
   86         .dma = DMA_STREAM_UNDEF,
 
   91 #define UART_0_ISR (isr_usart3) 
   92 #define UART_1_ISR (isr_usart6) 
   93 #define UART_NUMOF ARRAY_SIZE(uart_config) 
  117         .rcc_mask = RCC_APB1ENR_I2C1EN,
 
  119         .irqn = I2C1_EV_IRQn,
 
  129         .rcc_mask = RCC_APB1ENR_I2C2EN,
 
  131         .irqn = I2C2_EV_IRQn,
 
  134 #define I2C_0_ISR isr_i2c1_ev 
  135 #define I2C_1_ISR isr_i2c2_ev 
  136 #define I2C_NUMOF ARRAY_SIZE(i2c_config) 
  154         .rccmask = RCC_APB1ENR_I2C2EN,
 
  156 #ifdef MODULE_PERIPH_DMA 
  164 #define SPI_NUMOF ARRAY_SIZE(spi_config) 
  174         .rcc_mask = RCC_APB1ENR_TIM3EN,
 
  186         .rcc_mask = RCC_APB1ENR_TIM5EN,
 
  198         .rcc_mask = RCC_APB1ENR_TIM12EN,
 
  210         .rcc_mask = RCC_APB1ENR_TIM14EN,
 
  221 #define PWM_NUMOF   ARRAY_SIZE(pwm_config) 
  241 #define VBAT_ADC    ADC_LINE(6)  
  242 #define ADC_NUMOF   ARRAY_SIZE(adc_config) 
  259 #define DAC_NUMOF   ARRAY_SIZE(dac_config) 
  271     .rcc_mask = RCC_AHB3ENR_FMCEN,
 
  272 #if MODULE_PERIPH_FMC_SDRAM 
  305 #if MODULE_PERIPH_FMC_32BIT 
  351         .address = 0xc0000000,               
 
  360             .burst_write = 
false,            
 
  361             .burst_len = FMC_BURST_LENGTH_1, 
 
  362             .burst_interleaved = 
false,      
 
  363             .write_protect = 
false,          
 
  366                 .row_to_col_delay = 2,       
 
  371                 .exit_self_refresh = 7,      
 
  372                 .load_mode_register = 2,     
 
  373                 .refresh_period = 16,        
 
  382 #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 adc_conf_t adc_config[]
ADC configuration.
 
static const pwm_conf_t pwm_config[]
Actual PWM configuration.
 
static const dac_conf_t dac_config[]
DAC 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_AF2
use alternate function 2
 
@ GPIO_AF5
use alternate function 5
 
@ GPIO_AF4
use alternate function 4
 
@ GPIO_AF8
use alternate function 8
 
@ GPIO_AF9
use alternate function 9
 
@ 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_32BIT
32 bit data bus width
 
@ I2C_SPEED_NORMAL
normal mode: ~100 kbit/s
 
#define CLOCK_APB1
Half AHB clock.
 
ADC device configuration.
 
DAC line configuration data.
 
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.
 
PWM device configuration.
 
mini_timer_t * dev
Timer used.
 
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.