Loading...
Searching...
No Matches
board.h
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: 2021 Benjamin Valentin
3 * SPDX-License-Identifier: LGPL-2.1-only
4 */
5
6#pragma once
7
17
18#include "cpu.h"
19
20#ifdef __cplusplus
21extern "C" {
22#endif
23
29#ifndef STDIO_UART_BAUDRATE
30#define STDIO_UART_BAUDRATE (57600U)
31#endif
33
38#define XTIMER_WIDTH (16)
39#define XTIMER_HZ (250000UL)
40#define XTIMER_BACKOFF (40)
42
47#define PIR_MOTION_PIN GPIO_PIN(PORT_D, 4)
48#define PIR_MOTION_MODE GPIO_IN_PU
50
51#ifdef __cplusplus
52}
53#endif
54