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) 2021 Benjamin Valentin
3
*
4
* This file is subject to the terms and conditions of the GNU Lesser
5
* General Public License v2.1. See the file LICENSE in the top level
6
* directory for more details.
7
*/
8
19
#ifndef BOARD_H
20
#define BOARD_H
21
22
#include "cpu.h"
23
24
#ifdef __cplusplus
25
extern
"C"
{
26
#endif
27
33
#ifndef STDIO_UART_BAUDRATE
34
#define STDIO_UART_BAUDRATE (57600U)
35
#endif
42
#define XTIMER_WIDTH (16)
43
#define XTIMER_HZ (250000UL)
44
#define XTIMER_BACKOFF (40)
51
#define PIR_MOTION_PIN GPIO_PIN(PORT_D, 4)
52
#define PIR_MOTION_MODE GPIO_IN_PU
55
#ifdef __cplusplus
56
}
57
#endif
58
59
#endif
/* BOARD_H */
Generated on Sat Dec 21 2024 20:58:01 by
1.9.8