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
30 extern "C" {
31 #endif
32 
40 #define STDIO_UART_BAUDRATE (9600U)
41 
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)
54 
59 void board_init(void);
60 
61 #ifdef __cplusplus
62 }
63 #endif
64 
65 #endif /* BOARD_H */
66 
periph_conf.h
Peripheral MCU configuration for the ATmega1284p standalone "board".
board_init
void board_init(void)
Board level initialization.