Loading...
Searching...
No Matches
cfg_timer_012.h File Reference

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

Detailed Description

Shared timer peripheral configuration mapping timers 0, 1, and 2.

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_012.h.

#include "periph_cpu.h"
+ Include dependency graph for cfg_timer_012.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_timer0
 
#define TIMER_1_ISR   isr_timer1
 
#define TIMER_2_ISR   isr_timer2
 
#define TIMER_0_MAX_VALUE   0xffffffff
 See timer_init.
 
#define TIMER_1_MAX_VALUE   0xffffffff
 See timer_init.
 
#define TIMER_2_MAX_VALUE   0xffffffff
 See timer_init.
 
#define TIMER_NUMOF   ARRAY_SIZE(timer_config)
 
static const timer_conf_t timer_config []
 

Macro Definition Documentation

◆ TIMER_0_ISR

#define TIMER_0_ISR   isr_timer0

Definition at line 55 of file cfg_timer_012.h.

◆ TIMER_0_MAX_VALUE

#define TIMER_0_MAX_VALUE   0xffffffff

See timer_init.

Definition at line 60 of file cfg_timer_012.h.

◆ TIMER_1_ISR

#define TIMER_1_ISR   isr_timer1

Definition at line 56 of file cfg_timer_012.h.

◆ TIMER_1_MAX_VALUE

#define TIMER_1_MAX_VALUE   0xffffffff

See timer_init.

Definition at line 62 of file cfg_timer_012.h.

◆ TIMER_2_ISR

#define TIMER_2_ISR   isr_timer2

Definition at line 57 of file cfg_timer_012.h.

◆ TIMER_2_MAX_VALUE

#define TIMER_2_MAX_VALUE   0xffffffff

See timer_init.

Definition at line 64 of file cfg_timer_012.h.

◆ TIMER_NUMOF

#define TIMER_NUMOF   ARRAY_SIZE(timer_config)

Definition at line 66 of file cfg_timer_012.h.

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,
},
{
.dev = NRF_TIMER2,
.channels = 3,
.bitmode = TIMER_BITMODE_BITMODE_16Bit,
.irqn = TIMER2_IRQn,
}
}

Definition at line 34 of file cfg_timer_012.h.