board.h
Go to the documentation of this file.
1 /*
2  * SPDX-FileCopyrightText: 2014 Freie Universität Berlin, Hinnerk van Bruinehsen
3  * SPDX-FileCopyrightText: 2016 Laurent Navet <laurent.navet@gmail.com>
4  * SPDX-FileCopyrightText: 2019 Otto-von-Guericke-Universität Magdeburg
5  * SPDX-License-Identifier: LGPL-2.1-only
6  */
7 
8 #pragma once
9 
22 #include "cpu.h"
23 #include "periph_conf.h"
24 
25 #ifdef __cplusplus
26 extern "C" {
27 #endif
28 
36 #define STDIO_UART_BAUDRATE (9600U)
43 #define XTIMER_WIDTH (16)
44 #if CLOCK_CORECLOCK > 4000000UL
45 #define XTIMER_HZ (CLOCK_CORECLOCK / 64)
46 #else
47 #define XTIMER_HZ (CLOCK_CORECLOCK / 8)
48 #endif
49 #define XTIMER_BACKOFF (40)
52 #ifdef __cplusplus
53 }
54 #endif
55 
Peripheral MCU configuration for the Zigduino board.