Peripheral MCU configuration for the nucleo-f042k6 board.
More...
Peripheral MCU configuration for the nucleo-f042k6 board.
- Author
- Vincent Dupont vince.nosp@m.nt@o.nosp@m.takey.nosp@m.s.co.nosp@m.m
Definition in file periph_conf.h.
#include "periph_cpu.h"
#include "f0/cfg_clock_default.h"
#include "cfg_timer_tim2.h"
Go to the source code of this file.
◆ adc_config
◆ spi_config
Initial value:= {
{
.dev = SPI1,
.rccmask = RCC_APB2ENR_SPI1EN,
}
}
Definition at line 107 of file periph_conf.h.
◆ uart_config
Initial value:= {
{
.dev = USART2,
.rcc_mask = RCC_APB1ENR_USART2EN,
.irqn = USART2_IRQn
},
{
.dev = USART1,
.rcc_mask = RCC_APB2ENR_USART1EN,
.irqn = USART1_IRQn
}
}
Definition at line 34 of file periph_conf.h.