periph_common.h File Reference

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

Detailed Description

Peripheral MCU configuration for the Re-Mote boards.

Hauke Petersen Antonio Lignan

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.


Clock system configuration
#define CLOCK_CORECLOCK   (32000000U) /* 32MHz */
Radio peripheral configuration
#define RADIO_IRQ_PRIO   1
UART configuration
#define UART_NUMOF   (1U)
#define UART_0_EN   1
#define UART_IRQ_PRIO   1
#define UART_0_DEV   UART0
#define UART_0_IRQ   UART0_IRQn
#define UART_0_ISR   isr_uart0
#define UART_0_TX_PIN   GPIO_PIN(0, 1)
#define UART_0_RX_PIN   GPIO_PIN(0, 0)

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[]
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.