cfg_timer_01.h File Reference

Shared timer peripheral configuration mapping timers 0 and 1. More...

Detailed Description

Shared timer peripheral configuration mapping timers 0 and 1.

Author
Alexandre Abadie alexa.nosp@m.ndre.nosp@m..abad.nosp@m.ie@i.nosp@m.nria..nosp@m.fr
Hauke Petersen hauke.nosp@m..pet.nosp@m.ersen.nosp@m.@fu-.nosp@m.berli.nosp@m.n.de

Definition in file cfg_timer_01.h.

#include "periph_cpu.h"
+ Include dependency graph for cfg_timer_01.h:

Go to the source code of this file.

Timer configuration

#define TIMER_0_ISR   isr_timer0
 
#define TIMER_1_ISR   isr_timer1
 
#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_TIMER0,
.channels = 3,
.bitmode = TIMER_BITMODE_BITMODE_24Bit,
.irqn = TIMER0_IRQn,
},
{
.dev = NRF_TIMER1,
.channels = 3,
.bitmode = TIMER_BITMODE_BITMODE_16Bit,
.irqn = TIMER1_IRQn,
}
}

Definition at line 34 of file cfg_timer_01.h.