cfg_timer_default.h File Reference

Default timer configuration for nRF52 based boards. More...

Detailed Description

Default timer configuration for nRF52 based boards.

Author
Alexandre Abadie alexa.nosp@m.ndre.nosp@m..abad.nosp@m.ie@i.nosp@m.nria..nosp@m.fr

Definition in file cfg_timer_default.h.

#include "periph_cpu.h"
+ Include dependency graph for cfg_timer_default.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Timer configuration

#define TIMER_0_ISR   isr_timer1
 
#define TIMER_1_ISR   isr_timer2
 
#define TIMER_NUMOF   ARRAY_SIZE(timer_config)
 
static const timer_conf_t timer_config []
 

Variable Documentation

◆ timer_config

const timer_conf_t timer_config[]
static
Initial value:
= {
{
.dev = NRF_TIMER1,
.channels = 3,
.bitmode = TIMER_BITMODE_BITMODE_32Bit,
.irqn = TIMER1_IRQn
},
{
.dev = NRF_TIMER2,
.channels = 3,
.bitmode = TIMER_BITMODE_BITMODE_08Bit,
.irqn = TIMER2_IRQn
}
}

Definition at line 33 of file cfg_timer_default.h.