periph_common.h File Reference

Peripheral MCU configuration for the Re-Mote boards. More...

Detailed Description

Peripheral MCU configuration for the Re-Mote boards.

Author
Hauke Petersen hauke.nosp@m..pet.nosp@m.ersen.nosp@m.@fu-.nosp@m.berli.nosp@m.n.de Antonio Lignan alina.nosp@m.n@zo.nosp@m.lerti.nosp@m.a.co.nosp@m.m

Definition in file periph_common.h.

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

Go to the source code of this file.

Macros

Clock system configuration
#define CLOCK_CORECLOCK   (32000000U) /* 32MHz */
 
Radio peripheral configuration
#define RADIO_IRQ_PRIO   1
 

Timer configuration

General purpose timers (GPT[0-3]) are configured consecutively and in order (without gaps) starting from GPT0, i.e.

if multiple timers are enabled.

#define TIMER_NUMOF   (sizeof(timer_config) / sizeof(timer_config[0]))
 
#define TIMER_IRQ_PRIO   1
 
static const timer_conf_t timer_config []
 

Variable Documentation

◆ timer_config

const timer_conf_t timer_config[]
static
Initial value:
= {
{
.chn = 2,
},
{
.chn = 1,
},
{
.chn = 2,
},
{
.chn = 1,
},
}
16-bit timer configuration
32-bit timer configuration

Definition at line 45 of file periph_common.h.