25#ifndef CONFIG_BOARD_HAS_LSE
26#define CONFIG_BOARD_HAS_LSE 1
32#ifndef CONFIG_BOARD_HAS_HSE
33#define CONFIG_BOARD_HAS_HSE 1
39#ifndef CONFIG_CLOCK_HSE
40#define CONFIG_CLOCK_HSE MHZ(16)
43#include "periph_cpu.h"
58 .rcc_mask = RCC_APB1ENR_TIM3EN,
64#define TIMER_0_ISR (isr_tim3)
66#define TIMER_NUMOF (sizeof(timer_config) / sizeof(timer_config[0]))
76 .rcc_mask = RCC_APB2ENR_USART1EN,
86#define UART_0_ISR (isr_usart1)
88#define UART_NUMOF (sizeof(uart_config) / sizeof(uart_config[0]))
106 .rccmask = RCC_APB2ENR_SPI1EN,
119 .rccmask = RCC_APB1ENR_SPI2EN,
124#define SPI_NUMOF (sizeof(spi_config) / sizeof(spi_config[0]))
140 .rcc_mask = RCC_APB1ENR_I2C1EN,
146#define I2C_0_ISR isr_i2c1_ev
148#define I2C_NUMOF (sizeof(i2c_config) / sizeof(i2c_config[0]))
165#define ADC_NUMOF ARRAY_SIZE(adc_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
@ GPIO_AF5
use alternate function 5
@ GPIO_AF4
use alternate function 4
@ GPIO_AF7
use alternate function 7
#define SPI_CS_UNDEF
Define value for unused CS line.
@ APB1
Advanced Peripheral Bus 1
@ APB2
Advanced Peripheral Bus 2
ADC device configuration.
I2C configuration structure.
TWI_t * dev
Pointer to hardware module registers.
SPI device configuration.
SPI_t * dev
pointer to the used SPI device
Timer device configuration.
TC0_t * dev
Pointer to the used as Timer device.
UART device configuration.
USART_t * dev
pointer to the used UART device