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
9
#pragma once
10
20
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
36
41
#define XTIMER_WIDTH (16)
42
#define XTIMER_HZ (250000UL)
43
#define XTIMER_BACKOFF (40)
45
50
#define PIR_MOTION_PIN GPIO_PIN(PORT_D, 4)
51
#define PIR_MOTION_MODE GPIO_IN_PU
53
54
#ifdef __cplusplus
55
}
56
#endif
57
Generated on Thu Jul 3 2025 17:41:18 by
1.13.2