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-FileCopyrightText: 2023 Hugues Larrive
6  * SPDX-License-Identifier: LGPL-2.1-only
7  */
8 
9 #pragma once
10 
24 #include "cpu.h"
25 #include "periph_conf.h"
26 
27 #ifdef __cplusplus
28 extern "C" {
29 #endif
30 
38 #define STDIO_UART_BAUDRATE (9600U)
45 #define XTIMER_WIDTH (16)
46 #if CLOCK_CORECLOCK > 4000000UL
47 #define XTIMER_HZ (CLOCK_CORECLOCK / 64)
48 #else
49 #define XTIMER_HZ (CLOCK_CORECLOCK / 8)
50 #endif
51 #define XTIMER_BACKOFF (40)
54 #ifdef __cplusplus
55 }
56 #endif
57 
Peripheral MCU configuration for the Zigduino board.