1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-16 01:53:51 +01:00

boards: fixed timer conf for stm32f1 based boards

This commit is contained in:
Hauke Petersen 2016-03-16 12:19:33 +01:00
parent 61f8d45e03
commit 083204c899
4 changed files with 32 additions and 32 deletions

View File

@ -57,13 +57,13 @@ extern "C" {
static const timer_conf_t timer_config[] = {
{
.dev = TIM2,
.rcc_bit = RCC_APB1ENR_TIM2EN,
.rcc_mask = RCC_APB1ENR_TIM2EN,
.bus = APB1,
.irqn = TIM2_IRQn
},
{
.dev = TIM3,
.rcc_bit = RCC_APB1ENR_TIM3EN,
.rcc_mask = RCC_APB1ENR_TIM3EN,
.bus = APB1,
.irqn = TIM3_IRQn
}

View File

@ -63,13 +63,13 @@ extern "C" {
static const timer_conf_t timer_config[] = {
{
.dev = TIM2,
.rcc_bit = RCC_APB1ENR_TIM2EN,
.rcc_mask = RCC_APB1ENR_TIM2EN,
.bus = APB1,
.irqn = TIM2_IRQn
},
{
.dev = TIM3,
.rcc_bit = RCC_APB1ENR_TIM3EN,
.rcc_mask = RCC_APB1ENR_TIM3EN,
.bus = APB1,
.irqn = TIM3_IRQn
}

View File

@ -59,13 +59,13 @@ extern "C" {
static const timer_conf_t timer_config[] = {
{
.dev = TIM2,
.rcc_bit = RCC_APB1ENR_TIM2EN,
.rcc_mask = RCC_APB1ENR_TIM2EN,
.bus = APB1,
.irqn = TIM2_IRQn
},
{
.dev = TIM3,
.rcc_bit = RCC_APB1ENR_TIM3EN,
.rcc_mask = RCC_APB1ENR_TIM3EN,
.bus = APB1,
.irqn = TIM3_IRQn
}

View File

@ -57,13 +57,13 @@
static const timer_conf_t timer_config[] = {
{
.dev = TIM2,
.rcc_bit = RCC_APB1ENR_TIM2EN,
.rcc_mask = RCC_APB1ENR_TIM2EN,
.bus = APB1,
.irqn = TIM2_IRQn
},
{
.dev = TIM3,
.rcc_bit = RCC_APB1ENR_TIM3EN,
.rcc_mask = RCC_APB1ENR_TIM3EN,
.bus = APB1,
.irqn = TIM3_IRQn
}