Peripheral MCU configuration for the nucleo-g070rb board.
More...
Peripheral MCU configuration for the nucleo-g070rb board.
- Author
- Alexandre Abadie alexa.nosp@m.ndre.nosp@m..abad.nosp@m.ie@i.nosp@m.nria..nosp@m.fr
Definition in file periph_conf.h.
#include "periph_cpu.h"
#include "clk_conf.h"
#include "cfg_i2c1_pb8_pb9.h"
#include "cfg_rtt_default.h"
Go to the source code of this file.
#define | CONFIG_BOARD_HAS_LSE 1 |
|
|
#define | TIMER_0_ISR isr_tim3 |
|
#define | TIMER_NUMOF ARRAY_SIZE(timer_config) |
|
static const timer_conf_t | timer_config [] |
|
◆ spi_config
Initial value:= {
{
.dev = SPI1,
.rccmask = RCC_APBENR2_SPI1EN,
.apbbus = APB12,
},
}
Definition at line 93 of file periph_conf.h.
◆ timer_config
Initial value:= {
{
.dev = TIM3,
.max = 0x0000ffff,
.rcc_mask = RCC_APBENR1_TIM3EN,
.irqn = TIM3_IRQn
}
}
Definition at line 41 of file periph_conf.h.
◆ uart_config
Initial value:= {
{
.dev = USART2,
.rcc_mask = RCC_APBENR1_USART2EN,
.irqn = USART2_IRQn,
},
{
.dev = USART1,
.rcc_mask = RCC_APBENR2_USART1EN,
.bus = APB12,
.irqn = USART1_IRQn,
},
}
Definition at line 60 of file periph_conf.h.