Toggle navigation
Documentation
The friendly Operating System for the Internet of Things
board_common.h
Go to the documentation of this file.
1
/*
2
* SPDX-FileCopyrightText: 2017 Freie Universität Berlin
3
* SPDX-FileCopyrightText: 2018 Inria
4
* SPDX-License-Identifier: LGPL-2.1-only
5
*/
6
7
#pragma once
8
22
#include "cpu.h"
23
24
#ifdef __cplusplus
25
extern
"C"
{
26
#endif
27
37
#ifndef BOARD_NRF51_XTIMER_ALT
38
/* default xtimer mapping */
39
#define XTIMER_WIDTH (24)
40
#else
41
/* alternative mapping to TIMER_DEV(1) */
42
#define XTIMER_DEV TIMER_DEV(1)
43
#define XTIMER_WIDTH (16)
44
#define XTIMER_CHAN (0)
45
#endif
46
#define XTIMER_BACKOFF (40)
49
#ifdef __cplusplus
50
}
51
#endif
52
Generated on Thu Jul 24 2025 16:03:56 by
1.9.1