23 #ifndef CONFIG_BOARD_HAS_LSE
24 #define CONFIG_BOARD_HAS_LSE 1
27 #include "periph_cpu.h"
29 #include "cfg_rtt_default.h"
46 #define DMA_0_ISR isr_dma1_channel2
47 #define DMA_1_ISR isr_dma1_channel3
48 #define DMA_2_ISR isr_dma1_channel4
49 #define DMA_3_ISR isr_dma2_channel3
51 #define DMA_NUMOF ARRAY_SIZE(dma_config)
62 .rcc_mask = RCC_APB1ENR1_TIM5EN,
68 #define TIMER_0_ISR isr_tim5
70 #define TIMER_NUMOF ARRAY_SIZE(timer_config)
80 .rcc_mask = RCC_APB2ENR_USART1EN,
89 #ifdef MODULE_PERIPH_DMA
96 .rcc_mask = RCC_APB1ENR1_UART4EN,
105 #ifdef MODULE_PERIPH_DMA
112 #define UART_0_ISR (isr_usart1)
113 #define UART_1_ISR (isr_uart4)
115 #define UART_NUMOF ARRAY_SIZE(uart_config)
125 .rcc_mask = RCC_APB1ENR1_TIM2EN,
135 #define PWM_NUMOF ARRAY_SIZE(pwm_config)
153 .rccmask = RCC_APB2ENR_SPI1EN,
155 #ifdef MODULE_PERIPH_DMA
164 #define SPI_NUMOF ARRAY_SIZE(spi_config)
180 .rcc_mask = RCC_APB1ENR1_I2C1EN,
181 .irqn = I2C1_ER_IRQn,
191 .rcc_mask = RCC_APB1ENR1_I2C2EN,
192 .irqn = I2C2_ER_IRQn,
196 #define I2C_0_ISR isr_i2c1_er
197 #define I2C_1_ISR isr_i2c2_er
199 #define I2C_NUMOF ARRAY_SIZE(i2c_config)