26 #define CONFIG_CLOCK_PLL_PREDIV (2)
27 #ifndef CONFIG_CLOCK_PLL_MUL
28 #define CONFIG_CLOCK_PLL_MUL (16)
31 #include "periph_cpu.h"
57 #define ADC_NUMOF ARRAY_SIZE(adc_config)
71 #define DMA_0_ISR isr_dma1_channel2
72 #define DMA_1_ISR isr_dma1_channel3
73 #define DMA_2_ISR isr_dma1_channel4
74 #define DMA_3_ISR isr_dma1_channel7
76 #define DMA_NUMOF ARRAY_SIZE(dma_config)
86 .rcc_mask = RCC_APB1ENR_USART2EN,
93 #ifdef MODULE_PERIPH_DMA
100 .rcc_mask = RCC_APB2ENR_USART1EN,
107 #ifdef MODULE_PERIPH_DMA
114 #define UART_0_ISR (isr_usart2)
115 #define UART_1_ISR (isr_usart1)
117 #define UART_NUMOF ARRAY_SIZE(uart_config)
127 .rcc_mask = RCC_APB1ENR_TIM3EN,
137 .rcc_mask = RCC_APB2ENR_TIM1EN,
147 #define PWM_NUMOF ARRAY_SIZE(pwm_config)
165 .rccmask = RCC_APB2ENR_SPI1EN,
167 #ifdef MODULE_PERIPH_DMA
176 #define SPI_NUMOF ARRAY_SIZE(spi_config)