Toggle navigation
Documentation
The friendly Operating System for the Internet of Things
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
9
#pragma once
10
21
#include "cpu.h"
22
23
#ifdef __cplusplus
24
extern
"C"
{
25
#endif
26
32
#ifndef STDIO_UART_BAUDRATE
33
#define STDIO_UART_BAUDRATE (57600U)
34
#endif
41
#define XTIMER_WIDTH (16)
42
#define XTIMER_HZ (250000UL)
43
#define XTIMER_BACKOFF (40)
50
#define PIR_MOTION_PIN GPIO_PIN(PORT_D, 4)
51
#define PIR_MOTION_MODE GPIO_IN_PU
54
#ifdef __cplusplus
55
}
56
#endif
57
Generated on Fri Jun 20 2025 21:02:35 by
1.9.1