Peripheral MCU configuration for the im808b board.
More...
Peripheral MCU configuration for the im808b board.
- Author
- Francisco Molina franc.nosp@m.ois-.nosp@m.xavie.nosp@m.r.mo.nosp@m.lina@.nosp@m.inri.nosp@m.a.fr
Definition in file periph_conf.h.
#include "periph_cpu.h"
#include "clk_conf.h"
Go to the source code of this file.
#define | CONFIG_BOARD_HAS_LSE 1 |
|
|
#define | TIMER_0_ISR (isr_tim3) |
|
#define | TIMER_NUMOF (sizeof(timer_config) / sizeof(timer_config[0])) |
|
static const timer_conf_t | timer_config [] |
|
◆ adc_config
◆ i2c_config
Initial value:= {
{
.dev = I2C1,
.rcc_mask = RCC_APB1ENR_I2C1EN,
.clk = CLOCK_APB1,
.irqn = I2C1_EV_IRQn
}
}
Definition at line 117 of file periph_conf.h.
◆ spi_config
Initial value:= {
{
.dev = SPI1,
.rccmask = RCC_APB2ENR_SPI1EN,
},
{
.dev = SPI2,
.rccmask = RCC_APB1ENR_SPI2EN,
}
}
Definition at line 81 of file periph_conf.h.
◆ timer_config
Initial value:= {
{
.dev = TIM3,
.max = 0x0000ffff,
.rcc_mask = RCC_APB1ENR_TIM3EN,
.irqn = TIM3_IRQn
}
}
Definition at line 40 of file periph_conf.h.
◆ uart_config
Initial value:= {
{
.dev = USART1,
.rcc_mask = RCC_APB2ENR_USART1EN,
.irqn = USART1_IRQn
},
}
Definition at line 59 of file periph_conf.h.