Support for the Lobaro lorabox with stm32l151cb.
More...
#include "periph_cpu.h"
#include "clk_conf.h"
#include "cfg_timer_tim2.h"
Go to the source code of this file.
#define | CONFIG_BOARD_HAS_LSE 1 |
|
◆ i2c_config
Initial value:= {
{
.dev = I2C1,
.rcc_mask = RCC_APB1ENR_I2C1EN,
.irqn = I2C1_EV_IRQn
}
}
#define GPIO_PIN(x, y)
Define a CPU specific GPIO pin generator macro.
@ GPIO_AF4
use alternate function 4
@ APB1
Advanced Peripheral Bus 1
@ I2C_SPEED_NORMAL
normal mode: ~100 kbit/s
#define CLOCK_APB1
Half AHB clock.
Definition at line 122 of file periph_conf.h.
◆ spi_config
Initial value:= {
{
.dev = SPI1,
.rccmask = RCC_APB2ENR_SPI1EN,
},
{
.dev = SPI2,
.rccmask = RCC_APB1ENR_SPI2EN,
}
}
@ GPIO_AF5
use alternate function 5
@ APB2
Advanced Peripheral Bus 2
Definition at line 86 of file periph_conf.h.
◆ uart_config
Initial value:= {
{
.dev = USART1,
.rcc_mask = RCC_APB2ENR_USART1EN,
.irqn = USART1_IRQn
},
{
.dev = USART2,
.rcc_mask = RCC_APB1ENR_USART2EN,
.irqn = USART2_IRQn
}
}
@ GPIO_AF7
use alternate function 7
Definition at line 46 of file periph_conf.h.