Loading...
Searching...
No Matches
board.h
Go to the documentation of this file.
1/*
2 * Copyright (C) 2014 Freie Universität Berlin, Hinnerk van Bruinehsen
3 * 2016 Laurent Navet <laurent.navet@gmail.com>
4 * 2019 Otto-von-Guericke-Universität Magdeburg
5 *
6 * This file is subject to the terms and conditions of the GNU Lesser
7 * General Public License v2.1. See the file LICENSE in the top level
8 * directory for more details.
9 */
10
23#ifndef BOARD_H
24#define BOARD_H
25
26#include "cpu.h"
27#include "periph_conf.h"
28
29#ifdef __cplusplus
30extern "C" {
31#endif
32
40#define STDIO_UART_BAUDRATE (9600U)
47#define XTIMER_WIDTH (16)
48#if CLOCK_CORECLOCK > 4000000UL
49#define XTIMER_HZ (CLOCK_CORECLOCK / 64)
50#else
51#define XTIMER_HZ (CLOCK_CORECLOCK / 8)
52#endif
53#define XTIMER_BACKOFF (40)
56#ifdef __cplusplus
57}
58#endif
59
60#endif /* BOARD_H */
Native CPU peripheral configuration.