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 * 2023 Hugues Larrive
6 *
7 * This file is subject to the terms and conditions of the GNU Lesser
8 * General Public License v2.1. See the file LICENSE in the top level
9 * directory for more details.
10 */
11
12#pragma once
13
26
27#include "cpu.h"
28#include "periph_conf.h"
29
30#ifdef __cplusplus
31extern "C" {
32#endif
33
41#define STDIO_UART_BAUDRATE (9600U)
43
48#define XTIMER_WIDTH (16)
49#if CLOCK_CORECLOCK > 4000000UL
50#define XTIMER_HZ (CLOCK_CORECLOCK / 64)
51#else
52#define XTIMER_HZ (CLOCK_CORECLOCK / 8)
53#endif
54#define XTIMER_BACKOFF (40)
56
57#ifdef __cplusplus
58}
59#endif
60
Peripheral MCU configuration for the ATmega8 standalone "board".