Toggle navigation
Documentation
The friendly Operating System for the Internet of Things
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
11
#pragma once
12
24
25
#include "cpu.h"
26
#include "
periph_conf.h
"
27
28
#ifdef __cplusplus
29
extern
"C"
{
30
#endif
31
39
#define STDIO_UART_BAUDRATE (9600U)
41
46
#define XTIMER_WIDTH (16)
47
#if CLOCK_CORECLOCK > 4000000UL
48
#define XTIMER_HZ (CLOCK_CORECLOCK / 64)
49
#else
50
#define XTIMER_HZ (CLOCK_CORECLOCK / 8)
51
#endif
52
#define XTIMER_BACKOFF (40)
54
55
#ifdef __cplusplus
56
}
57
#endif
58
periph_conf.h
Peripheral MCU configuration for the ATmega328p standalone "board".
Generated on Thu Jul 3 2025 17:41:18 by
1.13.2